[Dovecot] username and password can't be verified

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Aug 21 16:33:22 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Aug 2013, Eric Kom wrote:

> Aug 20 16:25:47 ajk dovecot: imap(erickom): Debug: Namespace : 
> /var/mail//erickom/Maildir doesn't exist yet, using default permissions
> Aug 20 16:25:47 ajk dovecot: imap(erickom): Debug: Namespace : Using 
> permissions from /var/mail//erickom/Maildir: mode=0700 gid=default
> Aug 20 16:25:47 ajk dovecot: imap(erickom): Error: user erickom: 
> Initialization failed: Namespace '': mkdir(/var/mail//erickom/Maildir) 
> failed: Not a directory

> The problem should be the maildir.
>
> This is the current maildir path for erickom:
> erickom at ajk:~$ ls -al /var/mail/metropolitan.org.za/erickom/Maildir/
> total 20

well, your system users do not have no domain, %d is empty therefore. 
Therefore, the mkdir(/var/mail//erickom/Maildir) contains the two // . 
Actually, I'm not sure whether you can keep a domain (%d), but auth to an 
userdb, that does not support domains. Well, you could return a domain 
with extra fields.

But: erickom at example.com, erickom at nowhere.org, and
erickom at metropolitan.org.za would be authentificate successfully
to the system user erickom, but all three users would have another 
mail_location because of the %n.

Do you actually need to support the domain %d part in mail_location?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUhTBol3r2wJMiz2NAQLehwf/UchNn9qz7k4TT1+dICipPxBJnOuqMGW/
lkhD4aBiPSUiQA8IL5juM0FvdH5IVcflqxYp6kO1KEaWgimMKFSsAGcDw5KkpbFp
Gmu+dVkTHTawVb1Wt9FC8TVYCj820QAWrg9eeLLRS51FdflQ97uEjHcNkTRuhQYs
nzS2Zodv7qiPsyRT3aW+hftnEu5sPop27yg6/jrOURliLlSTiSRLfXVZQGEXJJwM
2aRNBf78wXyShF30WQd6nm7BNr53piIZz38dWQDj6S60HSaG5JKvzkawi5AiM/49
twADoj0eFKChyKPmSaLxVeo1EYKcUx7sP0K/p3HrDAktoF+X2ZuefA==
=9A8n
-----END PGP SIGNATURE-----


More information about the dovecot mailing list