hello is there a way to forbid SOME ( not all ) users's login with dovecot 2 ? I need to move their IMAP folders to another place with more disk space but I don't want to stop dovecot IMAP service for the other users as the moving process will be a bit long ( 1 Tb to move ) thanks
Den 01. feb. 2012 06:55, skrev Frank Bonnet:> hello > > is there a way to forbid SOME ( not all ) users's login with dovecot 2 ? > I need to move their IMAP folders to another place with more > disk space but I don't want to stop dovecot IMAP service for > the other users as the moving process will be a bit long ( 1 Tb to move ) > > > thanks > > >This has been covered before, but if you are using SQL for auth-lookups then you can have something like this ins your query; ... AND active='y' Arne -- Arne K. Haaje - Dr Linux http://www.drlinux.no/ ::: arne at drlinux.no LinkedIn: http://no.linkedin.com/pub/arne-haaje/27/189/bb
El 01/02/12 06:55, Frank Bonnet escribi?:> hello > > is there a way to forbid SOME ( not all ) users's login with dovecot 2 ? > I need to move their IMAP folders to another place with more > disk space but I don't want to stop dovecot IMAP service for > the other users as the moving process will be a bit long ( 1 Tb to move ) > > > thanksTake a look to conf.d/auth-deny.conf.ext You can setup a new passdb (a passwd-file can do it) with deny = yes, and add/remove users to that passwd-file as needed.
On 2012-01-31 9:55 PM, Frank Bonnet wrote:> hello > > is there a way to forbid SOME ( not all ) users's login with dovecot 2 ? > I need to move their IMAP folders to another place with more > disk space but I don't want to stop dovecot IMAP service for > the other users as the moving process will be a bit long ( 1 Tb to move ) > > > thanks >http://wiki2.dovecot.org/PasswordDatabase/ExtraFields see nologin -Greg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20120201/bc753aef/attachment-0004.bin>