[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmailrc question



On Mon, Sep 15, 2003 at 03:10:43AM -0400, kmark@pipeline.com wrote:
> I'm new to procmail and I wondered if you can point me in the right
> direction.
> this is my .procmailrc
> ----------------------
> PATH=/usr/local/bin:/usr/bin:/bin
> MAILDIR=$HOME/mail      #you'd better make sure it exists
> DEFAULT=$HOME/mbox   #completely optional
> LOGFILE=$MAILDIR/from   #recommended
> :0 c
> $MAILDIR/backup
> :0
> * ^To: nylxs-announce@nylxs.com
> $MAILDIR/nylxs-announce
> :0
> * ^To: debian-user@lists.debian.org
> $MAILDIR/debian-user
> -------------------------------------
> my debian-user mail is being saved as individual message. How do I tell it
> to save it to a mailbox? like $HOME/mail/debian-user or
> $HOME/mail/debian-user/mbox.

If you don't create a directory called $HOME/mail/debian-user, then
procmail will automatically save mail to an mbox by that name. If
there's a directory there, it'll default to a maildir (erm, as in the
mailbox format, as distinct from $MAILDIR).

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: