After DA and Exim updates, mail stuck in queue

ArashiInteractive

Verified User
Joined
May 25, 2021
Messages
27
HI,

Last night (2023-01-05) I let DA run several updates it had, unfortunately I don't remember all the updates, but I believe Exim, Dovecot, Redis and SpamAssassin were present. Shortly after running these updates, I'm seeing a number of email messages sitting in the mail queue. Several times in the past I've had issues updating Exim where it would seem to not set the correct permissions on mail folders - emails intended for junk/spam would sit stuck in the mail queue. On the forums, I'd found a solution running the following command:

/usr/local/directadmin/scripts/set_permissions.sh email

However, this does not seem to fix the current problem. Viewing an email stuck in the mail queue, I'm seeing lines similar to this in the log:

R=magicspam_virtual_user_quarantine_spam T=virtual_spam_localdelivery defer (-1): Expansion of "${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}" in virtual_spam_localdelivery transport failed:

Any thoughts on how I might fix this?

Thanks in advance,
-Tim
 
Additionally, I've just noticed if I select an email stuck in queue, then try clicking Retry I get the following message:

Tainted filename for search:

Google suggests there's something wrong with Exim config perhaps. Any thoughts on what to do next?
 
> R=magicspam_virtual_user_quarantine_spam

There's more going on here than just a vanilla DA install. Is it possible that magicspam is adding to your exim configs and that they may need to update their syntax?
 
Back
Top