[Dovecot] disabling mail delivery for a user

Timo Sirainen tss at iki.fi
Tue Feb 2 22:54:10 EET 2010


On Tue, 2010-02-02 at 15:45 -0500, Frank Cusack wrote:
> On February 2, 2010 6:56:31 PM +0200 Timo Sirainen <tss at iki.fi> wrote:
> > passdb passwd-file {
> >   args = /etc/deny.%s
> >   deny = yes
> > }
> 
> This didn't work for me as I expected.  Not only did I have to put the
> user in the deny passdb, I ALSO had to remove them from the regular passdb.

Why? What does it log if you set auth_debug=yes? If you remove it from
regular passdb I don't see what the point of the deny passdb would even
be..

> So it seems lda just ignores the deny passdb, that is it doesn't consult
> it at all, as opposed to imap which does consult it.

Oh, right. LDA only looks up userdb.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100202/393e63b6/attachment.bin 


More information about the dovecot mailing list