15 Oct
2006
15 Oct
'06
10:51 p.m.
On Thu, 2006-08-24 at 17:18 +0100, Rui Lopes wrote:
Odhiambo WASHINGTON wrote:
It would be great to have a HOWTO in the wiki, on how to restrict services by username in dovecot, so some users are allowed IMAP and others not allowed.
As concerns restricting users by IP, I believe that is a bad idea. It's almost a useless idea, imnsho, because they can connect from another IP. It's easy to restrict services by IP using a firewall or by using inetd.
That can be done, at least, with a SQL passwd db, see:
Yea, and actually it can also be done with passwd-file. Updated the wiki page to contain this:
passdb passwd-file {
args = /etc/dovecot/deny.%Ls
deny = yes
}