[Mimedefang] mimedefang + spamassassin (how to modify subject header)
Matthew Thomas
mthomas at biocontrolsys.com
Thu Nov 6 13:56:48 EST 2003
> -----Original Message-----
> Subject: [Mimedefang] mimedefang + spamassassin (how to
> modify subject header)
>
>
> what line would I use to add to the subject header;
> In short, how does one retrieve the value of a messages given
> subject header
> (or any header for that matter)?
Something like the following will work:
if (spam_assassin_is_spam()) {
#Change Subject: header
action_change_header("Subject","** SPAM ** $Subject");
}
Thus, you use $Subject to recapture the as-sent subject.
-Matt
More information about the MIMEDefang
mailing list