Automatic email relay agent?
Alexander Dalloz
ad+lists at uni-x.org
Thu Dec 1 21:25:45 UTC 2005
Am Do, den 01.12.2005 schrieb Hongwei Li um 22:00:
> I tested, but got:
>
> # perl -MMIME::Base64 -e 'print encode_base64("user\0user\0password");'
> dXNlcgB1c2VyAHBhc3N3b3Jk
You faced that this was an example I gave? Of course your user isn't
named "user", but maybe "lih" and has a password which isn't password
(at least I hope so).
> (after
> # openssl s_client -connect morpheus.wustl.edu:25 -starttls smtp
> ...
> 220 morpheus.wustl.edu ESMTP Sendmail 8.13.1/8.13.1; Thu, 1 Dec 2005 14:52:41
> -0600
> ehlo foo.bar
> 250-morpheus.wustl.edu Hello morpheus.wustl.edu [128.252.85.129], pleased to
> meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH LOGIN PLAIN
> 250-DELIVERBY
> 250 HELP
> AUTH PLAIN dXNlcgB1c2VyAHBhc3N3b3Jk
> 535 5.7.0 authentication failed
AUTH PLAIN syntax is used correctly.
> AUTH LOGIN dXNlcgB1c2VyAHBhc3N3b3Jk
> 334 UGFzc3dvcmQ6
No, as explained AUTH LOGIN works differently.
C: AUTH LOGIN
S: give me your username
C: user
S: give me your password
C: password
C=client, S=server - all input and output during the auth handshake is
base64 encoded.
> (if I press Enter, it shows:)
> 535 5.7.0 authentication failed
>
> quit
>
> Did I do something wrong?
> Hongwei
Alexander
--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 22:22:17 up 33 days, 20:22, load average: 0.23, 0.25, 0.35
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20051201/62d32044/attachment-0002.bin
More information about the users
mailing list