Exim: Previous (cached) callout verification failure
Wednesday, April 25th, 2007When testing routing behavior in Exim, remember to flush the callout cache. If an address callout has failed, that failure will be cached to speed up routing should another email arrive for that address. This is normally a good thing, but a pain if you’re testing configs because you’ll keep getting the address rejected even if you’ve fixed the routing problem.
rejected RCPT <joe@bloggs.com>: Previous (cached) callout verification failure
There are two solutions.
The first is to turn off callout caching using the no_cache option in exim.conf. eg:
verify = recipient/callout=no_cache
or you can flush the callout cache. Simply -HUPing or restarting exim won’t do. You need to delete the cache manually:
cd /var/spool/exim/db
mv callout callout.deleted # or just delete it