[Dovecot] saving to imap folders and namespace settings
hello everyone, i'm new to this list im running dovecot as imap+pop (2.1.12) and roundcube (0.8.4) as client.
having problems on saving to imap folders, with errors on some accounts
my folder structure is as follow:
/home/user/.maildir /home/user/.maildir/.Drafts /home/user/.maildir/.Junk /home/user/.maildir/.Sent /home/user/.maildir/.Trash /home/user/.maildir/.Archives /home/user/.maildir/.Archives.2010 ...
i'm very confused with the namespace settings. i don't understand what is the correct way to configure it. don't need public or shared folders.
on dovecot.log i can see this error with my account (and all the others), but it seems to work ok using roundcube: imap(gsansone): Error: autocreate: No namespace found for mailbox: Junk
with a few accounts, i have this on roundcube log: IMAP Error: Could not save message in Drafts in /var/www/localhost/htdocs/mail/program/steps/mail/sendmail.inc with error on saving to imap folder in roundcube UI
send you attached the output of 'dovecot -n' and the roundcube configuration related to folders.
does anyone have any suggestion?
thanks in advance.
-- G. Sansone
On Tue, 2013-01-29 at 16:29 -0200, Gustavo Sansone wrote:
hello everyone, i'm new to this list im running dovecot as imap+pop (2.1.12) and roundcube (0.8.4) as client.
having problems on saving to imap folders, with errors on some accounts
my folder structure is as follow:
/home/user/.maildir /home/user/.maildir/.Drafts /home/user/.maildir/.Junk /home/user/.maildir/.Sent /home/user/.maildir/.Trash /home/user/.maildir/.Archives /home/user/.maildir/.Archives.2010 ...
i'm very confused with the namespace settings. i don't understand what is the correct way to configure it. don't need public or shared folders.
Easiest to use the default namespace settings. There you wouldn't have any namespace prefix.
on dovecot.log i can see this error with my account (and all the others), but it seems to work ok using roundcube: imap(gsansone): Error: autocreate: No namespace found for mailbox: Junk
In your current setup you have namespace prefix=INBOX. so the mailbox name would be INBOX.Junk.
with a few accounts, i have this on roundcube log: IMAP Error: Could not save message in Drafts in /var/www/localhost/htdocs/mail/program/steps/mail/sendmail.inc with error on saving to imap folder in roundcube UI
Roundcube also isn't configured to have INBOX. prefix. Sounds like you should just remove it.
El 2013-02-05 0:09, Timo Sirainen escribió:
On Tue, 2013-01-29 at 16:29 -0200, Gustavo Sansone wrote:
hello everyone, i'm new to this list im running dovecot as imap+pop (2.1.12) and roundcube (0.8.4) as client.
having problems on saving to imap folders, with errors on some accounts
my folder structure is as follow:
/home/user/.maildir /home/user/.maildir/.Drafts /home/user/.maildir/.Junk /home/user/.maildir/.Sent /home/user/.maildir/.Trash /home/user/.maildir/.Archives /home/user/.maildir/.Archives.2010 ...
i'm very confused with the namespace settings. i don't understand what is the correct way to configure it. don't need public or shared folders.
Easiest to use the default namespace settings. There you wouldn't have any namespace prefix.
if i just remove the namespace 'INBOX.' , on 10-mail.conf then there is something that creates new Send and Draft folders into my maildir folder like this INBOX.Send and INBOX.Drafts. and Roundcube shows me these new folders under INBOX (screenshot attached). can't figure out why it happens.
on dovecot.log i can see this error with my account (and all the others), but it seems to work ok using roundcube: imap(gsansone): Error: autocreate: No namespace found for mailbox: Junk
In your current setup you have namespace prefix=INBOX. so the mailbox name would be INBOX.Junk.
with a few accounts, i have this on roundcube log: IMAP Error: Could not save message in Drafts in /var/www/localhost/htdocs/mail/program/steps/mail/sendmail.inc with error on saving to imap folder in roundcube UI
Roundcube also isn't configured to have INBOX. prefix. Sounds like you should just remove it.
El 2013-02-05 12:10, Gustavo Sansone escribió:
El 2013-02-05 0:09, Timo Sirainen escribió:
On Tue, 2013-01-29 at 16:29 -0200, Gustavo Sansone wrote:
hello everyone, i'm new to this list im running dovecot as imap+pop (2.1.12) and roundcube (0.8.4) as client.
having problems on saving to imap folders, with errors on some accounts
my folder structure is as follow:
/home/user/.maildir /home/user/.maildir/.Drafts /home/user/.maildir/.Junk /home/user/.maildir/.Sent /home/user/.maildir/.Trash /home/user/.maildir/.Archives /home/user/.maildir/.Archives.2010 ...
i'm very confused with the namespace settings. i don't understand what is the correct way to configure it. don't need public or shared folders.
Easiest to use the default namespace settings. There you wouldn't have any namespace prefix.
if i just remove the namespace 'INBOX.' , on 10-mail.conf then there is something that creates new Send and Draft folders into my maildir folder like this INBOX.Send and INBOX.Drafts. and Roundcube shows me these new folders under INBOX (screenshot attached). can't figure out why it happens.
sorry, forgot to mention that when INBOX.Send and INBOX.Drafts are created, Roundcube subscribe to these folders as special folders. the screenshot was taken after i added INBOX. prefix again to 10-mail.conf
another important thing (i guess), is when installed dovecot, i migrated from Courier following the wiki2 documentation.
on dovecot.log i can see this error with my account (and all the others), but it seems to work ok using roundcube: imap(gsansone): Error: autocreate: No namespace found for mailbox: Junk
In your current setup you have namespace prefix=INBOX. so the mailbox name would be INBOX.Junk.
with a few accounts, i have this on roundcube log: IMAP Error: Could not save message in Drafts in /var/www/localhost/htdocs/mail/program/steps/mail/sendmail.inc with error on saving to imap folder in roundcube UI
Roundcube also isn't configured to have INBOX. prefix. Sounds like you should just remove it.
On 5.2.2013, at 16.10, Gustavo Sansone <gsansone@eumus.edu.uy> wrote:
i'm very confused with the namespace settings. i don't understand what is the correct way to configure it. don't need public or shared folders.
Easiest to use the default namespace settings. There you wouldn't have any namespace prefix.
if i just remove the namespace 'INBOX.' , on 10-mail.conf then there is something that creates new Send and Draft folders into my maildir folder like this INBOX.Send and INBOX.Drafts. and Roundcube shows me these new folders under INBOX (screenshot attached). can't figure out why it happens.
Because different clients you're using have been configured to use different namespace settings. This is unfortunately how IMAP protocol still works. From Dovecot's side either set the prefix to INBOX. or to empty, and from all of the clients' sides make sure they use the matching configuration.
participants (2)
-
Gustavo Sansone
-
Timo Sirainen