ipfw configuration to intercept SMTP traffic

2004-10-31 Thread Bill Eccles
Gentleones, I have a commercial website/mail product running on a box. Unfortunately, the product is not so smart and when it needs to bounce something, it ignores the SMTP "Always Relay Via" setting and attempts to connect directly to the mail exchanger for the domain it's bouncing to. So what I

Re: ipfw configuration to intercept SMTP traffic

2004-10-31 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 31 October 2004 21:39, Bill Eccles wrote: > Gentleones, > > I have a commercial website/mail product running on a box. Unfortunately, > the product is not so smart and when it needs to bounce something, it > ignores the SMTP "Always Relay Via

Re: ipfw configuration to intercept SMTP traffic

2004-10-31 Thread Bill Eccles
Actually, you bring up an interesting point that, yes, I'd forgotten about natd. However, I realized after watching a tcpdump that the outgoing port is a random port--only the destination port is 25 on the upstream box. So, somehow I have to rig up something that listens for an SMTP connection des

Re: ipfw configuration to intercept SMTP traffic

2004-11-01 Thread Aaron Nichols
> I believe you'll have one additional problem to resolve. Even if you > successfully modify the destination IP address and get it pointed to > the upstream server, the source IP will be unmodified and will still > be the originator. Since the source IP is unmodified - the upstream > mail server wi

Re: ipfw configuration to intercept SMTP traffic

2004-11-01 Thread Bill Eccles
Actually, the original question contains the tidbit that the machine doing the serving is also the problem child, i.e., all of the traffic that I need to redirect is being produced on the same box from that box's SMTP server. Thanks for the explanation, though. Low-level TCP stuff is not my fo