On Wed, Nov 27, 2002 at 04:24:05PM +0100, Tilman Kastner wrote:
> What am I doing wrong here? This is SA 2.43 called via
> MIMEDefang on a Linux Box with Perl 5.6.1

The shell scripts spamc and spamassassin are not run by
MIMEDefang. Instead, a function named spam_assassin_check()
is called. It is not intended for MIMEDefang to call the
spamassassin script. Instead, the mimedefang.pl script loads the
Mail::Spamassassin module.

MIMEDefang modifies the headers and can even add a spam report
via a separate MIME attachment.

I would suggest modifying mimedefang-filter to only munge the
header and body when SA reaches a threshold:

    my $threshold = 5;

    ...

    if ($hits >= $threshold) {
        ... munging here
    }

Also, if action_add_part() is used to add a MIME-based report,
you cannot use spamassassin to remove the report.

-Vince


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to