cannot send mail, major confusion

Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
Emails are being sent locally only for whatever reason globally, any account

I confirmed everything is ok in:

localdomains (domains listed)
named.conf
resolv.conf
domains' dns are fine, propagated days

I reset exim to defaults, forced upgrade exim, cpanel (stable)

I ran fix/reinstall for
mailman
fixnamed
fixndc
fixrndc
fixbuggynamed
fixetchosts
disabled sender verify callout failed
unlimited emails outgoing
prevent user nobody is disabled

I can dig a domain from command line to external, works fine otherwise.

I can send locally only, but not external (remotely). I am very confused

I was using APF firewall, I switched to CSF now. Same issue.


EXIM mainlog:


2006-12-28 17:49:48 1Gzzvt-0001xw-Oq == [email protected] R=localuser T=local_delivery defer (-52): Retry time not yet reached
2006-12-28 17:49:49 1GzgOG-0003Vy-J0 == [email protected] R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<user$
2006-12-28 17:49:49 1Gzoxe-00044O-G9 == [email protected] R=localuser T=local_delivery defer (-52): Retry time not yet reached
2006-12-28 17:49:49 1Gzo7z-00033e-Aw == [email protected] R=localuser T=local_delivery defer (-52): Retry time not yet reached
2006-12-28 17:49:49 1H00Yu-0000P2-UZ == [email protected] R=localuser T=local_delivery defer (-52): Retry time not yet reached
 
Last edited:

ilbin

Member
Apr 12, 2004
14
0
151
I've seen this with APF and am still looking for a solution. The errors you saw, though, are an after effect of the failure to send. You can clear that with commands like:

exim_tidydb -t 1m /var/spool/exim retry
and
exim_tidydb -t 1m /var/spool/exim wait-remote_smtp


but you will likely still get an error like this:

... failed: Connection refused


and then it will return to the retry time errors you saw.

On my system, I was able to restart apf and the issue went away for the short term. A long term fix has eluded me thus far.