[Dovecot] disabling mail delivery for a user
Timo Sirainen
tss at iki.fi
Tue Feb 2 18:56:31 EET 2010
On Tue, 2010-02-02 at 11:41 -0500, Frank Cusack wrote:
> On February 2, 2010 1:29:24 PM +0200 Timo Sirainen <tss at iki.fi> wrote:
> > Logins would fail with "internal login failure". userdb lookup must
> > succeed for imap/pop3 logins too. You could make the deny=yes happen only
> > if %s != 'lda'.
>
> A little more help? I've been looking at the docs and can't figure out
> how to do this. I do have one constraint: my userdb/passdb is a
> passwd-file.
You could do:
passdb passwd-file {
args = /etc/deny.%s
deny = yes
}
Then symlink /etc/deny.imap, deny.pop3, etc. to your primary deny file.
-------------- 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/615e68f0/attachment.bin
More information about the dovecot
mailing list