Re: Combining access map checks

This is a discussion on Re: Combining access map checks within the mailing.postfix.users forums, part of the Mail Servers and Related category; At 12:57 PM 6/8/2005, Jeff Rice wrote: >Hi, >I am trying to figure out how ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2005
Noel Jones
 
Posts: n/a
Default Re: Combining access map checks

At 12:57 PM 6/8/2005, Jeff Rice wrote:
>Hi,
>I am trying to figure out how to get a number of my policies to work in
>the right way, while being able to properly exempt clients from certain
>(but not all!) UCE checks. I am not sure if this is possible.
>
>I use RBLs and greylisting, and have a number of accounts and remote
>clients that I want to exempt from one or the other.
>
>smtpd_recipient_restrictions =
> <SNIP>
> check_client_access pcre:/etc/postfix/server_greylist_optouts.pcre,
> check_recipient_access hash:/etc/postfix/account_greylist_prefs,
> check_client_access pcre:/etc/postfix/client_whitelist.pcre,
> check_recipient_access hash:/etc/postfix/account_rbl_prefs,
> permit
>
>...
>Now what I hope to do is have RBL checks before greylisting, but exempt
>the clients in client_whitelist.pcre RBL checks only, not from everything
>else that follows. If I move client_whitelist and account_rbl_prefs up in
>the list, they will get done before greylists -- but the clients in
>client_whitelist.pcre, by nature of the OK, won't go through the
>greylisting policy.


This is a good example of when to not put all your restrictions under
smtpd_recipient_restrictions.
Put the RBL checks (and the rbl client_whitelist, of course) under
smtpd_sender_restrictions.
Leave the rest where they are.

--
Noel Jones

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0