On Sat, 2004-02-07 at 21:50, Volker Sauer wrote:
> I'v seen there's an option in postfix to make it use Maildir:
> 
> # DELIVERY TO MAILBOX
> #
> # The home_mailbox parameter specifies the optional pathname of a
> # mailbox file relative to a user's home directory. The default
> # mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
> # "Maildir/" for qmail-style delivery (the / is required).
> #
> #home_mailbox = Mailbox
> #home_mailbox = Maildir/
> 
> Do I understand it right and I just set home_Mailbox=Maildir/ and 
> postfix will deliver to ~/Maildir in Maildir-format!? (Is it really tjat 
> easy!?)

Yes, it really is that easy. I currently run bincimap on three servers.
Two of them also run Courier-IMAP as a backup on a different IP address.
I use the IMAPdir mail folder structure and have the following in
main.cf,

home_mailbox = .maildir/

This delivers all incoming mail to .maildir/ in each user's home
directory. This works just great for me. I also use,

mailbox_command = /usr/bin/procmail -t

To put mail through procmail filters on one of my mail servers. I then
set the following up in each users home directory and /etc/skel,

cd ~user
mkdir .mail
cd .mail
ln -s ../.maildir INBOX
cd ..
chown -R user.users .mail*

Works great for me. You can also use 'maildirmake .maildir' to make the
initial maildir folder, and the perl scripts available to convert mbox
files as I did. I initially migrated from sendmail to postfix and
Courier-IMAP. I was dissatisfied with Courier's handling of folder names
when I found binc. Been using it ever since - I am thinking of removing
Courier-IMAP altogether.

There are even ebuilds for Gentoo for it now too.

I hope this is of some help to you.

Marcus

Reply via email to