Postfix/Dovecot/Procmail/Maildir

Les Mikesell les at futuresource.com
Tue Jan 4 23:03:18 UTC 2005


On Tue, 2005-01-04 at 16:45, Bryan O'Sullivan wrote:
> On Tue, 2005-01-04 at 15:02 -0700, Kevin Fries wrote:
> 
> > What I want is to configure this by the system, not user by user.
> 
> All you need to do is add this to your /etc/procmailrc:
> 
> MAILDIR=$HOME/Maildir
> DEFAULT=$MAILDIR/
> 
> I know this works because I've been using postfix, dovecot and procmail
> together on an FC2 "out of the box" system for a long time.

And don't forget that you have to pre-create a /home/Maildir directory,
writable by the user.  That doesn't happen automatically (procmail
will add the new/cur/tmp subdirs, though).

Has anyone come up with a way to make an IMAP server automatically
move messages from mbox to Maildir as you connect?  I'd like to
deliver to /var/spool/mail in standard mbox format and let pop
users download directly from there, but if someone is using IMAP,
move to $HOME/Maildir/ and pretend they were delivered that way.
Of course a .procmailrc can force it per-user but I'd rather not
need to know ahead of time or teach people how to do it.

---
  Les Mikesell
   les at futuresource.com





More information about the fedora-list mailing list