On 03-09-15 03:10 -0400, [EMAIL PROTECTED] wrote: > Hi DU, > 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: [EMAIL PROTECTED] > $MAILDIR/nylxs-announce > :0 > * ^To: [EMAIL PROTECTED] > $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.
Hi Kevin, I'm using the Courier-style Maildirs with something like this: DEFAULT=$HOME/Maildir/ # to invoke programs from .procmailrc, you may need SHELL=/bin/sh # directory for storing procmail config + logs # (note procmail does not expand "~", you must use "$HOME") PMDIR=$HOME/Procmail # ------------------------------------- # Once MAILDIR is set, procmail will cd to it # and all relative paths will be relative to $MAILDIR # ------------------------------------- MAILDIR=$HOME/Maildir ### sort spamassassin-flagged msgs :0 * ^X-Spam-Flag: YES .spam-caught/ # messages that fall through all your procmail recipes are # delivered to your default INBOX :0 * ^TO_debian-(user|isp|apache) .IN-debian/ :0 * ^TO_nylug-talk .IN-nylug-talk/ hth, Kenneth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]