Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Greylist as opt-in

2005-05-21 by Steven Stern

Steven Stern wrote:
> manu@... wrote:
> 
>>Steven Stern <subscribed-lists@...> wrote:
>>
>>
>>
>>>milter-greylist is run with the -T option.
>>
>>
>>-T is discouraged now, it's only there for backward compatibility.
>> 
>>
>>
>>>Can I run it without -T (i.e., in normal mode) with something like
>>>
>>>acl whitelist rcpt *@...
>>>acl greylist rcpt name@...
>>
>>
>>milter-greylist ACL work on a first-match win basis. So you want to
>>write something like this:
>>
>>acl greylist rcpt name@...
>>acl whitelist rcpt default
>>
>>
> 
> When I tried that without the -T option, it started greylisting all
> incoming mail.
> 

greylist.conf:

#
# Greylisting config file
#
# $Id: greylist.conf,v 1.24 2005/01/29 18:42:53 manu Exp $
#
# Some of your users do not get any spam because
# their addresses have never been collected by
# spammers. They will want to avoid the extra delivery
# delay caused by grey listing. You can filter on the
# recipient enveloppe address to achieve that.
#
#  below are the addresses
#  that are subject to greylisting.

acl greylist rcpt aba@...
acl greylist rcpt abc@...
acl greylist rcpt def@...
acl greylist rcpt ghi@...
acl whitelist rcpt default

running as

/usr/local/bin/milter-greylist -P /var/run/milter-greylist.pid -T -u 
smmsp -p /var/milter-greylist/milter-greylist.sock

-- 

    Steve

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.