Can't send mails with exim on port 26

Gianmarco Nicoletti

Registered
Jan 24, 2019
1
0
1
Italy
cPanel Access Level
Root Administrator
Hi,

I can't send mail with Exim. It's listening on port 26. "telnet hostname 26" is responding, and for example testing it from here: - Removed - prints "Mail successfully sent". I'm using AUTH, no ssl/tsl, and user and password created with cpanel -> Mail accounts. I can see the requests coming in /var/log/exim_mainlog, but it seems like it can't deliver them. Every host goes to timeout or gives this (/var/log/exim_mainlog output with an example for gmail):

Code:
2019-01-24 06:07:36 SMTP connection from [ip address]:58802 (TCP/IP connection count = 1)
2019-01-24 06:07:36 1gmdnE-0005gb-KC <= [email protected] H=6d.1e.089f.ip4.static.sl-reverse.com (prod1.example.com) [ip address]:58802 P=esmtpa A=dovecot_login:[email protected] S=1735 [email protected] T="mail object" for [email protected]
2019-01-24 06:07:36 SMTP connection from 6d.1e.089f.ip4.static.sl-reverse.com (prod1.example.com) [159.8.30.109]:58802 closed by QUIT
2019-01-24 06:07:36 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1gmdnE-0005gb-KC
2019-01-24 06:07:36 1gmdnE-0005gb-KC Sender identification U=farmacpadmin D=mail.example.com [email protected]
2019-01-24 06:07:36 1gmdnE-0005gb-KC SMTP connection outbound 1548331656 1gmdnE-0005gb-KC hostname [email protected]
2019-01-24 06:07:36 1gmdnE-0005gb-KC == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
More info:
- "WHM Home » Security Center » SMTP Restrictions" is disabled;
- "ping www.google.com" works fine from whm teminal;
- tried something solutions like removing /var/spool/exim/db/retry.lockfile and /var/spool/exim/db/retry.

I think there's something wrong with domains or dns. Where can i look? Thanks in advance!
 
Last edited by a moderator: