[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    Re: version 3.4.1 with block TLD
From:       Robert Kudyba <rkudyba () fordham ! edu>
Date:       2017-06-13 14:55:57
Message-ID: 5D4B00A8-F892-4889-9E16-97ED6C4DD322 () fordham ! edu
[Download RAW message or body]


> On Jun 12, 2017, at 9:44 PM, Joseph Brennan <brennan@columbia.edu> wrote:
> 
> 
> 
> --On June 8, 2017 at 12:07:43 PM -0400 Robert Kudyba <rkudyba@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.=


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic