Re: Learning procmail
- From: "Michael A. Peters" <mpeters@xxxxxxx>
- Date: Sun, 30 Apr 2006 05:26:02 -0700
On Sat, 2006-04-29 at 17:41 -0500, Justin Willmert wrote:
This is a section of my ~/.procmailrc file:
# Filter Fedora List Messages
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:
at the top of the procmailrc
.Fedora\ User\ List/
for the Fedora List.
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.
fedora-list mailing list
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Prev by Date: Re: FC5 docs
- Next by Date: Mysterious Unmounts
- Previous by thread: Re: Learning procmail
- Next by thread: Re: Learning procmail