[Dovecot] Maildir woes

RYAN vAN GINNEKEN maillist at computerking.ca
Tue Jan 4 05:01:38 EET 2005


Curtis Maloney wrote:

> 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.

I am using the stable version dovecot-0.99.12.1 hate to switch as 
version 1 is not in the ports collection of freebsd.

>
>
>> 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.

hmmmm why would it create these only after i installed dovecot?  as 
before with bincIMAP these forlders were not created

>
>>
>> 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
>
No mail is delivered to maildir:/usr/home/%u/IMAPdir/INBOX  see below 
and subseqently the new and cur forlders that you mentioin above. 
However there are new and cur dirs in the IMAPdir as well.  I do not 
care and can switch where the mail goes as long as my email clients can 
figure out where it is and find the other existing folders and emals 
too. (i use mostly mozilla)

here is the setting in my POSTFIX main.cf although i think that procmail 
is delivering most of my clients mail these days have included that 
setting too.

POSTFIX
home_mailbox = IMAPdir/INBOX/

PROCMAIL
MAILDIR=$HOME/IMAPdir
DEFAULT=$MAILDIR/INBOX/

>> 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
>
So this is the correct setting then for dovecot right??
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?

No test does not exist anymore but the account exists in my email client 
still.

> -- 
> Curtis Maloney
>




More information about the dovecot mailing list