|
|
Question : Host.Allow, Host.Deny
|
|
I want to refuse a whole set of IP from all services except sending email to us. eg. IP 89. In the host.allow file : sendmail: 89.
In the host.deny file: ALL: 89.
Is this correct ?
|
Answer : Host.Allow, Host.Deny
|
|
But will the ALL override the sendmail. Do you mean that when it saw sendmail in host.allow with the IP, then it will not check host.deny
Yes(it check and reject the 2nd occurrence.)
And I should use "sendmail" and not "email" or something like that ?
You should use a service name
FYR http://www.softpanorama.org/Net/xinetd_and_tcp_wrappers.shtml
|
|
|
|