[Mimedefang] filter_end in MimeDefang Howto

Michael Best mbest at harddata.com
Fri Jan 9 13:36:43 EST 2004


Just following along the Mime Defangs HOWTO, the one comment I have is
shouldn't the installation of Mime Defang be the first step and not later
on in the Howto since the sendmail setup which appears early on references
it?

Also explaining what has been added to the redhat init script would be
useful too.

I'm thinking that the filter_end should also add X-Spam-Flag to the
message as this is an easy way to write in client mail filters.

if ($hits >= $req) {
    action_change_header("X-Spam-Score", "$hits ($score) $names");
    action_change_header("X-Spam-Flag", "YES");

-- 
Michael Best
Hard Data Ltd.                        Tel: +01 (780) 456-9771
11060 - 166 Avenue                    Fax: +01 (780) 456-9772
Edmonton, Alberta, Canada T5X 1Y3




More information about the MIMEDefang mailing list