EmailServer.TroubleShooting HistoryHide minor edits - Show changes to markup Monday 04 May 2009, at 05:48 GMT+8
by -
Changed line 60 from:
< ConfigClients | AWStats > to:
< MboxMaildirMigration | AWStats > Friday 22 July 2005, at 10:39 GMT+8
by -
Changed lines 59-60 from:
< ConfigClients | AWStats to:
< ConfigClients | AWStats > Sunday 10 July 2005, at 06:59 GMT+8
by -
Added line 25:
Sunday 10 July 2005, at 06:59 GMT+8
by -
Deleted lines 7-12:
(:noteblock:) Testing your Authentication Config (:notecontent:) This section was inspired from the very complete book Postfix: the Definitive Guide from O'Reilly. Highly reommended! (:noteblockend:) Added lines 20-24:
(:noteblock:) Testing your Authentication Config (:notecontent:) This section was inspired from the very complete book Postfix: the Definitive Guide from O'Reilly. Highly reommended! (:noteblockend:) Sunday 10 July 2005, at 06:58 GMT+8
by -
Added lines 8-13:
(:noteblock:) Testing your Authentication Config (:notecontent:) This section was inspired from the very complete book Postfix: the Definitive Guide from O'Reilly. Highly reommended! (:noteblockend:) Deleted lines 25-29:
(:noteblock:) Testing your Authentication Config (:notecontent:) This section was inspired from the very complete book Postfix: the Definitive Guide from O'Reilly. Highly reommended! (:noteblockend:) Sunday 10 July 2005, at 06:57 GMT+8
by -
Deleted lines 5-9:
(:noteblock:) Testing your Authentication Config (:notecontent:) The script in this section was lifted from the very complete book Postfix: the Definitive Guide from O'Reilly. (:noteblockend:) Added lines 20-24:
(:noteblock:) Testing your Authentication Config (:notecontent:) This section was inspired from the very complete book Postfix: the Definitive Guide from O'Reilly. Highly reommended! (:noteblockend:) Sunday 10 July 2005, at 06:54 GMT+8
by -
Added line 1:
![]() Sunday 10 July 2005, at 06:24 GMT+8
by -
Changed lines 57-58 from:
to:
Sunday 10 July 2005, at 05:55 GMT+8
by -
Changed lines 57-58 from:
< MboxMaildirMigration | EmailServer]] > to:
Sunday 10 July 2005, at 05:55 GMT+8
by -
Changed lines 1-4 from:
Troubleshooting SASL authenticationto:
Deleted lines 53-57:
Sunday 10 July 2005, at 05:54 GMT+8
by -
Added lines 1-61:
Troubleshooting SASL authentication(:noteblock:) Testing your Authentication Config (:notecontent:) The script in this section was lifted from the very complete book Postfix: the Definitive Guide from O'Reilly. (:noteblockend:) To ensure that your authentication process works fine, we'll check what the server reports when we try to feed it a correct login. Since logins are base64 encoded, copy and paste the following in a file that you call
use strict; use MIME::Base64; if ( $#ARGV != 1 ) { die "Usage: encode_sasl_plain.pl <username> <password>\n"; } print encode_base64("$ARGV[0]\0$ARGV[0]\0$ARGV[1]"); exit 0; (:sourcend:) Then use it to encode a username/password pair as it would be expected by the mail server for authentication. Here I use the existing administrator user (the account must exist on the system): (:source:)
YWRtaW5pc3RyYXRvcgBhZG1pbmlzdHJhdG9yADEyMzQ1Ng== (:sourcend:) Then, talk to your mail server manually: (:source linenum:)
Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 mail.example.com ESMTP MyOwnPostOffice EHLO test.faraway.com 250-mail.example.com 250-PIPELINING 250-SIZE 20971520 250-VRFY 250-ETRN 250-AUTH LOGIN DIGEST-MD5 PLAIN CRAM-MD5 250-AUTH=LOGIN DIGEST-MD5 PLAIN CRAM-MD5 250 8BITMIME AUTH PLAIN YWRtaW5pc3RyYXRvcgBhZG1pbmlzdHJhdG9yADEyMzQ1Ng== 235 Authentication successful quit 221 Bye Connection closed by foreign host. (:sourcend:) The only lines you will need to type are 6, 15, 17. The others are the server's responses. This page is part of the EmailServer article.
SpamAssassin< MboxMaildirMigration | EmailServer]] > (:comments:) |