Re: procmail pattern for debian-devel-changes
'Douglas Bates wrote:'
>
>The pattern I have for the debian-devel-changes list in my .procmailrc
>file is
>
>:0
>* ^X-mailing-list.*debian-devel-changes
>debian-devel-changes.in
>
[...]
>
>Would someone please suggest how I can modify the .procmailrc file to
>omit messages containing the literal text "(alpha)", or "(m68)", or
>"(sparc)" in the subject line but only if they also match the
>X-mailing-list.*debian-devel-changes pattern.
I do somthing like this (I think the architecture line is easier to
match against exactly but I could be mistaken -- anyway it works for me):
:0:
* ^X-mailing-list.*debian-devel-changes
{
:0 B
* ^Architecture: (sparc|alpha|m68k|powerpc)$
/dev/null
:0:
debian-devel-changes.in
}
--
Christopher J. Fearnley | Linux/Internet Consulting
cjf@netaxs.com | Design Science Revolutionary
http://www.netaxs.com/~cjf | Explorer in Universe
ftp://ftp.netaxs.com/people/cjf | "Dare to be Naïve" -- Bucky Fuller
--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@lists.debian.org
Reply to: