At 04:42 PM 9/1/2003 +0200, Peter Edstrom wrote: [...]
> 3. From reading over the procmailrc page, this rule block might work better
> than what you are trying:
>
> :0
> * ^TO:[EMAIL PROTECTED]
> IN.linux-newbie
I've seen this "type" of rule before, but I'm a little confused. Why is "TO" written with upper-case and not as "To", which is how the headers appear to be spelled?
If you read over the man page for procmailrc, you will see that TO is a special, semi-wildcard designator that will expand to match To:, Cc:, and a bunch of other candidates. The man page covers the details better than I can in an e-mail.
> 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.
What do you mean? Is my text formatted in a weird way, or are you just complaining about my bad English (I'm from Sweden) ? ;-)
I wasn't complaining, just explaining why I asked. For a non-native speaker, your English is astoundingly good ... so much so that I surmised that you were a native speaker writing carelessly, rather than an ESL writer making a occasional, minor mistake (e.g., "tryed" for "tried"). In any case, when I see small errors in the text of a message, whatever the reason, I always wonder if there are similar errors in the critical parts of the same message ... in this case, the parts where you quoted the rules. Hence my actual question.
[...]
Before it looked like this:
:0: * ^To:[EMAIL PROTECTED] IN.linux-newbie
:0: * ^CC:[EMAIL PROTECTED] IN.linux-newbie
This certainly suggests that your problem relates to trying to use X- headers to filter. I'm unclear on why X- headers would not work -- if you look at "man procmailex", you should see at least one example that uses an X- header -- but it is the only interpretation I can think of.
- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
