[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help needed: Debian Sarge, Postfix/TLS and Magma's mail.



How do I configure Postfix to authenticate with SASL?

Since I replaced my hard disk and installed Debian Sarge, plus Postfix/TLS, I've been
unable to send mail through mail.magma.ca (Magma is my ISP). Here's what I get:

Mar 12 19:45:59 orbit postfix/pickup[5775]: 263BD49249: uid=1000 from=<walt>
Mar 12 19:46:00 orbit postfix/cleanup[5838]: 263BD49249:
message-id=<20060313004556.GA5831@magma.ca>
Mar 12 19:46:00 orbit postfix/qmgr[5776]: 263BD49249: from=<walt@magma.ca>, size=473,
nrcpt=1 (queue active)
Mar 12 19:46:04 orbit postfix/smtp[5840]: 263BD49249: to=<fixesunix@yahoo.ca>,
relay=in.magma.ca[206.191.0.224], delay=5, status=bounced (host in.magma.ca[206.191.0.224]
said: 550 5.7.1 <fixesunix@yahoo.ca>... Relaying denied (in reply to RCPT TO command))
Mar 12 19:46:05 orbit postfix/qmgr[5776]: 263BD49249: removed

By using Ethereal, I captured the conversation as (C: messages come from the client (Me)
and S: messages come from the server (Magma)):

C: Connects to mail.magma.ca:25 with the 3-way TCP handshake
S: 220 in2.magma.ca ESMTP Magma Mail Server; Fri, 10 Mar 2006 00:38:18 -0500
C: EHLO orbit.barwell.magma.ca\r\n
S: 250-in2.magma.ca Hello ottawa-hs-209-217-110-29.d-ip.magma.ca [209.217.110.29], pleased
to meet you\r\n
S: 250-ENHANCEDSTATUSCODES\r\n
S: 250-PIPELINING\r\n
S: 250-8BITMIME\r\n
S: 250-DSN\r\n
S: 250-ETRN\r\n
S: 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5\r\n
S: 250-DELIVERBY\r\n
S: 250 HELP\r\n
C: MAIL FROM:<walt@magma.ca> SIZE=457\r\n
S: 250 2.1.0 <walt@magma.ca>... Sender ok\r\n
C: RSET\r\n
S: 250 2.0.0 Reset state\r\n
C: TCP      33582 > smtp [ACK] Seq=114 Ack=522 Win=6432 Len=0
C: TCP      33582 > smtp [FIN, ACK] Seq=114 Ack=522 Win=6432 Len=0
S: TCP      smtp > 33582 [FIN, ACK] Seq=522 Ack=114 Win=5840 Len=0
S: TCP      smtp > 33582 [ACK] Seq=523 Ack=115 Win=5840 Len=0
C: TCP      33583 > smtp [SYN] Seq=0 Ack=0 Win=5488 Len=0 MSS=1372 TSV=31302786 TSER=0 WS=0
S: TCP      smtp > 33583 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1380 WS=0
C: TCP      33583 > smtp [ACK] Seq=1 Ack=1 Win=5488 Len=0
S: 220 in2.magma.ca ESMTP Magma Mail Server; Fri, 10 Mar 2006 00:38:20 -0500\r\n
C: EHLO orbit.barwell.magma.ca\r\n
S: 250-in2.magma.ca Hello ottawa-hs-209-217-110-29.d-ip.magma.ca [209.217.110.29], pleased
to meet you\r\n
S: 250-ENHANCEDSTATUSCODES\r\n
S: 250-PIPELINING\r\n
S: 250-8BITMIME\r\n
S: 250-DSN\r\n
S: 250-ETRN\r\n
S: 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5\r\n
S: 250-DELIVERBY\r\n
S: 250 HELP\r\n
C: MAIL FROM: <> SIZE=2325\r\n\r\n
S: 250 2.1.0 <>... Sender ok\r\n
C: the message
S: 250 2.0.0 k2A5cK7g015600 Message accepted for delivery\r\n
S: 221 2.0.0 in2.magma.ca closing connection\r\n

It seems to me that Postfix/TLS is not finding a way to authenticate and sending an RSET,
which makes mail.magma.ca reset, and forget who I am.

How can I tell Postfix to either authenticate sucessfully or to not try to authenticate at
all?

Here's a snippet from /var/log/mail.warn that may help

Mar 14 12:58:11 orbit postfix/smtpd[14670]: fatal: no SASL authentication mechanisms
Mar 14 12:58:12 orbit postfix/master[14650]: warning: process /usr/lib/postfix/smtpd pid
14670 exit status 1
Mar 14 12:58:12 orbit postfix/master[14650]: warning: /usr/lib/postfix/smtpd: bad command
startup -- throttling


I have several SASL packages installed:
$ dpkg -l | grep -i sasl
ii  gsasl          0.2.5-1        GNU SASL commandline utility
ii  libgsasl7      0.2.5-1        GNU SASL library
ii  libsasl2       2.1.19-1.5     Authentication abstraction library
ii  postfix-tls    2.1.5-9        TLS and SASL support for Postfix
ii  sasl2-bin      2.1.19-1.5     Programs for manipulating the SASL users dat

but I obviously don't know how to get Postfix to work with SASL. 

Can anyone help?

Thanks in advance,

Walt



Reply to: