[Mailman-Users] mailman sends to smarthost not to list

Mark Sapiro mark at msapiro.net
Thu Mar 25 15:56:43 CET 2010


Richard Gillman wrote:
>
>Now things go wrong, mailman (or sendmail) forwards the mail to the site 
>relay, mercury, which rejects it, user unknown. I _think_ it is mailman 
>forwarding the mail because if it were sendmail, there would be a log 
>entry of sendmail talking to the site relay.
>
>
>Mar 24 14:27:14 wwwtest sendmail[12569]: o2OEREo5012569: 
>from=<mailman-bounces at mercury.xxx.uk>, size=1084, class=-60, nrcpts=1, 
>msgid=<mailman.6.1269440833.27154.mailman at mercury.xxx.uk>, proto=ESMTP, 
>daemon=MTA, relay=localhost.localdomain [127.0.0.1]


Mailman delivers the message by SMTP to the server listening at the
host and port defined by SMTPHOST and SMTPPORT. You haven't changed
the defaults in mm_cfg.py, so they are

SMTPHOST = 'localhost'
SMTPPORT = 0                                      # default from smtplib

(SMTPPORT = 0 tells smtplib to use the standard SMTP port - 25)

So as indicated by the above message, Mailman is delivering to your
local sendmail.


>Mar 24 14:27:14 wwwtest sendmail[12570]: o2OEREo5012569: 
>to=<root at wwwtest.xxx.uk>, delay=00:00:00, xdelay=00:00:00, mailer=local, 
>pri=139300, dsn=2.0.0, stat=Sent


Which appears to deliver locally to root at wwwtest.xxx.uk.


>Mar 24 14:27:14 wwwtest sendmail[12572]: o2OERET3012572: 
>from=<mailman-bounces at mercury.xxx.uk>, size=2625, class=-60, nrcpts=1, 
>msgid=<mailman.8.1269440833.27154.mailman at mercury.xxx.uk>, proto=ESMTP, 
>daemon=MTA, relay=localhost.localdomain [127.0.0.1]
>
>Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012572: 
>to=<mailman-owner at mercury.xxx.uk>, delay=00:00:00, xdelay=00:00:00, 
>mailer=relay, pri=230625, relay=mercury.xxx.uk. [xxx.xxx.240.183], 
>dsn=5.1.1, stat=User unknown
>
>Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012572: o2OERET3012574: 
>DSN: User unknown


The above is a separate message from Mailman to
mailman-owner at mercury.xxx.uk which bounces for "User unknown". Do you
have an alias

mailman-owner: "|/usr/local/mailman/mail/mailman owner mailman"



>Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012574: 
>to=<mailman-bounces at mercury.xxx.uk>, delay=00:00:00, xdelay=00:00:00, 
>mailer=relay, pri=30000, relay=mercury.xxx.uk. [xxx.xxx.240.183], 
>dsn=5.1.1, stat=User unknown
>
>Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012574: o2OERET4012574: 
>return to sender: User unknown
>
>Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET4012574: to=root, 
>delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, 
>stat=Sent


And here it appears that the DSN bounced too and was sent to root
instead. Do you have an alias

mailman-bounces: "|/usr/local/mailman/mail/mailman bounces mailman"


>This appears in the relay logs at the same time.
>
>
>Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiM019882: 
><mailman-owner at mercury.xxx.uk>... User unknown
>
>Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiM019882: 
>from=<mailman-bounces at mercury.xxx.uk>, size=2851, class=0, nrcpts=0, 
>proto=ESMTP, daemon=MTA, relay=wwwtest [xxx.xxx.240.139]
>
>Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiO019882: 
><mailman-bounces at mercury.xxx.uk>... User unknown
>
>Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiO019882: from=<>, 
>size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=wwwtest 
>[xxx.xxx.240.139]
>
>
>the site relay is configured in sendmail.cf in the DS parameter (smart 
>host).
>
>
>Anyone got an idea of what I'm doing wrong?


Do you have a full set of 10 aliases for each list

LIST:             "|/usr/local/mailman/mail/mailman post LIST"
LIST-admin:       "|/usr/local/mailman/mail/mailman admin LIST"
LIST-bounces:     "|/usr/local/mailman/mail/mailman bounces LIST"
LIST-confirm:     "|/usr/local/mailman/mail/mailman confirm LIST"
LIST-join:        "|/usr/local/mailman/mail/mailman join LIST"
LIST-leave:       "|/usr/local/mailman/mail/mailman leave LIST"
LIST-owner:       "|/usr/local/mailman/mail/mailman owner LIST"
LIST-request:     "|/usr/local/mailman/mail/mailman request LIST"
LIST-subscribe:   "|/usr/local/mailman/mail/mailman subscribe LIST"
LIST-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe LIST"

It is also curious that all your outgoing messages have mailman
generated message IDs indicating they are not the original post with
Message-ID: <201003241427.o2OERDl0012565 at wwwtest.xxx.uk> but rather
they are Mailman notices of some kind.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list