* Robert Holtzman <holtzm(_at_)cox(_dot_)net> [07-06-08 00:06]:
I've done a lot of RTFMing and internet searching but can't find an answer to
this.
I have been going nuts for a long time trying to get procmail to transfer one
mailing
list's messages into the appropriate Alpine file. I posted about this to
the list quite a while ago and got a couple of suggestions that didn't
work. I'm hoping someone may have some other ideas.
The email headers I'm trying to filter on are
To: Main PLUG discussion list
<plug-discuss(_at_)lists(_dot_)plug(_dot_)phoenix(_dot_)az(_dot_)us>
and
List-Id: Main PLUG discussion list <plug-discuss.lists.plug.phoenix.az.us>
I have tried:
:0:
* ^TO:.*<plug-discuss(_at_)lists(_dot_)PLUG(_dot_)phoenix(_dot_)az(_dot_)us>
$HOME/holtzm/mail/list-PLUG-discuss
:0:
*
^List-ID:(_dot_)*plug-discuss(_at_)lists(_dot_)plug(_dot_)phoenix(_dot_)az(_dot_)us
$HOME/holtzm/mail/list-PLUG-discuss
...
I have also tried "TO_" for all of these but they generated lock failures.
Everything I try generates a log entry such as:
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)
-To):(.*[^a-zA-Z])?):(_dot_)plug-discuss(_at_)lists@plug.phoenix.az.us"
This is true of other mailing list recipes (altho others of the same form
work)
Any ideas or pointers to docs addressing this appreciated.
MAILDIR="$HOME/mail"
VERBOSE=on
:0:
* ^TO_.*plug-discuss|\
^List-ID:.*plug-discuss
$MAILDIR/list-PLUG-discuss
VERBOSE=off
remove "VERBOSE=on" if recipe works satisfactorily.
$HOME is what?
in * ^TO:.*<plug-discuss(_at_)lists(_dot_)PLUG(_dot_)phoenix(_dot_)az(_dot_)us>
"<" and ">" are probably a problem
you only need enough address content to uniquely identify the site/list.
You have not provided a header to determine why you get the "No match"
statement, so ??
Someone more knowledgeable may provide better insight.
--
Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535 @ http://counter.li.org
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail