I didn't have a fall through group set to catch any that didn't have a
matching Newsgroups header. However that has never occured since I
only download from the groups that do match. And in fact the messages
that show up in `1x..in', do have matches as I showed in previous
*Now* I get it. I hadn't properly understood earlier - I thought that
you only wanted to match the first listed newsgroup, but you want to
match the frist matching newsgroup, which might not be the first listed
one. I misread your explanation.
The 'Newsgroup:' condition as it stands will match only on the first
newsgroup in a list - that is, 'Newsgroup:' followed by whitespace,
followed by a newsgroup name.
But the newsgroup you want might be later in the list since the list
might consist of:
and you want the 'gnu.emacs.help'.
A suitable recipe might be:
* ^Newsgroups:(.*,)?[ ]*\/(...etc...)
The extra '(.*,)?' will permit the condition to skip over any
non-matching newsgroups on the Newsgroups line, but will stop at the
first matching one it finds. Does that make sense to you?
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
procmail mailing list