Re: Procmail recipes

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

 



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@xxxxxxxxxxx
>     ${MAILDIR}/Design/
> 
> ...it should be...
> 
>     :0
>     * ^To:.*design@xxxxxxxxxxx
>     ${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@xxxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux