[Dovecot] Maildir woes

Curtis Maloney cmaloney at cardgate.net
Mon Jan 3 13:59:25 EET 2005


RYAN vAN GINNEKEN wrote:

Personally, I've never heard if IMAPdir, so I can't help there. 
However, from what Timo says, if you're using Dovecot 1.0 (the Test 
series) you can _probably_ configure it to work.

I can't see in your original posting which version you are using.

> have noticed that dovecot seems to create direcotories .drafts .trash
> .sent items but my mail from binc is stored in Drafts Sent and Trash is
> there a simple fix for this as i have looked everywhere.
> 

Almost certainly it is your mail client creating these folders, not 
Dovecot.  If you are using multiple mail clients, check to make sure 
they use the same folder names.  I know Thunderbird is totaly 
configurable in this respect.

> 
> have set this in my conf file
> 
> default_mail_env = maildir:/usr/home/%u/IMAPdir

This means mail is delivered to /usr/home/%u/IMAPdir/new
And read mail is moved to /usr/home/%u/IMAPdur/cur

> i also tried this
> default_mail_env = maildir:/usr/home/%u/IMAPdir/

Unlike postfix and others, Dovecot doesn't need the trailing / to 
determing you mean maildir.

> i even tried this
> default_mail_env = maildir:/usr/home/%u/IMAPdir/INBOX
> 

Does that directory exist?  Where is your MDA configured to deliver mail to?

> 
> get this error from my mail client
> 
> The current command did not succeed.  The mail server responded:.
> 
> 
> get this in the logs
> 
> map-login: Dec 30 16:04:06 Info: Login: test [192.168.0.1]
> imap-login: Dec 30 16:04:20 Info: Login: rmvg [192.168.0.1]
> imap-login: Dec 30 16:04:20 Info: Login: maillist [192.168.0.1]
> imap-login: Dec 30 16:04:21 Info: Login: rmvg [192.168.0.1]
> imap-login: Dec 30 16:04:21 Info: Login: test [192.168.0.1]
> imap-login: Dec 30 16:04:21 Info: Login: luck [192.168.0.1]
> imap-login: Dec 30 16:04:21 Info: Login: moshi [192.168.0.1]
> imap(test): Dec 30 16:04:24 Error: mkdir(/usr/home/test/IMAPdir/.Trash)
> failed: No such file or directory

Does that directory exist?  If not, how much of that path exists?
If it does, what are the permissions?

--
Curtis Maloney




More information about the dovecot mailing list