kepa:

I would like use Dovecot with tcpwrappers enabled to control remote access using hosts.deny and hosts.allow.

I followed http://wiki2.dovecot.org/LoginProcess#TCP_wrappers_support
and "man 5 hosts.deny"

- to allow all clients and deny a specific address

  /etc/hosts.deny
  imap: 192.0.2.143

- to deny all clients and allow a specific address

  /etc/hosts.deny
  imap: *

  /etc/hosts.allow
  imap: 192.0.2.143

Andreas

Reply via email to