[Mailman-Users] Mailman and Sendmail debugging questions

Mark Sapiro msapiro at value.net
Fri Jun 9 07:23:09 CEST 2006


Daniel, Barry K. wrote:
> Below in the /var/log/maillog file, why are the 4 posts sent to
> testlist-bounces?  I was assuming that there would be one post for
> each of the four list members (dud1,dud2,dud3,dud4).


That's right. Then the MTA returns a bounce to testlist-bounces for each 
undeliverable address.


> Is it normal to
> see the testlist-bounces?


If there's a bounce.


> I have set up a mailertable on the
> receiving side of Sendmail that will accept all mail from domain.gov
> and send it to the mailman delivery agent.  On the sending side of
> Sendmail I do not use this mailertable and have set up a smart relay
> to relay the domain.gov messages to domainmta1 at domainpriv.gov and
> also set the Sendmail MTAHost on the send side to this same machine.
> I have verified that I can send email directly from the server that I
> have Mailman on to this remote MTA via Sendmail.
> 
> 
> I agree with your assessment that Mailman seems to be trying to post
> the message to the list members.  But, why is Mailman trying to relay
> through localhost.  I set up my DEFAULT_EMAIL_HOST to be
> domainmta1 at domainpriv.gov in my mm_cfg.py file.  The localhost will
> not recognize the dud1 at domain.gov address but the
> domainmta1 at domainpriv.gov server should.  I have not overridden the
> default DELIVERY_MODULE="SMTPDirect".


Aha! DEFAULT_EMAIL_HOST controls the domain exposed to the world for 
mailing TO Mailman. It has nothing to do with what domain we connect to 
for sending from Mailman. That is controlled by SMTPHOST which defaults 
to 'localhost'. I'm assuming that domainmta1 at domainpriv.gov above is a 
typo and you mean domainmta1.domainpriv.gov or maybe 
domainmta.domainpriv.gov since that's what you seem to actually have for 
DEFAULT_EMAIL_HOST. So assuming the Sendmail you want to send (not 
receive) through is domainmta.domainpriv.gov, you want

SMTPHOST = 'domainmta.domainpriv.gov'

in mm_cfg.py.

-- 
Mark Sapiro <msapiro at value.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