On Thu, May 20, 2004 at 10:17:39AM +0200, Carlo C Henrico wrote: > I have set up the system to send notifications of spam to > [EMAIL PROTECTED] > > It however has a subject of "SPAM FROM <[EMAIL PROTECTED]>". > > Is there any way to change this to "SPAM FROM <[EMAIL PROTECTED]> TO > <[EMAIL PROTECTED]>"?
Yes, but it's an amavis question, not a spamassassin one - SA only does the scoring for amavis. The subject line comes from the Spam Admin notification template. The default one is in one of the __DATA__ sections at the end of /usr/sbin/amavisd (look for the text "SPAM ADMINISTRATOR NOTIFICATIONS"). Take the text of that template and put it in a separate file, modify the subject line in it to be soemthing like this: Subject: SPAM FROM[?%l|| LOCAL] [?%o|(?)|<%o>] TO %R Uncomment $notify_spam_admin_templ in amavisd.conf and point it to the new file, restart amavis, and that should be it :) Nick
