Failing to connect smtp server
Successfully configured SMTP server per steps given below
- Entered SMTP Name: 'smtp.example.com' under cpanel > exim configuration > mail > smarthost name
- Added required values in Exim configuration > mail > Advanced Editor > Section: POSTMAILCOUNT | Section: Auth | Section: Transportstart as instructed by: - Removed -|
-
Now smtp was connected successfully and phpmailer script displays message:mail is sent, but still client (gmail) has not received it either in inbox or spam. What shall we do . 0 -
Here is an update. Local SMTP relay is working fine. PHPMailer is sending mails successfully but the remote client (like gmail) is not receiving. In WHM, The Mail Queue Manager shows frozen as status. And mail delivery report show as a 'remote host address is the local host'. Screenshot tagged herewith for ready reference. Help sorting out, revert. 0 -
Hello @Ahamed Husain, Can you let us know the output to /var/log/exim_mainlog when reproducing this issue? EX: exigrep user@gmail /var/log/exim_mainlog
Also, is the domain you are sending email from listed in the /etc/localdomains file or the /etc/remotedomains file? Thank you.0 -
Here below is the exim you asked for. [root@host ~]# tail -f /var/log/exim_mainlog | grep someusr@example.com 2018-11-21 21:17:53 1gPUjJ-0000vz-51 <= someusr@example.net H=localhost (host.domain.tld) [127.0.0.1]:57480 P=esmtpa A=dovecot_login:someusr@example.net S=625 id=84c1561c45b89de20c2fdd0a9e6785d6@example.net T="SoftLayer Tes t" for someusr@example.com 2018-11-21 21:17:53 1gPUjJ-0000vz-51 SMTP connection outbound 1542815273 1gPUjJ- 0000vz-51 ecitizen.in someusr@example.com 2018-11-21 21:17:53 1gPUjJ-0000vz-51 == someusr@example.com R=remoteserver_r oute defer (-1): remote host address is the local host
The someusr@example.com is user to which our server (someusr@example.net) is sending mail to. Additionally we have attached the screenshot of command. To be upfront, we are not actually proficient in root terminal commands. So regret for any inadequate information. Yes our domain is listed in /etc/localdomains file.0 -
remote host address is the local host
Hello, This error can sometimes indicate that your server's hostname is not a fully-qualified domain name? Can you confirm that the hostname of this server meets the requirements we document at the link below? Change Hostname - Version 74 Documentation - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
5 comments