procmail
[Top] [All Lists]

Re: PM Trouble Round II

1998-01-19 16:54:06
At 01:39 PM 1/19/98 -0600, Webmarquee Newslists wrote:

      OK, I have tried some of the things you all have mentioned and I
wanted you to see if it was looking right now. Still not getting it work,
but thought maybe you see progress :-).

      Here it is (.procmailrc file):

MAILDIR = $HOME/newslist/mail

:0:
* ^(To|Cc):.*<procmail(_at_)informatik\(_dot_)rwth-aachen\(_dot_)de>
procmail-l

Probably not your problem, but in general To|Cc is not usually
the best way to identify a list... you want to know that the
list sent it.  Sometimes a list may be Bcc'd, for example,
and won't appear in To: or Cc: at all.  At other times
(like this note) you may get one response from the list
and one from a response... do you want to capture both, or
just the list post into your file?

For procmail, for example, Resent-Sender: is always set.  Many
other lists don't use that, but usually have an identifying
header of some sort.  (There's a standard in the pipeline,
and eventually you may look for List-Unsubscribe:, but
that will be a while yet.)

Another way is to look for the SMTP sender, usually found
in either Return-Path: or "From " (no colon).  I use this for
all my lists, in fact.  (Be aware that LISTSERV (tm) occasionally
varies it slightly when they send a "probe" which is a way to
verify your subscribed address if bounces are being traced.)

Hope that helps,
Stan

<Prev in Thread] Current Thread [Next in Thread>