Slightly OT: mta.sh problem

Jim Coates jimc at laridian.com
Thu May 31 03:32:59 IST 2007


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of James
> Sent: Wednesday, May 30, 2007 9:21 PM
> To: MailScanner discussion
> Subject: Re: Slightly OT: mta.sh problem
> 
> 
> Jim Coates wrote:
> > James,
> >
> > Thanks... we actually found the problem.  Turned out they 
> had upgraded 
> > MailScanner, but hadn't yet configured the mta.sh script.  It was 
> > working fine, because it hadn't been restarted, but once 
> they did it 
> > failed.
> >
> > We got the script configured and all is well now.
> >
> > I do however still have one issue... I used the 
> DaemonPortOption that 
> > binds outbound IPs to the same one used for inbound.  This works 
> > great, except for mail submitted by things such as php 
> mail, because 
> > it uses 127.0.0.1/localhost.  Sendmail complains that it 
> can't bind to 
> > that address for outbound mail (which I understand).
> >
> > How can I tell Sendmail to use a different outbound IP for the 
> > localhost mail?
> >
> > Thanks,
> > Jim
> >
> >   
> 
> Good question. So far I haven't needed to bind sendmail to 
> IP's the way 
> you have. Can you post what your DaemonPortOptions are and I 
> can try and 
> experiment?
> 
> James
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 

Here is the string:

DAEMON_OPTIONS(`Name=IPv4, Family=inet, Modifiers=bh')

connections made from 123.123.123.1 go out 123.123.123.1 - great!
connections made from 123.123.123.2 go out 123.123.123.2 - great!
connections from 127.0.0.1 get lost because they can't get out of the
machine


Thanks,
Jim



More information about the MailScanner mailing list