Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Smarthosts stopped working?

Discussion in 'E-mail Discussions' started by HHaaland, Oct 20, 2017.

  1. HHaaland

    HHaaland Registered

    Joined:
    Jun 9, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    I've used this guide for setting up my smarthosts on different domains:

    Forward Certain Domain Emails To Smart Host

    It worked perfect for a while, but today I experience it not working anymore (when it stopped working I'm not sure about, but it was setup 2 weeks ago).

    I've checked exim.conf and it's correct, it show the same as the Exim Advanced Editor in cPanel, and everything looks okay according to the setup in the other thread, but still - all mails sent with those domains go local and not to remote smarthost as before.

    Have anybody experience the same?
    How did you fix it?

    CENTOS 7.4, cpanel v66.0.26, EXIM 4.89
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,396
    Likes Received:
    1,606
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. HHaaland

    HHaaland Registered

    Joined:
    Jun 9, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    It's thread number #27.
    (I've linked directly to the correct post).

    I've already voted long time ago.


    I have to local accounts, and using PHPmailer on the EXIM server.
    But when they send to other accounts on the same domain - they doesn't get sent to the other server, seems like EXIM still send it locally, not to the smarthost.

    If I send to other domains, it uses the smarthost on the EXIM server.

    But with this config, it worked when I setup first time for some weeks ago...

    When sending to externals it looks correct:
    Event: success
    User: <username>
    Domain: <domain>
    From Address: <from@adresse.com>
    Sender: <sendername>
    Sent Time: Oct 25, 2017 3:52:15 PM
    Sender Host: localhost
    Sender IP: 127.0.0.1
    Authentication: localuser
    Spam Score:
    Recipient: <external@domain.com>
    Delivery User: -remote-
    Delivery Domain:
    Delivered To: <external@domain.com>
    Router: smarthost_dkim
    Transport: remote_smtp_smart_dkim
    Out Time: Oct 25, 2017 3:52:15 PM
    ID: <ID>
    Delivery Host: <prefix>.mail.protection.outlook.com
    Delivery IP: <IP>
    Size: 23.46 KB
    Result: Accepted

    But when I send to another account on the same domain;
    Event: success
    User: -remote-
    Domain:
    From Address: <exim-local-user@serverdomain.com>
    Sender:
    Sent Time: Oct 25, 2017 3:52:15 PM
    Sender Host: localhost
    Sender IP: <extneral IP of the server>
    Authentication: localdelivery
    Spam Score:
    Recipient: <extneral-user@serverdomain.com>
    Delivery User: <user>
    Delivery Domain: <serverdomain.com>
    Delivered To: >exim-default-user@serverdomain.com>
    Router: localuser
    Transport: dovecot_delivery
    Out Time: Oct 25, 2017 3:52:15 PM
    ID: <ID>
    Delivery Host: localhost
    Delivery IP: 127.0.0.1
    Size: 2.97 KB
    Result: Accepted

    As you can see it say user is remote,
    show now domain or sender.
    So maybe the thread can't find what smarthost to use?

    I can't understand why it doesn't use the smarthost for ALL emails sent from this useraccount on my cpanel.
     
  4. HHaaland

    HHaaland Registered

    Joined:
    Jun 9, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    The end was wrong.

    As you can see it show sender user is -remote-, when it send locally?
    And doesn't show any domain or sender. Maybe that's why exim can't see that it should use a smarthost for sending? But how is that possible?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,396
    Likes Received:
    1,606
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look.

    Thank you.
     
Loading...

Share This Page