RE: FW: Virtual Interface

2008-09-03 Thread Marcel Grandemange
Marcel Grandemange wrote: >> looks like it may be the case. which NAT do you use? is it an external >> box or is it pf or ipf on the same box (with pf or ipf, use pfctl or >> ipnat to see nat rules and states). > > Ipfw used: > Relavent rule: > 00025 25672291 13377857559 divert 8668 ip from any

Re: FW: Virtual Interface

2008-09-03 Thread mouss
Marcel Grandemange wrote: looks like it may be the case. which NAT do you use? is it an external box or is it pf or ipf on the same box (with pf or ipf, use pfctl or ipnat to see nat rules and states). Ipfw used: Relavent rule: 00025 25672291 13377857559 divert 8668 ip from any to any via em0

FW: Virtual Interface

2008-09-03 Thread Marcel Grandemange
>> Please do > > # postconf -e smtp_bind_address=196.212.65.187 > # postfix stop > # postfix start > >> then send a new test mail and see which IP is being used. you can send >> me a message so that I see which IP is being used. > > done > >it came out from 196.212.65.186. Yup :/ >> if you

Re: FW: Virtual Interface

2008-09-03 Thread mouss
Marcel Grandemange wrote: Please do # postconf -e smtp_bind_address=196.212.65.187 # postfix stop # postfix start then send a new test mail and see which IP is being used. you can send me a message so that I see which IP is being used. done it came out from 196.212.65.186. if you still

RE: FW: Virtual Interface

2008-09-03 Thread Marcel Grandemange
Marcel Grandemange wrote: > Ive been following different setups , and everytime spotfix insists on using > main interface to send mail. >please stop talking about "interface". if you have a problem related to >interfaces, ask on your OS forum. > > em0: flags=8843 metric 0 mtu 1500 > options=19

Re: FW: Virtual Interface

2008-09-03 Thread mouss
Marcel Grandemange wrote: Ive been following different setups , and everytime spotfix insists on using main interface to send mail. please stop talking about "interface". if you have a problem related to interfaces, ask on your OS forum. em0: flags=8843 metric 0 mtu 1500 options=19

RE: FW: Virtual Interface

2008-09-03 Thread Colin Campbell
Hi, On Wed, 2008-09-03 at 09:32 +0200, Marcel Grandemange wrote: [stuff deleted] > > Ive been following different setups , and everytime spotfix insists on using > main interface to send mail. > > em0: flags=8843 metric 0 mtu 1500 > options=19b > ether 00:30:48:90:c8:28

RE: FW: Virtual Interface

2008-09-03 Thread Marcel Grandemange
On Tue, Sep 2, 2008 at 1:48 PM, Marcel Grandemange <[EMAIL PROTECTED]> wrote: > > > I have a server that has one real ip and a virtual second ip. > > Both are connected to the same isp but have different addresses. > > > > The plan was one is used for all normall traffic but the second only for >

RE: FW: Virtual Interface

2008-09-03 Thread Marcel Grandemange
On Tue, Sep 2, 2008 at 1:48 PM, Marcel Grandemange <[EMAIL PROTECTED]> wrote: > > > I have a server that has one real ip and a virtual second ip. > > Both are connected to the same isp but have different addresses. > > > > The plan was one is used for all normall traffic but the second only for >

Re: FW: Virtual Interface

2008-09-02 Thread Aaron Wolfe
On Tue, Sep 2, 2008 at 1:48 PM, Marcel Grandemange <[EMAIL PROTECTED]> wrote: > > > I have a server that has one real ip and a virtual second ip. > > Both are connected to the same isp but have different addresses. > > > > The plan was one is used for all normall traffic but the second only for > m

Re: FW: Virtual Interface

2008-09-02 Thread Brian Evans - Postfix List
topic of this list.) Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of mouss > Sent: Tuesday, September 02, 2008 8:16 PM > Cc: postfix-users@postfix.org > Subject: Re: FW: Virtual Interface > > Marcel Grandemange wrote: >

Re: FW: Virtual Interface

2008-09-02 Thread Jorey Bump
Marcel Grandemange wrote, at 09/02/2008 02:45 PM: I tried according to docs set bind address to 127.0.0.1 and the virtual ip, It still sends mail out main interface. You asked how to bind the postfix smtp client to your virtual IP address, which is described here: http://www.postfix.org/po

RE: FW: Virtual Interface

2008-09-02 Thread Marcel Grandemange
: FW: Virtual Interface Marcel Grandemange wrote: > > > I have a server that has one real ip and a virtual second ip. > > Both are connected to the same isp but have different addresses. > > > > The plan was one is used for all normall traffic but the second only f

Re: FW: Virtual Interface

2008-09-02 Thread mouss
Marcel Grandemange wrote: I have a server that has one real ip and a virtual second ip. Both are connected to the same isp but have different addresses. The plan was one is used for all normall traffic but the second only for mail. This is not working so, smtp_bind_address = 196.

Re: FW: Virtual Interface

2008-09-02 Thread Jorey Bump
Marcel Grandemange wrote, at 09/02/2008 01:48 PM: If postfix could simply send mail from the virtual address our issues would be solved http://www.postfix.org/postconf.5.html#smtp_bind_address

FW: Virtual Interface

2008-09-02 Thread Marcel Grandemange
I have a server that has one real ip and a virtual second ip. Both are connected to the same isp but have different addresses. The plan was one is used for all normall traffic but the second only for mail. This is not working so, when a user sends mail postfix uses the main ip address t