[Mimedefang] RE: New to this - Adding text to indicate SPAM e-mail

Kevin A. McGrail kmcgrail at pccc.com
Thu Sep 25 11:58:00 EDT 2003

> All I really want to do is mark the message subject with the text
> "[SPAM]" so that users can just make sure it is and auto-delete if
> necessary.  I can extend the configuration later.

Modify the mimeefang-filter file and on the routine that says sub
filter_end, you'll need to add the command to change the subject:

action_change_header("Subject", "[SPAM] $Subject");

Again, my filter is located at
http://www.peregrinehw.com/downloads/MIMEDefang/mimedefang-filter-KAM but
this should be an easy change to do with the default example DFS supplies.


More information about the MIMEDefang mailing list