Try replacing the "^TO" with "^(TO|CC)" as your original
condition won't pick up what's in the CC header.
Unfortunately, that's not going to help matters...^TO is a "special"
symbol in procmail.
If you check the procmailrc man page::
If the regular expression contains `^TO' it will be substi-
tuted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)', which should
catch all destination specifications.
You'll see that not only does "^TO" catch the CC header, but it also
catches most other common headers containing the destination address.
-- Lars
---
Lars Kellogg-Stedman * lars(_at_)bu(_dot_)edu * (617)353-8277
Office of Information Technology, Boston University