RE: source ip for outgoing connections

From: Bill Landry (no email)
Date: Mon Jul 01 2002 - 01:51:38 EDT


Or in main.cf use:

inet_interfaces = xxx.xxx.xxx.xxx <--- Listening IP Address
smtp_bind_address = xxx.xxx.xxx.xxx <--- Sending IP Address

Bill

-----Original Message-----
From: Dean Strik [mailto:]
Sent: Sunday, June 30, 2002 10:18 PM
To: Vector
Cc:
Subject: Re: source ip for outgoing connections

Vector wrote:
> Hello all,
> Is there a way to tell postfix which IP address to use when initiating
> outgoing smtp connections and sending email? My network interface has
> several IP's and I can't chage the primary IP because of other
applications

In your master.cf, change the smtp-inet line from e.g.

        smtp inet n - n - 250 smtpd

to

        smtp inet n - n - 250 smtpd -o bind_address=my.ip.ad.dy

-- 
Dean C. Strik             Eindhoven University of Technology
  |    |  http://www.ipnet6.org/
"This isn't right. This isn't even wrong." -- Wolfgang Pauli
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users
---
[This e-mail was scanned for viruses by Pointshare's Virus Scanning Service]
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD