Re: [exim] Exim ACL to Limit Incoming Server Sources

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Miller
Date:  
À: exim-users
Sujet: Re: [exim] Exim ACL to Limit Incoming Server Sources
That is true, there will be messages from localhost that should be
accepted. How can I allow it from localhost, but have the rule applied
to remote hosts?

What is the diff between defer and deny? I can't seem to find that in
the docs anywhere...

Also, is there somewhere where I can read about these mysterious keys in
ACL (i.e. -- message, domains, hosts, defer, deny, etc. etc.)? I was
reading in chapter 7 of the Exim documentation, but it just seems to
show examples and not provide all available options.

Thanks,

Chris Miller
ServerMotion
www.servermotion.com


Jakob Hirsch wrote:
| Quoting Chris Miller:

|
|> In other words, if the user's domain is listed in +filtered_domains,
|> only accept it from +filtering_servers, otherwise process normally.

|
| in acl_check_rcpt:

|
| defer
| message = use the proper MX
| domains = +filtered_domains
| hosts = +filtering_servers

|
| use deny instead of defer if you like it harder. If the server is not
| listed as MX for +filtered_domains at all, deny is ok, I think.

|
| You should also think if there are other legit senders, e.g. 127.0.0.1
| or other MTAs or MUAs which you are smarthost for. If they use SMTP
| AUTH, you should insert "! authenticated = *".

|
|
|
|