Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    9

    Question help! particular domain not receiving email sent by php script

    hi all,

    here's the scenario:
    (1) using WEBMAIL on server1, sending from domain1 to domain2, domain3 and domain4 is OK.

    (2) using PHP MAIL FUNCTION on server1, sending from domain1 to domain2 FAILS, but sending to domain3 and domain4 is OK.

    has anyone here encountered the same problem? what could possibly be the reason why message sending fails on (2)?

    more details:
    domain1 is on server1 (running on whm/cpanel)
    domain2 is on server2 (running on whm/cpanel)
    domain3/4 are additional 3rd party domains used to check if mails are received.

    domain2 has spamfilter, boxtrapper disabled


    many thanks

  2. #2
    Member
    Join Date
    Dec 2008
    Posts
    75

    Default

    You need to study the logs in real time.

    Get to a shell prompt.

    Try these commands (the locations of the files might vary depending on your os).

    tail -f /var/log/maillog
    tail -f /var/log/exim_mainlog

    "-f" is short for follow.

    If you know what email address to expect. Do this:
    tail -f /var/log/exim_mainlog | grep mic@rosoft.com

    Exim is SMTP maillog is for IMAP/POP3.

    The error is what you should be interested in. Also, have you tried running the delivery troubleshooter, and making sure when you enter the email address specificed in the php script, that the server can actually mail it.

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default

    thank you for your reply. will do as advised.

    Quote Originally Posted by britsenigma View Post
    You need to study the logs in real time.

    Get to a shell prompt.

    Try these commands (the locations of the files might vary depending on your os).

    tail -f /var/log/maillog
    tail -f /var/log/exim_mainlog

    "-f" is short for follow.

    If you know what email address to expect. Do this:
    tail -f /var/log/exim_mainlog | grep mic@rosoft.com

    Exim is SMTP maillog is for IMAP/POP3.

    The error is what you should be interested in. Also, have you tried running the delivery troubleshooter, and making sure when you enter the email address specificed in the php script, that the server can actually mail it.

  4. #4
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default

    hi. i got this line pertaining to the target email address:

    {date time} {message id} {email address} R=lookuphost T=remote_smtp defer (-44): SMTP error from remote email mail server after RCPT TO:{email address}: host {email domain name} {IP address}: 451 Temporary local problem - please try later


    how do i fix this error on the recipient server? where do i look?

    many thanks


    Quote Originally Posted by britsenigma View Post
    You need to study the logs in real time.

    Get to a shell prompt.

    Try these commands (the locations of the files might vary depending on your os).

    tail -f /var/log/maillog
    tail -f /var/log/exim_mainlog

    "-f" is short for follow.

    If you know what email address to expect. Do this:
    tail -f /var/log/exim_mainlog | grep mic@rosoft.com

    Exim is SMTP maillog is for IMAP/POP3.

    The error is what you should be interested in. Also, have you tried running the delivery troubleshooter, and making sure when you enter the email address specificed in the php script, that the server can actually mail it.

  5. #5
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    Quote Originally Posted by scorched View Post
    hi. i got this line pertaining to the target email address:

    {date time} {message id} {email address} R=lookuphost T=remote_smtp defer (-44): SMTP error from remote email mail server after RCPT TO:{email address}: host {email domain name} {IP address}: 451 Temporary local problem - please try later


    how do i fix this error on the recipient server? where do i look?

    many thanks
    Please check whether the domain is present in the '/etc/localdomains' file on the server.

  6. #6
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default

    Quote Originally Posted by InstaCarma_Tech View Post
    Please check whether the domain is present in the '/etc/localdomains' file on the server.

    what do you mean? the recipient domain should be in the localdomains file in the sending server?

    thanks

  7. #7
    Member
    Join Date
    Aug 2008
    Posts
    9

    Smile

    already resolved this. had something to do with the exim configuration.

Similar Threads & Tags
Similar threads

  1. One Domain not Receiving Email - SPAMD issue?
    By ambition13 in forum E-mail Discussions
    Replies: 1
    Last Post: 04-09-2009, 04:08 PM
  2. Replies: 8
    Last Post: 03-11-2004, 11:50 PM
  3. Replies: 1
    Last Post: 06-20-2003, 02:57 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube