On Thu, 11 Feb 2016, Marcin Mirosław wrote:
> Hi!
>
> I've got such situation, when user sends email resolver find wrong MX
> records for domain (wrong or MX was changed in meantime). The email
> can't be delivered to MX due to connection timeout error. Now I can see
> that destination domain has different MX that those in retry database.
> How I can tell exim to refresh MXes for mails in queue?
exim_dumpdb exim_tidydb and exim_fixdb
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html#SECThindatmai
If you don't run exim_tidydb from cron
you might wish to consider doing so.
In this case you may wish to use exim_fixdb for this particular case.
Andrew C Aitchison