From: Lloyd Zusman (no email)
Date: Tue Apr 10 2007 - 19:59:55 EDT
I'm using postfix 2.3.7.
I know how to use smtpd_restriction_classes to cause a policy service
to only be run for a small group of recipients. However, I'm trying
to perform the inverse operation, but I can't figure out how to do it.
Specifically, I want to run a greylisting policy service for most email
that arrives at my server. However, for a specific recipient, I want to
bypass the greylisting service completely.
In the following example, assume that I want to not
have any mail sent to him to be greylisted, but everyone else (dozens of
users) should indeed have their incoming emails processed through the
greylisting service. I'm stuck at what to put into the "greylist-control"
file:
in main.cf
==========
smtpd_restriction_classes = greylist_policy
greylist_policy = check_policy_service unix:private/mygreylister
smtpd_recipient_restrictions =
...
check_recipient_access hash:/etc/postfix/greylist-control
in greylist-control
===================
???WHAT-TO-DO???
???EVERYONE-ELSE??? greylist_policy
I'm thinking that I must be missing something obvious here.
Thanks in advance for any pointers to docs that you might be able to
suggest.
-- Lloyd Zusman God bless you.
|
|
|