Autor: David Grant Data: A: exim-users Assumpte: [exim] Exim appears to stop handling mail via the localuser router
after a while
Hello,
Our exim config passes mail to spamassassin with a spamcheck_router router:
spamcheck_router:
no_verify
check_local_user
# When to scan a message :
# - it isn't already flagged as spam
# - it isn't already scanned
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck
The spamcheck transport feeds the scanned email back to exim as protocol
spam-scanned:
This setup worked great for over a year until last Friday. It appears
that email is still being handled as expected at least by
spamcheck_router and spamassassin - the spam we receive is scored and
marked up by spamassassin but not filed or deleted. It appears that it
is not handled by either the userforward router or the exim filter in
.forward. The delivery is handled by local_user, the last available router.
Interestingly, the problem sometimes (but not always!) abates for a few
hours on a SIGHUP of exim4.
No packages or configurations have been identified as updated in the
weeks before the issue started, of course.
A successful spam handling might be logged like this: