Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2005
    Posts
    33

    Default Helps with PHP Mail Fuction

    im facing this problem recently, the situation go like this...

    i have a main server blah.com and another mail server mail.blah.com

    they are actually having the same domain name, and then now i'm facing problem of sending out message using php mail function in blah.com to mail.blah.com, it will never reach mail.blah.com, i tried send to hotmail it does reach to hotmail inbox but when i tried to send to me@blah.com( which belong to mail.blah.com) it wont work....again i remind that php mail function is used in the main server blah.com

    i tried to add MX Entry mail.blah.com in blah.com already but it still cannot reach inbox of mail.blah.com

    Please help with me i have looking for alot of website but still cant solve this problem, Thank you very much

  2. #2
    Member Trigger's Avatar
    Join Date
    May 2003
    Location
    Brisbane
    Posts
    87

    Default

    Are you using external DNS for this domain, you will need to to get it to work.

    The reason that your emails are not leaving the server is because exim first checks to see if the domain you are trying to send to is on the server if so it delivers localy if not then it will lookup the DNS externaly to find the mail server for the domain and deliver it there.

    Ok in addition to having the DNS external to the server you will also need to remove the domain from /etc/localdomains and add it to /etc/remotedomains, this will force exim to lookup the DNS information externally rather than internally.
    Ron Rogers
    Need SSL Certificates? WEBYSSL.com (RapidSSL.com International Affiliate)
    Put Your Mark on the WWWorld with WEBY Systems

  3. #3
    Member
    Join Date
    May 2005
    Posts
    33

    Default

    should i restart anything after i change remotedomains and localdomains?

Similar Threads & Tags
Similar threads

  1. The problem on edit file fuction!!!
    By johnshapered in forum New User Questions
    Replies: 1
    Last Post: 07-12-2009, 09:08 AM
  2. Backup fuction in cpanel
    By urlcool in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-19-2008, 01:05 PM
  3. ***Serving instability, aid helps me***
    By amatriz.com.br in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-25-2006, 10:48 AM
  4. Updating Helps
    By CGarson in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-26-2002, 06:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube