[Dovecot] 1.0alpha2: how to reject specific users?

Marco De Benedetto debe at galliera.it
Thu Sep 15 19:24:34 EEST 2005


On gio 15 set, Jeff A. Earickson wrote:
> Hi,
>    In Qualcomm's qpopper, you can specify a list of users
> to reject at authentication, even if they are otherwise
> valid, by putting them in a file (/etc/pop.nonauth).  I
> use this to occasionally ban users who bang on the system
> needlessly until they Get a Clue.  I looked thru the 
> wiki.dovecot.org/Authentication pages and didn't see anything
> like this feature.  Does it exist in 1.0?

I have tried this:

/etc/dovecot.conf:
	auth default {
	  mechanisms = plain

	  userdb passwd-file {
	    args = /etc/dovecot-noauth
	  }
	  
	  # Other auth methods
	  ...

/etc/dovecot-noauth:
	luser1:*:42:42:luser1,,,:/dev/null:/bin/false
	luser2:*:42:42:luser2,,,:/dev/null:/bin/false

IWFM.

-- 
ciao,
debe


More information about the dovecot mailing list