OT: Multiple Outgoing IPs?

Jim Coates jimc at laridian.com
Mon Apr 2 22:09:12 IST 2007



> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Matt Hampton
> Sent: Monday, April 02, 2007 3:08 PM
> To: MailScanner discussion
> Subject: Re: OT: Multiple Outgoing IPs?
> 
> 
> Jim Coates wrote:
> 
> >>> I have multiple public IPs available to my box, I just
> >> don't know if
> >>> its possible to configure SendMail to always associate a 
> particular
> >>> outbound domain with one IP and another outbound domain 
> >> with another
> >>> IP.
> 
> Makes perfect sense.  However a straightforward sendmail installation 
> can only have one "client" ip per protocol (i.e. you can have 
> one client 
> address for IPv4 and one for IPv6 but not 2 for IPv4).
> 
> However there may be a way around this but it depends on 
> whether you are 
> willing to accept a small delay in your outbound email for one of the 
> domains.
> 
> Here's how I would do it.
> 
> Modify your existing sendmail.mc file and add the following line:
> 
> CLIENT_OPTIONS(`Family=inet, Address=A.B.C.D')dnl
> 
> Create a separate config file with
> 
> CLIENT_OPTIONS(`Family=inet, Address=A.B.C.E')dnl
> FEATURE(queuegroup, `mqueue2')dnl
> QUEUE_GROUP(`mqueue2', `P=/var/spool/mqueue2')
> 
> 
> Then modify "Outgoing Queue Dir" in MailScanner to a rule set 
> to put the 
> second domain into the new queue directory.
> 
> Modify the queue runner interval on the queue for a suitable 
> value and 
> volia.
> 
> 
> (if you use NAT for your system there is also the "b" Daemon port 
> modifier which will send outbound email from the same IP 
> address that it 
> was received)
> 
> 
> matt


Thanks guys...  I will see what I can work out with this info and my hosting
company.

Jim



More information about the MailScanner mailing list