Lars Skovgaard wrote:
Hi
I've been trying to figure out how to make dovecot read the system standard /var/mail/user, which is in mbox-format, while at the same time using Maildir as the preferred method of storage. When in Maildir-mode, I can store mail on the server without a hitch, but I don't receive mails. When in mbox-format, I can read and write, but the risk of corrupting mails is to high for me to consider mbox as an option.
I would appreciate to hear from anyone who has a possible solution to this.
I use procmail to do this with this at the top of my .procmailrc file:
MAILDIR=$HOME/Maildir/ ORGMAIL=$HOME/Maildir/ DEFAULT=$HOME/Maildir/
so it dumps all mail into my Maildir. So I have an empty /var/mail/user file.
Best, Blair
-- Blair Zajac <blair@orcaware.com> Plots of your system's performance - http://www.orcaware.com/orca/