Hi, would it be possible to prevent users who try to login from an unresolved IP from connecting to Dovecot IMAP? I have a suspicion that it should be done via the authentication module (ie PAM) but I am not sure (if this is the case could someone recommend a good resource or even a solution). For example sendmail has a relevant macro to achieve this, I was wondering if Dovecot can have similar behavior. Thanks
On ma, 2010-05-31 at 13:02 +0300, Greg Pearson wrote:> would it be possible to prevent users who try to login from an > unresolved IP from connecting to Dovecot IMAP?Sounds like a bad idea. There are legitimate users sometimes connecting from IPs that don't have DNS names. And sometimes DNS is broken.. But I guess you could do it with tcpwrappers. That requires either Dovecot v2.0 or patching http://dovecot.org/patches/1.2/tcp-wrappers.patch