[Mimedefang] message detected as SPAM but not rejected

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Mon Jun 16 09:41:44 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 16 Jun 2008, C.M. Burns wrote:

>      if ($hits >= 6)
>      {
>          action_bounce("Message detected as SPAM with score $hits.");
>      }

You've forgot the return in: "return action_bounce()".

> in most cases, mimedefang recognizes an incoming mail as spam
>
> Jun 16 12:12:45 mailserver mimedefang.pl[6312]: 
> MDLOG,06D72AC861,mail_in,,,<855legal at retractableawnings.com>,<user at example.com>,SPAM: 
> Best of Prada%2C Dior%2C UGG

This logline is not added by action_bounce(), but by a 
md_graphdefang_log('mail_in'); usually almost at the end of filter_end(). 
Also, unless you mangle $Subject elsewhere in your script, it's the 
original subject.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIVm2a5ThHZhj8SBwRAuUyAJ41IrS+C9fTRuc6tI8RnVtYUw8PIgCfQHMR
CjbhaFvM0yK6qUH1nUxcthI=
=NS7m
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list