[Mimedefang] change subject if message is altered?
Mark Suter
suter at zwitterion.humbug.org.au
Sun Mar 7 20:03:12 EST 2004
jd => J.D. Bronson" <jbronson at wixb.com>
rob => Rob <rob_macgregor at hotmail.com>
jd> I have the program stripping attachments that I dont want just fine,
jd> but I was wondering what I would need to do to have MIMEDefang
jd> change the subject line as well as the body of the message?
rob> Yes - the answer is in the list archive :)
jd> I have looked over and over in the list threads as well as
jd> google. The only thing I could find was how to deal with subject
jd> changes -and- SA. I dont run SA and therefore didnt think that
jd> applies to me.
Did you try the code? When using SpamAssassin from MIMEDefang, you
still need to use MIMEDefang to make any changes to the email.
jd> Does anyone ELSE out there have a valid answer instead of this one?
I found 194 entries in the archive (http://zwit.org/70640) doing the
search when I know the answer, but even searching for "change subject"
returns the answer in the first page of results.
http://lists.roaringpenguin.com/pipermail/mimedefang/2002-April/009730.html
To save you the effort of the search, here's the call to make from
either filter_begin or filter_end.
action_change_header("Subject", "$Subject ** Message Altered **");
Yours sincerely,
-- Mark John Suter | I know that you believe you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you heard is not
mobile 0411 262 316 | what I meant. Robert J. McCloskey
More information about the MIMEDefang
mailing list