On Sat, 2006-04-29 at 17:41 -0500, Justin Willmert wrote: > This is a section of my ~/.procmailrc file: > > # Filter Fedora List Messages > :0 > * ^TO_fedora-list@xxxxxxxxxx > .INBOX.fedora-list/ > > First line is a comment. The second gives parameter information to > procmail (look in procmail's man page to see the different options > available. I mostly only ever use :0 though). The next line is the rule > and says if a mail header begins with a "TO" type header (To, cc, bcc, > etc.) with fedora-list@xxxxxxxxxx in the list of addresses, that this > rule matches (is true). Then the next line is which mail folder it > should move it to. In this instance, my Dovecot server separates folders > with a period, so an Inbox subdirectory is INBOX.fedora-list. The > trailing slash signals that I'm using mail folders and not mail boxes. > > I'm not a procmail expert, so if I've gotten any explanation wrong, I'd > be happy if someone corrected me, but I just know that this works to > sort my mail. This is what I use: PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin MAILDIR=$HOME/Maildir/ DEFAULT=$MAILDIR LOGFILE=$HOME/.procmail_log at the top of the procmailrc :0: * ^List-Id.*fedora-list.redhat.com .Fedora\ User\ List/ for the Fedora List. I use * ^List-Id.*fedora-list.redhat.com because that will only appear in the header of messages from the list. If someone replies to me a CCs the list - their CC to me won't have that header, so it doesn't get caught by the filter - allowing me to see it in my regular inbox - but the copy that went to the list still gets filtered to the list mail directory.