On 2018-11-02 13:11:46, Rich Shepard wrote:
> I've still not corrected procmail's putting messages from one mail list in
> my inbox. This started only a couple of weeks ago and I thought I had it all
> worked out, but I don't.
>
> The messages are addressed To: grass-u...@lists.osgeo.org and the procmail
> recipe for this is,
> :0:
> * ^(From|Cc|To).*osgeo.org
> spatial-analyses
>
> Since procmail processes each description line as a regex the above format
> should work for all recipes. And, this format does work for the other mail
> lists to which I subscribe. I want to learn why it's not working with this
> one.
>
> All suggestions and ideas are welcome,
>
Hello,
It's been many years since I've used procmail, but on the surface,
it appears that that rule should work.
One minor nit is that it's usually recommended to escape literal
periods because "osgeo.org" will match "osgeo.org" as well as
things like "osgeoAorg", "osgeoBorg", "osgeoCorg" etc.
So you'd want to escape that period to make: "osgeo\.org"
However, that should have no bearing on why the rule isn't
matching.
The only thing I can think of is that there is a rule above that one
which messages from that list hit first, and therefore get put
into that file instead of the one you've indicated.
Does anything change if you move this rule higher up in the
ruleset?
Can you run procmail in the foreground with debugging information
(or pipe detailed logs to a file) to glean any useful information?
Failing that, it appears that procmail has been unmaintained since
2001 and fuzzing efforts have discovered several bugs in it. [1][2]
I've been using "fdm" for... so long I can't even remember.
Probably about 10 years or so by now. I can recommend fdm as a
good and powerful MDA if you're willing to consider switching to
an alternative. [3]
I know that when one asks a question of "I'm having problems with
program_A" and someone responds with "Then use program_B" it may
not always be helpful, but given that procmail hasn't been
maintained for coming up on close to 20 years now, I thought it
was important to at least point out a possible alternative to
procmail given the assertation that it contains several bugs.
If you do manage to get procmail working, please update the list
with the solution.
Thanks!
[1] https://wiki.archlinux.org/index.php/Procmail
[2] https://marc.info/?l=openbsd-ports=141634350915839=2
[3] https://wiki.archlinux.org/index.php/Fdm
--
Bryan
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug