procmail
[Top] [All Lists]

Re: Maildir format and procmail

2001-11-06 11:48:07

Thanks for your feedback, Nancy.

On Tue, Nov 06, 2001 at 12:34:27PM +0000, Nancy McGough wrote:

On 5 Nov 2001 Paul Chvostek (paul(_at_)it(_dot_)ca) wrote:
Can anyone point me to a quick how-to on setup of maildirs with procmail?

I discuss this in my Procmail Quick Start, which is here

 <http://www.ii.com/internet/robots/procmail/qs/>

The info on mailbox formats is useful, but you don't make any mention
of my setup, which uses sendmail and FEATURE(local_procmail).  I got
things working with "DEFAULT=$HOME/Maildir/" in my /etc/procmailrc,
I'm assuming the other examples I gave will also work, since both $HOME
and $LOGNAME are set before /etc/procmailrc gets run.

qmail/courier system. What I do in my personal qmail-invoked
procmailrc is set

 MAILDIR=$HOME/Maildir
 DEFAULT=$MAILDIR/.user/

Okay, this is something I don't quite get.  Why the ".user/" in
your default?  If you just deliver to $MAILDIR, won't procmail
just put new messages into the $HOME/Maildir/new/ directory?  Is
".user/" really a folder named "user"?  What am I missing?

Will procmail know to create maildir forlders that don't already exist?
What about the directories inside 'em?

If you're using 3.15.1 or higher, procmail will create a mailbox
if it doesn't already exist. I'm not sure about earlier versions
of procmail but I'd like to find out so I can add that info to my
Quick Start.

Um...  Yes, and there are limitations.  The directory creation happens
*after* procmail has su'd to the user, so the directory containing the
maildir must be writable by (preferably owned by) the user.  This is
significant for me, since my users don't own their own directories; they
only own ~/mail/ and ~/www/ directories.

Yes, I'm looking for shortcuts rather than going from scratch with Qmail
and learning a new MTA from the ground up.

Rather than doing this for the whole system, I suggest you start
out experimenting with a single user account and the .qmail,
.qmail-default, .qmail-whatever files for that account.

But ... I haven't installed qmail.  I'm using sendmail with procmail
for local delivery.  Procmail points to maildirs, and courier-imapd
serves up the mailboxes.

Anyway, I seem to have collected the information I need for mail
delivery.  Thanks for you help!  :)

Now I just need to figure out how to get Courier's authdaemon to run.

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>