13 Sep All hosts for ‘mydomain.com’ have been failing for a long time (and retry time not reached)
2019-05-23 12:43:50 cwd=/tmp 4 args: send-mail -i -- firstname.lastname@example.org 2019-05-23 12:43:50 1hTqoo-0007EE-LC <= email@example.com U=root P=local S=517 T="test" for firstname.lastname@example.org 2019-05-23 12:43:50 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1hTqoo-0007EE-LC 2019-05-23 12:43:50 1hTqoo-0007EE-LC ** email@example.com R=lookuphost T=remote_smtp: all hosts for 'mydomain.com' have been failing for a long time (and retry time not reached) 2019-05-23 12:43:51 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1hTqoo-0007EE-LC 2019-05-23 12:43:51 1hTqop-0007EN-0G <= <> R=1hTqoo-0007EE-LC U=mailnull P=local S=1866 T="Mail delivery failed: returning message to sender" for firstname.lastname@example.org
I can telnet to the mx record for the mydomain.com above port 25 no problem.
How do I force it to try again to see what the actual failing reason is? Setting log_selector to +all doesnt help with any additional detail.
Never saw this mentioned in the few threads about this problem here.
cd /var/spool/exim/db rm wait-dkim_remote_smtp* retry* wait-remote_smtp* service exim restart
And then new and queued mail got sent out (because whatever other underlying problem I had solved earlier with another change, but somehow exim didnt get told about it despite having restarted it a few times to increase logging or other reasons).