Stanislaw T. Findeisen wrote:

>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.


Right.


>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.


There are various patches for this, but if you're using a local server, 
permit_mynetworks is the way to go.

That said, see
<http://mail.python.org/pipermail/mailman-users/2005-October/047086.html>
for one simple patch.

Also see
<http://sourceforge.net/tracker/index.php?func=detail&aid=1798683&group_id=103&atid=300103>.


>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?


Mailman can use the sendmail (or other) command to deliver mail. See
the settings DELIVERY_MODULE and SENDMAIL_CMD and their documentation
in Defaults.py, but DON'T DO IT. See the documentation in the
Mailman/Handlers/Sendmail.py module for reasons.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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