[Dovecot] When dovecot delivery, nested maildir (<user>/maildir/maildir) is "auto"created
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Fri Mar 8 10:44:35 EET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 7 Mar 2013, Nunzio Falcone wrote:
> and execute the following telnet session
> [root at posta ~]# telnet localhost 25
> Trying 127.0.0.1...
> 220 posta.domain.local ESMTP Postfix
> rcpt to:utente2
> 250 2.1.5 Ok
>
> note the use of login (only "utente2)
>
> this is the debug session
> Mar 07 23:06:15 auth: Debug: master in: USER 1 utente2/maildir/@domain.local service=lda
> Mar 07 23:06:15 auth: Debug: master out: USER 1 utente2/maildir/ uid=500 gid=500 home=/var/vmail/utente2/maildir/
Hmm, utente2 became utente2/maildir/@domain.local again.
I have no experience with postfix, so I would first make sure, postfix
passes the correct values to the Dovecot LDA, by:
create wrapper script:
===== START
#!/bin/bash
( date
echo arguments "$@"
id
/usr/libexec/dovecot/deliver "$@"
rc=$?
echo rc=$rc
exit $rc
) >> /tmp/dovecot-lda-wrapper.$$.log 2>&1
==== END
/etc/postfix/master.cf (relevant)
# Dovecot LDA
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/path/to/wrapper -f ${sender} -d ${recipient}
see changed argv= argument.
Then check the created log files in /tmp, if the argument of "-d" does or
does not contain the "/maildir/" part.
If it does, you will have to check your postfix installation, when the
recipient string gets changed. Maybe your postfix was configured to
deliver to Maildirs directly before and therefore at some point the
"/maildir/" is added.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUTmk9F3r2wJMiz2NAQLpWwgAsg6f+nIjmOmeBsfK9kAwUhkAgOO7HtKu
jmiaqY5DxDo9GRp+8X62y3kBGvVtrKCbJcoRqW4wlBwYvJaBbZqAZU2NS0q3QVV0
Dz63/DjSQsj+eQcMWnuX2Ci0D9JlC/UDA8FD+c2Os86LwIz0zBGET2sdqkUHqYxv
wm6YwK7CBRzlmF98hRHMcj3bnZSpXWDx8+1nygoylUdwzV4rwcflWJ67jnGTs58+
RJfsiVnAzdlWzrwEjwlswOClM5mmRlwU5MVHfOczZMO9Z/XmHXxrISCx9pFKrwjT
+X++0MDEerEqLuc+S8vrobe8XeTlvHzWmdpqd6F6RiEncGuy/21IRg==
=y3pK
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list