The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

email not getting to external email servier from scripts

Discussion in 'E-mail Discussions' started by Emrys, Dec 8, 2005.

  1. Emrys

    Emrys Member

    Joined:
    Feb 19, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  3. Emrys

    Emrys Member

    Joined:
    Feb 19, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Thanks chipy... I was actually looking into this yesterday and need to do some more research on the smart router stuff.
     
Loading...

Share This Page