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.

exim forwarding root mail to wrong address ( ignoring alias )

Discussion in 'E-mail Discussions' started by walterdevos, Aug 8, 2013.

  1. walterdevos

    walterdevos Member

    Joined:
    Apr 30, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Some time ago cPanel stopped sending me mails.
    I checked WHM basic cPanel & WHM Setup and there contact information is set to
    walter@xxxxio.be
    I checked WHM Server Contacts -> Edit System Mail Preferences and there the "root's mail" is set to walter@xxxxio.be
    I changed these and saved, but still nothings happening.

    I went into shell and did this:
    mail -s "test mail" root
    Then I did:
    tail exim_mainlog
    That gave me this:
    Somewhere earlyer in the log I also found this:
    It seems the forwarding address walter@xxxxio.be is only used as the "display name" in the SMTP command.
    This forces google to try root@www.domain.com which of-course fails.

    My .forward has the correct address.

    Anyone know how i can fix this?

    ( CENTOS 5.9 x86_64 vmware – www WHM 11.38.1 (build 15) )
     
    #1 walterdevos, Aug 8, 2013
    Last edited: Aug 8, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The root contact address is only designed to forward email to an actual email account. It appears this is working as intended based on your email logs because it shows the message delivery to the address you have configured root email to forward to.

    I'm not sure if that is your actual hostname, or an example, but note that you should not use an actual domain name with the "www" prefix as your hostname.

    Thank you.
     
  3. walterdevos

    walterdevos Member

    Joined:
    Apr 30, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I'm confused. Maybe my question is not clear.

    The mail should be send to walter@xxxxio.be , but it is send to root@www.domain.com because that is what is said between the brackets. It should be walter@xxxxio.be <walter@xxxxio.be> , or just walter@xxxxio.be (without the brackets). Note that it already knows it should contact the SMTP server of Google, which it does: T=remote_smtp H=aspmx.l.google.com , but it then should tell google to send it to the forward address I configured, not the original root address.

    it is the "added" <root@www.domain.com> that is not correct and shouldn't be there.

    I configured forwarding the way I found plenty examples in this forum.

    Every other e-mail adress is just blablabla@somedomain.com without the <somethingelse>

    My host-name is a FQDN, shouldn't it be?

    Any advice? Do you need more info, logs, config files?
     
    #3 walterdevos, Aug 8, 2013
    Last edited: Aug 8, 2013
  4. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    That tells that the email is coming fromroot@www.domain.com ("<=" tells that) and it's sent ("=>") to walter@xxxxio.be.
     
  5. walterdevos

    walterdevos Member

    Joined:
    Apr 30, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I know.
    But look carefully:
    It said => walter@xxxxio.be <root@www.domain.com> <-- including the <root...> , which then results in "Delivery Status Notification (Failure)" for root@www.domain.com

    I don't want the <root@www.domain.com> added to the FROM: line, because it confuses google.

    PS: if it would say: root@www.domain.com <walter@xxxxio.be> THAT would work, but not vice versa.
     
  6. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    The email in your 1st post:

    It did not fail.

    This
    simply means that the email was originally sent to root@www.domain.com but forwarded to walter@xxxxio.be
     
  7. walterdevos

    walterdevos Member

    Joined:
    Apr 30, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the patience.

    I'm looking at Google now.
     
    #7 walterdevos, Aug 9, 2013
    Last edited: Aug 9, 2013
Loading...

Share This Page