Blacklist all + allow some?

Matt Kettler mkettler at evi-inc.com
Fri May 30 22:40:16 IST 2008


Whooops...

Ignore that post, I thought I was on a different list, where the syntax is 
completely different!!


Matt Kettler wrote:
> Rich West wrote:
>> This is a pretty basic question, but we have a couple of users (interns)
>> that we need to disallow all incoming email except for a select few. 
>> So, the idea was to blacklist all incoming email and whitelist the few
>> allowed inbound email addresses.
>>
>> How does one go about blacklisting *everything*? 
> 
> At the end of your config:
> 
> racl blacklist default
> 
> ("default" is really just a keyword meaning "match everything that 
> hasn't been matched by a previous rul")
> 
>> Actually.. what's the
>> right syntax for the blacklist?  *?
> 
> racl blacklist <insert any recipient-time criteria here>
> 
> dacl blacklist <insert any data-phase critera here. ie: header, body or 
> datasize criteria>
> 
> 
> In general all the ACLs are of the same basic syntax:
> 
> racl <action> <criteria>
> 
> such as
> 
> racl whitelist rcpt me at example.com
> racl blacklist from you at example.com
> racl greylist addr 10.0.0.0/8
> 
> And the ACLs are applied in-order and the first to match takes effect.
> 
> see also:
> 
> man greylist.conf
> 
> 
> 
> 
> 
> 
> 



More information about the MailScanner mailing list