Bluehost.com Web Hosting $6.95

Re: "Local whitelist" for the next restriction possible?

This is a discussion on Re: "Local whitelist" for the next restriction possible? within the mailing.postfix.users forums, part of the Mail Servers and Related category; Michael Tokarev: > For quite some time now I'm thinking about a > sort of "local whitelist" ...


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-15-2004
Wietse Venema
 
Posts: n/a
Default Re: "Local whitelist" for the next restriction possible?

Michael Tokarev:
> For quite some time now I'm thinking about a
> sort of "local whitelist" for a given reject_mumble
> restriction. Ie, sometimes, a rule catches a good
> amount of spam but catches some legitimate hosts
> at the same time. So, I want to do something like:
>
> reject_rbl_client bl.example.com but not if
> client is a.b.c.d or c.d.e.f.


Assuming this is hostname based:

/etc/postfix/main.cf:
check_client_access regexp:/etc/postfix/bl.example.com

/etc/postfix/bl.example.com
/^a\.b\.c\.d$/ DUNNO
/^c\.d\.e\.f$/ DUNNO
/[a-z]/ reject_rbl_client bl.example.com

But it would be more robust if there were more control over the
order of hostname or network address lookup (or to introduce
check_client_address_access and check_client_hostname_access).

Of course, the proper solution for conditional processing is to
have a language with explicit conditional operators and expression
grouping.

Wietse
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 10:48 AM.


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