This took me a while to figure out. But smtp.pm does not offer support for AUTH, I wish it did. However I have created a sockets version that has the auth command programed in. My QUESTION, how do I create the encrypted user and pass, below is a copy of outlooks communication with my server(Pass changed for safety).
SMTP Log started at 07/18/2001 09:39:09
SMTP: 09:39:16 [rx] 220 host-serve.net ESMTP
SMTP: 09:39:16 [tx] EHLO connectixcorp
SMTP: 09:39:16 [rx] 250-host-serve.net
SMTP: 09:39:16 [rx] 250-AUTH=LOGIN CRAM-MD5
SMTP: 09:39:16 [rx] 250-AUTH LOGIN CRAM-MD5
SMTP: 09:39:16 [rx] 250-PIPELINING
SMTP: 09:39:16 [rx] 250 8BITMIME
SMTP: 09:39:16 [tx] AUTH LOGIN
SMTP: 09:39:16 [rx] 334 VXNlcm5hbWU6
SMTP: 09:39:16 [tx] a2V2aW4=
SMTP: 09:39:16 [rx] 334 UGFzc3dvcmQ6
SMTP: 09:39:16 [tx] dGVzdA==
SMTP: 09:39:20 [rx] 535 auth failure
I have tried crypt::MD5 and digest::MD5 both create a encryption to long. Anyone know what I can do?
Thanks
Kevin Robert Keegan
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.