|
GNU Mailutils |
General-Purpose Mail Package |
Official GNU Software |
| GNU Mailutils Manual (split by node): | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
? |
The tcp-wrappers statements provides an alternative way to
control accesses to the resources served by GNU Mailutils. This
statement is enabled if Mailutils is compiled with TCP wrappers
library libwrap.
Access control using TCP wrappers is based on two files, called tables, containing access rules. There are two tables: the allow table, usually stored in file ‘/etc/hosts.allow’, and the deny table, kept in file ‘/etc/hosts.deny’. The rules in each table begin with an identifier called daemon name. Each utility wishing to verify a connection, select the entries having its daemon name from the allow table. A connection is allowed if it matches any of these entries. Otherwise, the utility retrieves all entries with its daemon name from the deny table. If any of these matches the connection, then it is refused. Otherwise, if neither table contains matching entries, the connection is allowed.
Description of a TCP wrapper table format lies outside the scope of this document. Please, see (hosts_access(5))ACCESS CONTROL FILES section `ACCESS CONTROL FILES' in hosts_access(5) man page, for details.
Enable access control using TCP wrappers. It is on by default.
Set daemon name for TCP wrapper lookups. By default, the name of the
utility is used. E.g. imap4d uses ‘imap4d’ as the
daemon name.
Use file as allow table. By default, ‘/etc/hosts.allow’ is used.
Use file as negative table. By default, ‘/etc/hosts.deny’ is used.
Log allowed accesses using syslog priority prio.
Log denied accesses using syslog priority prio.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.