[snip]hello
Try as I might I cannot add the spamassassin report to the mail msg prior to it being quarantined.
# If you find the SA report useful, add it, I guess... action_add_part($entity, "text/plain", "-suggest", "$report\n", "SpamAssassinReport.txt", "inline",0); action_quarantine_entire_message(); action_discard();
This one-liner should do the trick:
# Quarantine mail and save report action_quarantine_entire_message($report); # Second line of one-liner ;-) return action_bounce("Smile, be happy, don't send spam");
You will find the report in file MSG.0 (unless you had some other action_quarantine_* with message included, each goes in its own MSG.n file).
Side-effect: When/if you send quarantine notifications later on, they will contain the report.
-- Aleksandar Milivojevic <[EMAIL PROTECTED]> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7 _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang