> On Jun 12, 2017, at 9:44 PM, Joseph Brennan <bren...@columbia.edu> wrote:
> 
> 
> 
> --On June 8, 2017 at 12:07:43 PM -0400 Robert Kudyba <rkud...@fordham.edu> 
> wrote:
> 
> I would like
>> to block *@*.us but allow the cities and schools that use them so allow
>> examples like @ci.boston.ma.us and corunna.k12.mi.us. I don’t think
>> this can be done with the access.db file in sendmail.
> 
> 
> Sendmail access.db? It's easy:
> 
> From:us                             REJECT
> From:ci.boston.ma.us         OK
> From:corunna.k12.mi.us        OK
> 
> Or name the states:
> 
> From:us               REJECT
> From:ma.us    OK
> From:mi.us    OK

Thanks for the suggestion didn’t realize it worked with the top level domain as 
well as the prefix before the TLD. Does the order matter? Meaning should the:
From:us         REJECT 
come before the “OK” lines?

Also where can I add a rejection for the hostname colocrossing.com when it 
appears in the relay line like this. 
v5CB8tYp022453: ruleset=check_mail,  relay=198-23-201-144-host.colocrossing.com 
[198.23.201.144] (may be forged), 

I tried:
colocrossing.com                REJECT

But that doesn’t seem to work.

Reply via email to