Yahoo Groups archive

Milter-greylist

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

Message

spamd

2010-08-24 by Adam Katz

On 08/23/2010 11:47 PM, Emmanuel Dreyfus wrote:
> On Mon, Aug 23, 2010 at 11:34:40PM -0700, Adam Katz wrote:
>> I've attached a diff that adds spamassassin toggling to the .spec
>> file.
> 
> I checked it in.

How used is the spamd option?  I just started using it and have
noticed that none of the X-Spam-* headers are present ... and
milter-greylist doesn't have any format strings to compose new ones
(e.g. %Fx for p0f).  In order to have any feedback for my users to
filter by, I'm stuck doing a hack like this:

dacl blacklist spamd > 10 msg "Rejected as spam."
dacl whitelist spamd >  8 addheader "X-MG-Spam: D - Probable (8-10)"
dacl whitelist spamd >= 5 addheader "X-MG-Spam: C - Suspect (5-8)"
dacl whitelist spamd <= 0 addheader "X-MG-Spam: A - No, Safe (<0)"
dacl whitelist spamd <  5 addheader "X-MG-Spam: B - No (0-5)"

Since individual rule matches can't be displayed, it's impossible for
me to implement my autoresponder sanity check, which keyed on a
third-party rule I wrote called NOT_A_PERSON (available in my
khop-lists sa-update channel).

Advice?

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.