(Dovecot) Mail folders

Hello,

I am not able to create folders for the mail users i have created;

I am using Dovecot + Postfix & Roundcube mail as mail-client.

No folders are shown in the special folders to select from; & when i delete an email from round cube it says "Server Error: UID COPY: Unknown namespace."

Any help would be greatly appreciated.

Thanks!

1 Reply

Are you using system user accounts for mail or database backend for mail?

I can't help with the latter, but for the former -

make sure postfix is set up for Maildir -

In your postfix main.cf make sure you have

home_mailbox = Maildir/

Make sure all your users have a ~/Maildir directory that they own.

I add the directory to /etc/skel so that it is created whenever I add a new user.

You may need a .procmailrc file in every home directory containing the following:

PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/.procmail_log

:0fw: $HOME/.spamassassin.lock
| /usr/bin/spamc

:0:
* ^X-Spam-Flag.*YES
.Spam/

I'm not positive about that, I just always have that (and put it in /etc/skel as well) and honestly don't remember if you need it for successful delivery into use Maildir accounts or not. I assume you are using procmail as part of the equation?

The spamassassin rule is optional of course.

Anyway, without knowing more about your mail system it is hard to know what might be amiss.

Are there errors in /var/log/maillog that may be revealing?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct