|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: customize spam management
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Wed Aug 09 2006 - 08:38:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday 09 August 2006 07:45, nik600 wrote:
> .procmailrc files in each maildir?
> (/var/spool/postfix/vmail/user
domain.tld/.procmailrc)
You could probably use a pipe(8) transport, but it would make more
sense to use something like maildrop for virtual(8) users. Or, as has
been mentioned, amavisd-new as content_filter (FILTER_README.html).
> :0:
>
> * ^Subject:.*SPAM
> /dev/null
Absurd. Did you realise that *this* whole thread matches that pattern?
Plenty of non-spam messages can contain the expression
"[Ss][Pp][Aa][Mm]" in the Subject: header.
> but the spam is still delivered in the new folder:
>
> root
criminal:/var/spool/postfix/vmail/info
chiese.tn.it$ cat
> new/1155127124.V305I378a8M561715.criminal
> Return-Path: <info
chiese.tn.it>
> X-Original-To: info
chiese.tn.it
> Delivered-To: info
chiese.tn.it
> Received: by bbbbbbbbbbbb (Postfix, from userid 1003)
> id 65BB5378BA; Wed, 9 Aug 2006 14:38:44 +0200 (CEST)
> X-Spam-Flag: YES
^^^^^^^^^^^^^^^^
That's the header you should be filtering on, if you are going to do
filtering by headers, and not the (better) content_filter way.
> X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
> criminal.criminal.team
> X-Spam-Level: *
> X-Spam-Status: Yes, score=1.3 required=0.0
> tests=ALL_TRUSTED,MISSING_SUBJECT, NO_REAL_NAME,UNDISC_RECIPS
snip ---------------^^^^^^^^^^^^^^^
> can you help me to guess where is my problem?
Why would you think a missing Subject would match your expression? No
guessing nor fancy detective work here.
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]