Re: [exim] block sub domains and ip ranges ?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Graeme Fowler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] block sub domains and ip ranges ?
On Wed, 2008-03-26 at 11:03 +0200, Gregory Machin wrote:
> ok so if I understand the info on the link the following should work


Nope.

You need to define the list at the start of the config like so:

domainlist domains_we_reject = *.foo.com : *.bar.com : \
*.other.com :\
*.someotherdomain.net

Then in your MAIL ACL:

  deny sender_domains = +domains_we_reject
       message        = You are in my list of banned sender domains.


[untested]

Graeme