Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
Hello. I'm trying to convince Postfix to send mail only thru a specific interface/IP address (only one would be nice, many but not all would be better). - inet_interfaces isn't suited for the job as it seems to be for The network interface addresses that this mail system receives mail

Re: Send mail thru a certaing interface

2010-08-05 Thread Walter Pinto
smtp_bind_address = x.x.x.x

Re: Send mail thru a certaing interface

2010-08-05 Thread Mihira Fernando
On 08/06/2010 01:00 AM, Arthur Titeica wrote: Hello. I'm trying to convince Postfix to send mail only thru a specific interface/IP address (only one would be nice, many but not all would be better). - inet_interfaces isn't suited for the job as it seems to be for The network interface

Re: Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
On Thu, 5 Aug 2010 12:33:07 -0700, Walter Pinto wal...@amhosting.com wrote: smtp_bind_address = x.x.x.x I knew I forgot something :) I've tried that in master.cf in the form smtp inet n - - - 30 smtpd -o smtp_bind_address=94.62.132.84 -o

Re: Send mail thru a certaing interface

2010-08-05 Thread Walter Pinto
inet_interfaces - contols which IP addresses that Postfix listens on. smtp_bind_address - specifies which IP address to send email from. That's all I know

Re: Send mail thru a certaing interface

2010-08-05 Thread Walter Pinto
I may be wrong, but I believe when you change those settings, a postfix reload might not work. You may need to stop and start the service.

Re: Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
On Thu, 5 Aug 2010 12:48:42 -0700, Walter Pinto wal...@amhosting.com wrote: I may be wrong, but I believe when you change those settings, a postfix reload might not work. You may need to stop and start the service. Oh, I know... the server suffered a full restart even. Thanks for the input so

Re: Send mail thru a certaing interface

2010-08-05 Thread Brian Evans - Postfix List
On 8/5/2010 3:39 PM, Arthur Titeica wrote: On Thu, 5 Aug 2010 12:33:07 -0700, Walter Pintowal...@amhosting.com wrote: smtp_bind_address = x.x.x.x I knew I forgot something :) I've tried that in master.cf in the form smtp inet n - - - 30 smtpd -o

Re: Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
On Thu, 05 Aug 2010 15:57:48 -0400, Brian Evans - Postfix List grkni...@scent-team.com wrote: On 8/5/2010 3:39 PM, Arthur Titeica wrote: On Thu, 5 Aug 2010 12:33:07 -0700, Walter Pintowal...@amhosting.com wrote: smtp_bind_address = x.x.x.x I knew I forgot something :) I've tried that in

Re: Send mail thru a certaing interface

2010-08-05 Thread Brian Evans - Postfix List
On 8/5/2010 4:09 PM, Arthur Titeica wrote: On Thu, 05 Aug 2010 15:57:48 -0400, Brian Evans - Postfix List grkni...@scent-team.com wrote: On 8/5/2010 3:39 PM, Arthur Titeica wrote: On Thu, 5 Aug 2010 12:33:07 -0700, Walter Pintowal...@amhosting.com wrote: smtp_bind_address = x.x.x.x I knew

Re: Send mail thru a certaing interface

2010-08-05 Thread Walter Pinto
Arthur, why not just set it in the main.cf ?

Re: Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
On Thu, 05 Aug 2010 16:21:08 -0400, Brian Evans - Postfix List grkni...@scent-team.com wrote: On 8/5/2010 4:09 PM, Arthur Titeica wrote: On Thu, 05 Aug 2010 15:57:48 -0400, Brian Evans - Postfix List grkni...@scent-team.com wrote: On 8/5/2010 3:39 PM, Arthur Titeica wrote: On Thu, 5 Aug 2010

Re: Send mail thru a certaing interface

2010-08-05 Thread Arthur Titeica
On Thu, 5 Aug 2010 13:35:59 -0700, Walter Pinto wal...@amhosting.com wrote: Arthur, why not just set it in the main.cf ? Because, as I understand it, in main.cf smtp_bind_address only accepts *one* interface, not many but not all as I need. -- Arthur Titeica

Re: Send mail thru a certaing interface

2010-08-05 Thread Walter Pinto
Makes sense.