[Mimedefang] Re: MIMEDefang and SpamAssassin

Kevin A. McGrail kmcgrail at pccc.com
Mon Jun 28 18:14:01 EDT 2004


> I was wanting to change the default functionality of SpamAssassin to
> have it forward the original message as an attachment.  I think I
> managed to do this by reading the INPUTMSG file storing it in a variable
> and adding it as a mime_part.  I then wanted to change the original
> message so that the data wouldn't be displayed but a report on the
> ratings as spam.  I tried doing the by calling the replace_with_warning
> method, it failed with error 0 as I was calling it from the filter.
> There are obviously easy ways to change the headers from the filter, my
> question is there an easy way to change the body from the filter?

Thanks to James W. Curtis, I've added this exact code functionality to my
milter.

http://www.peregrinehw.com/downloads/MIMEDefang/mimedefang-filter-KAM

Regards,
KAM



More information about the MIMEDefang mailing list