-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi @ll, sorry i am new to dovecot so this may asked before
i this in dovecot.conf
protocols = pop3 imap ssl_disable = yes mail_extra_groups = mail valid_chroot_dirs = /usr/local/virtual/ default_mail_env = maildir:/usr/local/virtual/%d/%n disable_plaintext_auth = no protocol lda { postmaster_address = postmaster@test.de } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } auth default_with_listener { mechanisms = plain userdb sql { args = /etc/dovecot/dovecot-sql.conf } passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb prefetch { } socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail group = mail } } } plugin { quota = dirsize:/usr/local/virtual/%d/%n convert_mail = maildir:/usr/local/virtual/%d/%n }
this in
dovecot-sql.conf
driver = mysql connect = dbname=postfix user=postfixadmin host=localhost password= default_pass_scheme = PLAIN password_query = SELECT password FROM mailbox WHERE username = '%u' user_query = SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username = '%u'
the result for maildir is like test.de/robert/
in postfix master.cf # Dovecot LDA dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
in main.cf dovecot_destination_recipient_limit = 1 virtual_transport = dovecot
this all works nice but at the final deliver the mail cant get to the maildir with Sep 21 14:00:54 testserv deliver(robert@test.de): userdb(robert@test.de) didn't return a home directory
it seems that the correct maildir path isnt reportet to deliver , cause either i need another query, or deliver must have a default path
the setup works nice if i switch virtual_transport = virtual in main.cf ( cause i have the postfix vda patch ) sombody know this problem , and can help me out?
dovecot version is 1.0.rc7
Mit freundlichen Gruessen Best Regards Robert Schetterer
robert_at_schetterer_dot_org Munich / Bavaria / Germany https://www.schetterer.org https://www.schetterer.com/public-gpg-robert-schetterer.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32)
iD8DBQFFEoFjNxddAhXBw7QRAkYyAJ0SmcNhQez7zLI2ncvfKjT6/8VGVACfSYbQ 5Y+ZM2DmjrVFnpRNvGu30Zo= =+UuD -----END PGP SIGNATURE-----
-- Diese Nachricht wurde auf Viren und andere gefährliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber.