Smarthosts stopped working?
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
-
Hello, Could you let us know which instructions from the thread you linked were utilized on your system (there are a couple of different posts with steps to follow)? Also, I encourage you to vote and add feedback to the existing feature request for this at: Allow for smarthost configuration via WHM on a per domain basis in exim advanced config Thank you. 0 -
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: Domain: From Address: Sender: Sent Time: Oct 25, 2017 3:52:15 PM Sender Host: localhost Sender IP: 127.0.0.1 Authentication: localuser Spam Score: Recipient: Delivery User: -remote- Delivery Domain: Delivered To: Router: smarthost_dkim Transport: remote_smtp_smart_dkim Out Time: Oct 25, 2017 3:52:15 PM ID: Delivery Host: .mail.protection.outlook.com Delivery 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: Sender: Sent Time: Oct 25, 2017 3:52:15 PM Sender Host: localhost Sender IP: Authentication: localdelivery Spam Score: Recipient: Delivery User: Delivery Domain: Delivered To: >exim-default-user@serverdomain.com> Router: localuser Transport: dovecot_delivery Out Time: Oct 25, 2017 3:52:15 PM 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. 0 -
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? 0 -
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. 0 -
Hi, I am having the same issue and currently using a third party service for mail hosting. I already asked the admin at my mail hosting provider, but they did not even solve the problem. Personally, I have no experience or knowledge at all to fix it therefore I am trying to find solution here. Previously everything was working well, but out of sudden every mails sent between addresses from my domain to each other show that the mails are sent from localhost. I am using gmail to send and receive mail from my domain. This is the log When I send to another account on the same domain; Event: success success User: user1 Domain: mydomain From Address: sender@mydomain Sender: sender@mydomain Sent Time: May 10, 2021, 9:08:09 AM Sender Host: mail-ej1-f47.google.com Sender IP: 209.85.218.47 Authentication: dovecot_plain Spam Score: Recipient: recipient@mydomain Delivery User: user1 Delivery Domain: mydomain Delivered To: recipient@mydomain Router: virtual_user Transport: dovecot_virtual_delivery Out Time: May 10, 2021, 9:08:09 AM ID: 1lfvLm-000udA-0w Delivery Host: localhost Delivery IP: 127.0.0.1 Size: 7.96 KB Result: Accepted I wasn't able to submit a ticket because I don't know the IP, and I have limited control on the cPanel. Any reply would be very much appreciated. Thank you 0 -
@tonydw - the best thing to do in that situation would be to reach out to your hosting provider or datacenter, as you would likely need root access to the server to perform additional troubleshooting on why this behavior has changed. With what you've mentioned here, you only have cPanel access, which won't be enough to resolve the issue. If your host isn't able to help get things working they are welcome to submit a ticket directly to us so we can check things on our end. 0
Please sign in to leave a comment.
Comments
6 comments