Andrzej Adam Filip anfi at
Thu Jan 6 11:49:42 EST 2005

sc2 at wrote:
> Hello Baltasar
> Thx 4 Answer
> Hmm now im little bit confused i did make a look into and 
> just see a entry like
> (it is standart install no custom local mailer m4 entrys)
> this means procmail or?
> so in fact its not possible procmail (nice filtering) + imap correct?
> i know there spamassassin etc too...and i use them but combined its a 
> good way to filter messages with are "wantet"
> ####  $Id: local_procmail.m4,v 8.22 2002/11/17 04:24:19 ca Exp $  #####
> Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, 
> S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
>                A=procmail -Y -a $h -d $u

You can integrate sendmail with spamassassin using milter
(e.g. ).

AFAIK standard recomendation is to:

1) make milter reject messages with spam-index above 10 (more than 
standard 5.0) in reply to "the final dot" in SMTP session [spam "for 
sure"].  Such message will be rejected before cyrus has any chance to 
see them.

It makes the sending host responsible for generating bounces.

2) making milter add headers to remaning message and use sieve script to 
deliver "most likely spam" to separate folder e.g. INBOX/SPAM-FOLDER

e.g. use for fetchmail retrieved message:

if header :contains "X-Spam-Flag" "YES" {
   fileinto "INBOX/SPAM-FOLDER" ;
   stop ;

P.S. Use spamassassin with "bulk detectors" (dcc/razor)

Andrzej [en:Andrew] Adam Filip anfi at anfi at
Home Page
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list