26 Aug
2011
26 Aug
'11
7:28 p.m.
On 26.8.2011, at 18.27, Allan Cassaro wrote:
If you substitute (create a wrap to) the "imap-login" binary with an script? The script can create a "fail attempt/ip" file into home dir and return ok or not to dovecot main process based on this information.
imap-login is typically chrooted and running with nonprivileged account that can't access user's home dir. I guess you could change those, but wrapping imap-login won't help because you don't know the username at that point..
Either auth or anvil process could do something like this.