You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rick Macdougall <ri...@nougen.com> on 2004/11/04 20:32:51 UTC

Re: [OT] Frustration...


Lisa Casey wrote:
> Hi Folks,
> 
> I'ld also like to drop, bounce, whatever mail that has certain words in the
> subject, such as rolex, penis, viagra, etc.
> 
> I know I can do the above with MIMEDefang/Spamassassin, but I'll be darned
> if I can figure out how. And the more I try to figure it out, it seems, the
> more confused I am getting.

Hi,

I don't use mimedefang and SA will never drop messages by itself, so 
this is really a mimedefang mailing list question.

How ever, a quick look at the mimedefang page tells me you want to do 
something like

if($hits > 15)
	return action_discard();

or something similar after calling the spamassassin check routine.

Regards,

Rick

Re: [OT] Frustration...

Posted by Kelson <ke...@speed.net>.
Rick Macdougall wrote:
> How ever, a quick look at the mimedefang page tells me you want to do 
> something like
> 
> if($hits > 15)
>     return action_discard();
> 
> or something similar after calling the spamassassin check routine.

Yes, that's the way to do it.  Alternatively you can use 
action_bounce(), which despite its name will issue an SMTP reject.

Even better would be to call action_quarantine_entire_message first, so 
that you still have a record in the event of a false positive.

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>