[Mimedefang] mimedefang-filter did not return a true value at/usr/local/bin/mimedefang.pl line 5256

Jon Rowlan jon.rowlan at sads.com
Wed May 20 02:44:31 EDT 2009

> I added this to the bottom of /etc/mail/mimedefang-filter:

> 1;
> if ($hits >= $req) {
>  action_add_header("X-Spam-Warning", "Message may be spam");
>  action_add_header("X-Spam-Status", "Yes, hits=$hits required=$req");
>  action_add_header("X-Spam-Report", "$report");
> } else {
>  action_add_header("X-Spam-Status", "No");
> }

I am not sure where exactly you have added this Cliff ..

But according to 

man mimedefang-filter

this can only be added to procedure filter_begin or filter_end


Jon Rowlan
Sytems Analysis Design & Support Limited


More information about the MIMEDefang mailing list