From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: Procmail won't filter linux-newbie mail
Date: Sun, 31 Aug 2003 23:05:42 -0700 [thread overview]
Message-ID: <5.1.0.14.1.20030831224453.01f41838@celine> (raw)
In-Reply-To: <20030831091426.GB2273@linux>
I have not run procmail here in quite some time, so my memory of these
things is a bit hazy. But since I saw no other replies, I thought I'd take
a shot at it, with apologies in advance for any errors.
1. If there is a problem with the first rule matching, adding a second will
not help, since now *both* rules have to match (rules get ANDed, not ORd).
2. How similarly do the "tons of mailing list filters" employ "this
principle" Do you use other filters that work with X- headers? Could you
supply an example that works with an X- header? (X- headers should work
just fine, so this thought is really a long shot.)
3. From reading over the procmailrc page, this rule block might work better
than what you are trying:
:0
* ^TO:.*linux-newbie@vger.kernel.org
IN.linux-newbie
4. Are you sure you have quoted the rules you are using EXACTLY? I ask
because there were several small errors (spelling, grammar, diction) in
your message, so I do not want to assume you got (for example) the
whitespace components of the rules transcribed properly.
5. Since you say this happened after you "cleaned up" your .procmailrc file
... what was the rule prior to the editing you did? Is it possible that you
did something to the *preceding* rule block that causes a problem with
interpretation of this one?
I've assumed that "stopped filtering" means that the .procmailrc file used
to work and no longer does. I also assume that the symptom of the failure
is that the messages drop through to subsequent rules (and eventually to
your general INBOX) rather than turning up anyplace stranger. If either of
these assumptions is wrong, please correct me.
At 11:14 AM 8/31/2003 +0200, Peter Edstrom wrote:
>Hello!
>
>Procmail has of some reason stopped filtering my linux-newbie mail. It
>occured as I cleaned up my .procmailrc-file. This is how the
>linux-newbie entry looks like:
>
> :0
> * ^X-Mailing-List:.*linux-newbie@vger.kernel.org
> IN.linux-newbie
>
>I've also tryed with the following condition just before the
>X-Mailing-List one, but without success:
>
> * ^(To|Cc):.*linux-newbie@vger.kernel.org
>
>I have tons of mailing list filters that all work with this principle,
>but this one don't. Does anyone have any ideas on what's causing the
>problem?
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2003-09-01 6:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-31 9:14 Procmail won't filter linux-newbie mail Peter Edstrom
2003-09-01 3:34 ` Peter
2003-09-01 6:05 ` Ray Olszewski [this message]
2003-09-01 14:42 ` Peter Edstrom
2003-09-01 15:30 ` Ray Olszewski
2003-09-02 14:47 ` Peter Edstrom
2003-09-02 2:42 ` Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20030831224453.01f41838@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox