[Dovecot] how to create maildir on local mail delivery

Timo Sirainen tss at iki.fi
Sat Jan 23 01:52:07 EET 2010


On 23.1.2010, at 1.45, Sebastian Logar wrote:

> I am using Dovecot 1.0.10 with LDA/postfix option reading user data from
> ldap, but the problem would be nonexistent maildir. Connection with ldap
> should be fine since reading proper maildir folder. Is it possible to
> auto creating maildir folders even on received mail since the you can
> auto create when user login with mail_executable scripts as it's seen
> from configuration I am doing for pop3 and imap. 

Yes.

> Jan 23 00:23:17 dovecot deliver(erikp): Ambiguous mail location setting,
> don't know what to do with it: /nas/5b/7d/5f/erikp/Maildir/ (try
> prefixing it with mbox: or maildir:)

This is your problem. You need to prefix it with "maildir:".

> # 1.0.10: /etc/dovecot/dovecot.conf

v1.0 might not make this easy..

>  userdb:
> 
>    driver: ldap
> 
>    args: /etc/dovecot/dovecot-ldap.conf

What's in your user_attrs?


More information about the dovecot mailing list