On Nov 30, 2007 10:25 AM, Toni Mueller <[EMAIL PROTECTED]> wrote: ... > I have a box that serves as a VPN gateway: > > N1 --- box in question -- Internet --- other gateway --- N2 > > N1 = 192.168.2.0/24 > N2 = 192.168.1.0/24 ... > Now, I'd like to send mail, eg. the usual daily reports, via the tunnel > to a mail server in N2. There is also no other way to reach that mail > server except via the tunnel, and of course, I want the information > transferred be protected from prying eyes. In the various sendmail > configuration files, I've placed statements similar to > > O ClientPortOptions=Family=inet, Address=192.168.2.5 > and > DS [192.168.1.10] > > > Unfortunately, sending mail that way fails because Sendmail insists in > using the IP address of the interface going out to the Internet.
Not only that, but something is broken in your MUA that resulted in the log entries you included that showed the above being cut off and lost. As is, your sendmail setup looks right to me. Are you able to telnet from that machine with those source and destination address? telnet -b 192.168.2.5 192.168.1.10 25 If that doesn't go through, then the problem is your network level setup (routing, filtering, etc) and not your sendmail setup at all. If that telnet does work, well, you _did_ remember to restart sendmail after changing the sendmail.cf, right? Philip Guenther