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.

E-Mail domain forwarder not working

Discussion in 'E-mail Discussions' started by jo.madhan, Jun 14, 2011.

  1. jo.madhan

    jo.madhan Registered

    Joined:
    Jun 13, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have set up a email domain forwarder from "xyz.com" to "abc.com" in cPanel.

    "abc.com" is a addon domain of "sub.xyz.com." whenever i send a mail to "xyz.com" it has to be sent to "abc.com".

    But when i check the log files, its sent to xyz.com only. i am unable to find the reason. Can any one sort this out, pls?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What does the email entry show when you use exigrep for it?

    Code:
    exigrep emailsender@domain.com /var/log/exim_mainlog
    Where emailsender@domain.com is the email address for the account that sent the email to xyz.com that was not forwarded to abc.com
     
  3. jo.madhan

    jo.madhan Registered

    Joined:
    Jun 13, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    +++ 1QWh6S-0007IU-LX has not completed +++
    2011-06-15 09:19:16 1QWh6S-0007IU-LX <= root@cpanel.xyz.com U=root P=local S=618
    2011-06-15 09:19:16 1QWh6S-0007IU-LX == cwhtest@gmail.com R=lookuphost defer (-1): host lookup did not complete
    2011-06-15 13:32:04 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 14:32:04 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 15:21:01 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 16:21:01 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 17:21:01 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 18:21:01 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 19:21:01 1QWh6S-0007IU-LX == cwhtest@gmail.com routing defer (-51): retry time not reached

    Like this its goes on for
    +++ 1QWl5x-0000ek-C7 has not completed +++
    +++ 1QWjrA-0006DI-0p has not completed +++
    .
    .
    .
    .
    .
    .+++ 1QWk9u-00075X-1v has not completed +++
    2011-06-15 16:05:02 1QWk9u-00075X-1v <= root@cpanel.xyz.com U=root P=local S=726
    2011-06-15 16:05:02 1QWk9u-00075X-1v User 0 set for local_delivery transport is on the never_users list
    2011-06-15 16:05:02 1QWk9u-00075X-1v == root@cpanel.xyz.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
    2011-06-15 16:21:01 1QWk9u-00075X-1v == root@cpanel.xyz.com R=localuser T=local_delivery defer (-52): Retry time not yet reached
    2011-06-15 17:21:01 1QWk9u-00075X-1v User 0 set for local_delivery transport is on the never_users list
    2011-06-15 17:21:01 1QWk9u-00075X-1v == root@cpanel.xyz.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
    2011-06-15 18:21:01 1QWk9u-00075X-1v == root@cpanel.xyz.com R=localuser T=local_delivery defer (-52): Retry time not yet reached
    2011-06-15 19:21:01 1QWk9u-00075X-1v == root@cpanel.xyz.com R=localuser T=local_delivery defer (-52): Retry time not yet reached


    +++ 1QWjWw-0005P1-7x has not completed +++
    2011-06-15 15:24:46 1QWjWw-0005P1-7x <= root@cpanel.xyz.com U=root P=local S=909
    2011-06-15 15:24:46 1QWjWw-0005P1-7x == cwhtest@gmail.com R=lookuphost defer (-1): host lookup did not complete
    2011-06-15 16:21:01 1QWjWw-0005P1-7x == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 17:21:01 1QWjWw-0005P1-7x == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 18:21:01 1QWjWw-0005P1-7x == cwhtest@gmail.com routing defer (-51): retry time not reached
    2011-06-15 19:21:01 1QWjWw-0005P1-7x == cwhtest@gmail.com routing defer (-51): retry time not reached

    what should i do?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    This isn't exactly the situation you presented where you are forwarding to a subdomain on your main domain from another domain on the same machine. Instead this situation shows it is root user on the machine trying to send to a gmail account and that gmail account is showing that the host lookup did not complete so the email has been deferred.

    Try the following:

    Code:
    exim -bt cwhtest@gmail.com
    telnet gmail-smtp-in.l.google.com 25
     
  5. jo.madhan

    jo.madhan Registered

    Joined:
    Jun 13, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I am totally confused with all these things. Please help me. Say what are all the steps i have to do if i want to setup email domain forwarder. It would we very helpful if you start from the basics. Thank you.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    cPanel > Forwarders > Add Forwarder area would be where you add a forwarder. There you would put the originating address (the address to forward), then you would input the destination address that will receive the forwarder. It is relatively straight forward.

    Of note, you would not use "Add Domain Forwarder" to forward one email account to another email account. If you only setup a domain forwarder, this would be why it isn't working.
     
  7. jo.madhan

    jo.madhan Registered

    Joined:
    Jun 13, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Ya.. Thanks for the help!!!
     
Loading...

Share This Page