[Mailman-Users] SMTP authentication / local delivery

"Stanisław T. Findeisen" sf181257 at students.mimuw.edu.pl
Fri Oct 10 12:06:59 CEST 2008

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 
Oct  9 22:07:25 srv-1 postfix/smtpd[15205]: NOQUEUE: reject: RCPT from 
localhost.localdomain[]: 554 5.7.1 
<sf181257 at students.mimuw.edu.pl>: Relay access denied; 
from=<o-madrosci-bounces at eisenbits.homelinux.net> 
to=<sf181257 at students.mimuw.edu.pl> proto=ESMTP helo=<[]>
Oct  9 22:07:25 srv-1 postfix/smtpd[15205]: disconnect from 

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=<20081010080430.9A1B65A4228 at srv-1.eisenbits.homelinux.net>
Oct 10 10:04:30 srv-1 postfix/qmgr[2226]: 9A1B65A4228: 
from=<stf at eisenbits.homelinux.net>, size=381, nrcpt=1 (queue active)
Oct 10 10:04:32 srv-1 postfix/smtp[18281]: 9A1B65A4228: 
to=<sf181257 at students.mimuw.edu.pl>, 
relay=mail.chello.pl[]: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?



http://eisenbits.homelinux.net/~stf/ . My PGP key fingerprint is:
9D25 3D89 75F1 DF1D F434  25D7 E87F A1B9 B80F 8062

More information about the Mailman-Users mailing list