I must chuckle - everything is solved with Linux - in this case IPTABLES does it.
This is not a solution for the w32 environment. Some options have been thrown around in this thread, and I'm sure will work. However the solutions often complicate the email system beyond a point where future problem solving becomes rather dificult. Most w32 based mail servers I've used (and there are many) will bind SMTP to the IP address specified for BOTH in and out going SMTP connections. This may not be the default in the linux world, hence Davide has built XMail to listen only on the specified IP address. Any good firewall (or IPtables) should be able to translate the addresses, but the original problem as I recall was that the server had 2 nics and one nic was very busy doing non mail tasks. The other was dedicated to mail, however outbound smtp mail was not going out this nic. An alternate solution is to change which is the default nic.!! Rob :-) __________________________________________________________ Censorship can't eliminate evil; it can only kill freedom. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Bill Healy > Sent: Tuesday, 10 June 2003 4:30 PM > To: '[EMAIL PROTECTED]' > Subject: [xmail] Re: Binding XMail to a specific NIC/IP address > > With Linux iptables you should be able to just work with the fact that > the connection is going to port 25 and not care what port it is coming > from. > > Bill > > >---------- > >From: Rob Arends[SMTP:[EMAIL PROTECTED] > >Sent: Monday, June 09, 2003 10:03 PM > >To: [EMAIL PROTECTED] > >Subject: [xmail] Re: Binding XMail to a specific NIC/IP address > > > > > >Davide, When sending SMTP, does XMail always use a source port of 25, or > >dynamic port? > > > >If it was always source port of 25, then I could use a firewall to source > >translate IP packets from a specific IP and port. > >Alternately being able to specify in XMail the sending IP[:port] > would solve > >the problem. > > > >Rob :-) > > > >__________________________________________________________ > > > >> On Friday, 6 June 2003 10:18 AM, Davide Libenzi wrote: > >> > >> > -SI ip[:port] > >> > >> This is only for the listening sockets. > >> > >> - Davide > >> > > > >- > >To unsubscribe from this list: send the line "unsubscribe xmail" in > >the body of a message to [EMAIL PROTECTED] > >For general help: send the line "help" in the body of a message to > >[EMAIL PROTECTED] > > > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
