email not getting to external email servier from scripts

Emrys

Member
Feb 19, 2003
21
0
151
I have setup a domain to use an external mail server. The MX records are setup correctly and they get all their mail, but for some reason, even though I have the domain in /etc/remotedomains and removed from /etc/localdomains, we are STILL letting mail go out through the internal mail server as nobody.

Am I missing something here? Should ALL mail that comes from that domain be routed to the external mail server to get delivered?

We are getting hit hard with the OSCommerce stuff that has "supposedly" been fixed and AOL ain't liking us too much these days.

Ultimately I want ALL mail from this domain to get forwarded to their servers for delivery instead of ours. Is this possble or am I just an idiot ?

Thanks

Emrys
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Email doesn't work like that. The local server, in such instances, is acting as both MUA and MTA. The only way around that would be to have any local scripts rewritten to use the remote SMTP server instead of the local one or from using the local binary.

The best thing you can do, otherwise, would be to setup a smart router to have the local SMTP server forward the email for delivery by the remote mail server. Search the forums for smart router for details on how to do that.
 

Emrys

Member
Feb 19, 2003
21
0
151
Thanks chipy... I was actually looking into this yesterday and need to do some more research on the smart router stuff.