Re: [OT] mailing list management

Keith Owens
2005-06-02T16:12:50Z

On Wed, 01 Jun 2005 11:49:08 +0100,
Paulo Marques <pmarques@grupopie.com> wrote:
>The thing is, this list has a lot of traffic (as you might have noticed
>:), and sometimes people don't have time to go through all the emails,
>and just take special attention at mails directed at them personally.

"There is always more than one way to do things".

~/.procmailrc

#################################################################
# If my address appears in To:, Cc: or Bcc: then add X-To-Me: YES
#################################################################

:0 Whc
| formail -c -x to -x cc -x bcc | egrep -i 'some expression' > /dev/null
:0 aWhf
| formail -A 'X-Personal: YES'

Replace some expression with a grep expression that matches all email
addresses that you consider personal. Such mail on any list gets the
line 'X-Personal: YES' added, which makes it trivial to file or index
them separately.

To suppress duplicate messages, also in .procmailrc

:0 Wh: msgid.lock
| formail -D 20000 msgid.cache