[Dovecot] Newbie question: How to make dovecot read /var/mail/user while using Maildir
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.
Info about my system:
MacOSX 10.2 Jaguar Apache 2.0.47 running Squirrelmail 1.4.2 PHP 4.3.2 Sendmail 8.12.9 Procmail v3.21
/Lars
Lars Skovgaard wrote:
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.
Use something like safecat[1] to feed your Maildir inbox. You can run safecat from sendmail directly or via the .forward file. That's how I do it.
Sven
[1] http://budney.homeunix.net:8080/users/budney/linux/software/safecat.html
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/
participants (3)
-
Blair Zajac
-
Lars Skovgaard
-
Sven Kirmess