Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] config at user level?

2005-03-29 by Emmanuel Dreyfus

On Tue, Mar 29, 2005 at 07:09:53AM -0800, H Li wrote:
> I am using v1.6 in fc3 linux.  It is working normally.
> My question is: is there any way to config the
> greylist at user's level, even partially?  Some users
> ask me to put some domains in whitelist.  However, I
> feel that it may not be good to whitelist these
> domains to all users.  How to whitelist some specific
> domains or some email-senders to some of my users, but
> not to other users?

Upgrade to 2.0beta4 and enjoy the power of ACL configuration 
that was contributed by Remy Card.

You can write tricky configs like this:
acl whitelist rcpt user1@... domain maybespam.net
acl whitelist rcpt user1@... from user1-grandma@...
acl greylist rcpt user1@...
acl greylist rcpt user2@...
acl whitelist default

The rules:
- A line matches if all the conditions are met
- The first match wins

So here this config enable greylisting only for recipient user1@...
and user2@..., but user1@... whitelisted mail coming from
domain maybespam.net and from address user1-grandma@....

Don't forget domain is the resolved DNS address of the sender IP address, 
not the domain of the sender e-mail address.

-- 
Emmanuel Dreyfus
manu@...

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.