I've got installed on a Centos 7 box, EXIM, Spamassassin, Clamav, Kaspersky AV
for Maiil Server and home-grown scripts.
My home grown scripts are the last to be called using the following
deny set acl_m0 =
cmdline:/etc/exim/bin/virus_sweep %s:ThreatName:'(.*?)'
malware = *
set acl_c_SPAM = 1
message = This message contains a virus ($malware_name).
in acl_check_data. This is after Clamav and Kaspersky but currently before
Spamassassin.
Kasp adds and modifies headers in the email as it processes it, but when I see
the message in my script, the Kasp content is not visible.
One example is that it updates the status to include one or more of [SPAM]
[MASSMAIL] [CURED].
However, the subject line that my script always sees is the original one.
I'm guessing that this is the desired behaviour. Is there any way I can change
this, and have access to the updated value?7