How to make Mailman authenticate itself to Postfix (or other SMTP server) while sending mail?

=======================================================================
Oct 9 22:07:25 srv-1 postfix/smtpd[15205]: connect from localhost.localdomain[127.0.0.1] Oct 9 22:07:25 srv-1 postfix/smtpd[15205]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<[192.168.0.1]> Oct 9 22:07:25 srv-1 postfix/smtpd[15205]: disconnect from localhost.localdomain[127.0.0.1]
=======================================================================

I think Mailman is not authenticating itself to Postfix here.

I already solved this by telling Postfix to allow mail from local senders without authentication (permit_mynetworks), but I wonder if Mailman could authenticate itself to the SMTP server.

Another option would be to force Mailman to use some local mail delivery facilities instead of TCP/IP. This is what mail(1) seems to be doing:

=======================================================================
Oct 10 10:04:30 srv-1 postfix/pickup[17872]: 9A1B65A4228: uid=500 from=<stf>
Oct 10 10:04:30 srv-1 postfix/cleanup[18279]: 9A1B65A4228: message-id=<[EMAIL PROTECTED]> Oct 10 10:04:30 srv-1 postfix/qmgr[2226]: 9A1B65A4228: from=<[EMAIL PROTECTED]>, size=381, nrcpt=1 (queue active) Oct 10 10:04:32 srv-1 postfix/smtp[18281]: 9A1B65A4228: to=<[EMAIL PROTECTED]>, relay=mail.chello.pl[213.46.255.2]:25, delay=2, delays=0.01/0/1.2/0.84, dsn=2.0.0, status=sent (250 2.0.0 Qw4W1a05w218yYv02w4X7H mail accepted for delivery)
Oct 10 10:04:32 srv-1 postfix/qmgr[2226]: 9A1B65A4228: removed
=======================================================================

See? Here a Postfix thing called "pickup" is invoked, instead of smtpd. No authentication is required, I guess. mail(1) can, how about Mailman?

Thanks.

STF

=======================================================================
http://eisenbits.homelinux.net/~stf/ . My PGP key fingerprint is:
9D25 3D89 75F1 DF1D F434  25D7 E87F A1B9 B80F 8062
=======================================================================
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to