RE: [exim] Will this deny statement work?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dickenson, Steven
Dátum:  
Címzett: Frank DeChellis, exim-users
CC: 
Tárgy: RE: [exim] Will this deny statement work?
Frank DeChellis wrote:
> We use Exim 4.44 . Will this deny statement work in my configuration?
>
> deny   hosts    = +deny_hosts_file


Depends on what you intend deny_hosts_file to be. It should be a
hostlist, defined in the main configuration section like so:

hostlist deny_hosts = host1.com:host2.com:host3.com

You can also define the hostlist as a file like so

hostlist deny_hosts = /etc/exim/badhosts.list

Then you can use the hostlist in your deny statement

deny hosts = +deny_hosts


-S
---
Steven Dickenson <sdickenson@???>
Computer Network Manager
The Key School, Annapolis Maryland