On Sun, 05 Oct 2008 18:59:10 +0300 Timo Sirainen tss@iki.fi wrote:
If you don't set auth_debug=yes (and auth_verbose=yes? I'm not sure), you won't see any error messages when real users log in.
Would you believe that when I switch the order of the
real/virtual users authentication configuration, the real users do not receive email anymore? I mean, the mail is in the mailbox, but dovecot returns 0 new messages. So I have to keep the real users checking first, before virtual users, otherwise it won't work for real users.
Strange, isn't?
########### real
userdb passwd { }
passdb pam { }
############ virtual
userdb static { args = uid=17 gid=17 home=/var/spool/virtual/%d/.home/%n mail=mbox:/var/spool/virtual/%d/home/%n:INBOX=/var/spool/virtual/%d/%n }
passdb passwd-file {
args = username_format=%n /etc/virtual/%d/passwd
}
***
The above works, but the opposite, no.
--