|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
Is it possible to bind to a specific interface for outgoing SMTP sessions? I've got one real interface with 3 aliases configured for it. I'd like to use one of those aliases as the interface which is used for sending mail out. Can this be done with postfix? I know how to do it with sendmail and exim, but that won't get me far as I'm using postfix at the moment ![]() Thanx, -- Jeffrey Overman Everybody needs to believe in something, I believe I'll have another beer... |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Jeffrey Overman wrote:
> Hi, > > Is it possible to bind to a specific interface for outgoing SMTP sessions? > I've got one real interface with 3 aliases configured for it. I'd like to use > one of those aliases as the interface which is used for sending mail out. > > Can this be done with postfix? I know how to do it with sendmail and exim, > but that won't get me far as I'm using postfix at the moment ![]() > > Thanx, > Some relevant configs in main.cf: inet_interfaces - contols which IP addresses that Postfix listens on. smtp_bind_address - specifies which IP address to send email from. myhostname - sets the Postfix name for the mail server -- Greg |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Fri, 14 Apr 2006 15:30:16 +0000, Greg Hackney wrote:
> Jeffrey Overman wrote: >> Hi, >> >> Is it possible to bind to a specific interface for outgoing SMTP sessions? >> I've got one real interface with 3 aliases configured for it. I'd like to use >> one of those aliases as the interface which is used for sending mail out. >> >> Can this be done with postfix? I know how to do it with sendmail and exim, >> but that won't get me far as I'm using postfix at the moment ![]() >> >> Thanx, >> > > > Some relevant configs in main.cf: > > inet_interfaces - contols which IP addresses that Postfix listens on. > > smtp_bind_address - specifies which IP address to send email from. > > myhostname - sets the Postfix name for the mail server7 The smtp_bind_address did the trick. Thanx! The only strange thing is that when I do a 'postconf -d' and grep for the option, it doesn't have the IP address I configured associated with it. But when I look at the logs of another MTA under my control, I can see that the SMTP session is bound to the right IP address. Greetz, -- Jeffrey Overman Everybody needs to believe in something, I believe I'll have another beer... |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Sat, 15 Apr 2006 11:06:00 +0200, Jeffrey Overman wrote:
> On Fri, 14 Apr 2006 15:30:16 +0000, Greg Hackney wrote: > >> Jeffrey Overman wrote: >>> Hi, >>> >>> Is it possible to bind to a specific interface for outgoing SMTP sessions? >>> I've got one real interface with 3 aliases configured for it. I'd like to use >>> one of those aliases as the interface which is used for sending mail out. >>> >>> Can this be done with postfix? I know how to do it with sendmail and exim, >>> but that won't get me far as I'm using postfix at the moment ![]() >>> >>> Thanx, >>> >> >> >> Some relevant configs in main.cf: >> >> inet_interfaces - contols which IP addresses that Postfix listens on. >> >> smtp_bind_address - specifies which IP address to send email from. >> >> myhostname - sets the Postfix name for the mail server7 > > The smtp_bind_address did the trick. Thanx! The only strange thing is > that when I do a 'postconf -d' and grep for the option, it doesn't have Okay, that's a brain fart on my side. I shouldn't use the -d flag if I want to see the actual value *doh*. I'm going to get another cup of coffee. Greetz, -- Jeffrey Overman Everybody needs to believe in something, I believe I'll have another beer... |
|
![]() |
| Outils de la discussion | |
|
|