>>>>> "Paul" == Paul Miller <[EMAIL PROTECTED]> writes:

Paul> The Linux-Net/Admin mailing lists aren't in the same format as
Paul> the Debian list.. (they don't use the Resent- lines) Anyhow,
Paul> without setting up multiple filters, how can I have procmail
Paul> look through the to:, from:, and cc: fields..?

Have you tried the special regexps ^TO and/or ^TO_ ? From the
procmailrc man page:

 If the regular expression contains `^TO_' it will be sub-
 stituted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-
 Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)',
 which should catch all destination specifications
 containing a specific address.

 If the regular expression contains `^TO' it will be sub-
 stituted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-
 Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)', which
 should catch all destination specifications containing a
 specific word.

For instance, I use
  :0:
  * ^TOdebian
  list.debian.in
for the debian lists.


-- 

  Gilbert Laycock                 email:          [EMAIL PROTECTED]
  Maths and Computer Science,     http://www.mcs.le.ac.uk/~glaycock
  Leicester University            phone:         (+44) 116 252 3902


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to