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.

MX and sendmail

Discussion in 'E-mail Discussions' started by Parcye, Sep 13, 2004.

  1. Parcye

    Parcye Well-Known Member

    Joined:
    May 19, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Eindhoven
    Hello,

    Since some days now I have a customer that has a special setup.

    domain.nl has DNS settings pointing to CompanyX

    CompanyX has the website DNS record pointing to our server.

    CompanyX has the MX record pointing to customers own mailserver in the office.

    We have our MX record pointing to custormers own mailserver in the office.

    Viewing the site works fine, but when a PHP script sends a mail with the 'mail()' function the mail never gets sent to the mailserver in the office eventhough the MX record is setup to do that.

    Has anybody got any idea how to fix this?

    Kind regards,

    Colin Myerscough
     
  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
    Take the domain out of /etc/localdomains and put it in /etc/remotedomains (and create that file if necessary).
     
Loading...

Share This Page