[Mimedefang] MD 2.30 having probs with SpamAssassin 2.50

Rich West Rich.West at wesmo.com
Thu Mar 13 09:39:00 EST 2003


The problem is that you are doing:

            if ($hits > 12)
            {
               action_quarantine_entire_message();
               action_bounce("Message seems to be spam, rejected");
            }


When it should be:

            if ($hits > 12)
            {
               action_quarantine_entire_message();
               return action_bounce("Message seems to be spam, rejected");
            }

Because you are not returning at the "action_bounce", the processing 
continues, even after bouncing the message back.

-Rich


Paul wrote:

> I've looked at it from all different angles but can't seem to get it 
> to work like I want to.
>
> What I want is for the MD/SA Combo to bounce all mails SA rates 12 or 
> higher and not stick on the SA report. I changed 
> /etc/mail/mimedefang.cf accordingly based on the How-To page. But 
> still, although flagged with an SA attachment and the ***** in the 
> header, they get thru to the user.
>
> Anybody able to tell me what I did wrong? (System FreeBSD 4.7) Also, 
> although I have both NAI and clamav installed, mimedefang.pl -features 
> shows both as missing.
>
> Thanks in advance for your help
>





More information about the MIMEDefang mailing list