Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

A question about spamassassin and milter-greylist

2005-04-04 by H Li

Hi,

After I install and run milter-greylist in our fc3
linux email server, the number of spam emails reduced
significantly.  I greatly appreciate this wonderful
program.  I watched the performance for a while, and
now I have 2 questions.  To avoid consusion, I ask
them in different mail.  Here is the first one.

In my fc3 linux email server, I installed
milter-greylist (v1.6), spammassassin (3.0.2) and
clamav (0.83-1).  They are all working well.  

I set the spamassassin at each user's level that if
the score is higher than 15, the email will be
filtered into a folder "almost-spam", if the score is
between 5 to 15, it will be filtered into
"probably-spam", if the score is less than 5, it is
normal email.  Users can change these criterial
numbers if they want, and use their .procmailrc to
filter the emails (the system's /etc/procmailrc only
filter the virus).  Here I copy part of the normal
email's header:

Return-Path: <xxx@...>
Received: from web53501.mail.yahoo.com
(web53501.mail.yahoo.com [206.190.37.62])
......
X-Greylist: Delayed for 00:06:38 by
milter-greylist-1.6 (aaa.bbb.eee [a.b.c.d]); Sat, 02
Apr 2005 21:23:00 -0600 (CST)
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.2 with
clamscan / ClamAV 0.83/802/Sat Apr 2 08:49:46 2005
X-Spam-Checker-Version: SpamAssassin 3.0.2
(2004-11-16) on aaa.bbb.eee 
X-Spam-Level:
X-Spam-Status: No, score=0.4 required=5.0
tests=DNS_FROM_RFC_ABUSE
     autolearn=no version=3.0.2
...

Please notice the order: first X-Greylist..., second
X-Virus..., last X-Spam...

Now, users still receive some "almost-spam" and
"probably-spam" emails -- much less than before. I can
understand this.  However, the strange thing is the
header of those emails show no X-Greylist..., no
X-Virus..., but only the part X-Spam... e.g.:

.....
Message-Id:
<011001c538e8$b8c271f0$7d4f0d82@...>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.2
(2004-11-16) on aaa.bbb.eee 
X-Spam-Level: ***************
X-Spam-Status: Yes, score=15.7 required=5.0
tests=FORGED_RCVD_HELO,......
......

It seems that SpamAssassin "first checks" it, once
finds it as a spam, then milter-greylist doesn't do
anything.  It is not like what I expect:
milter-greylist checks it first, then virus check,
then spamassassin as shown in the normal email's
header. In this fc3 linux, only milter-greylist has
entries in sendmail.mc as indicated in the
instruction, clamav and spamassassin have no entries
in sendmail.mc.  Why does spammassassin act first if
it is a spam, but act last if it is not a spam
(according to the user's rule numbers for
spamassassin)?  How to let milter-greylist always do
something so that those mails may not appear in user's
account at all? -- I could stop spamassassin, but I
don't want to do that way.  I feel that it is better
to have milter-greylist and spamassassin both working,
as well as clamav.

Any idea and/or suggestion?

Thanks!

Harvey


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.