Procmail recipes

Travis Fraser travis at snowpatch.net
Sat Jan 28 20:29:23 UTC 2006


On Sat, 2006-01-28 at 13:50 -0600, Justin Willmert wrote:
> I've been working on procmail scripts today also, and I believe I've 
> solved my problem (and you were having the same problem as me). The 
> messages actually need to be put in the 'new' subdirectory. For example, 
> if you're trying to put messages in your Design folder under the Inbox, 
> instead of...
> 
>     :0
>     * ^To:.*design at lydgate.org
>     ${MAILDIR}/Design/
> 
> ...it should be...
> 
>     :0
>     * ^To:.*design at lydgate.org
>     ${MAILDIR}/.INBOX.Design/new
> 
> or it could be just '/.Design/new' if the Design folder is a top level 
> folder. Anyway, I hope this helps you.
> 
> Justin Willmert
> 
Here is /etc/procmailrc:

# Use maildir-style mailbox in user's home directory
MAILDIR=$HOME/.maildir
DEFAULT=$HOME/.maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/procmail.log
VERBOSE=off
DROPPRIVS=yes

INCLUDERC=$HOME/.procmailrc


I have in my .procmailrc:

:0:
* ^List-Id:.*fedora-list\.redhat\.com
$MAILDIR/.INBOX.fedora/

and mail gets routed just fine without the "new" present.
-- 
Travis Fraser <travis at snowpatch.net>




More information about the fedora-list mailing list