Paul Tremblay spake thus: (Fri, Sep 21, 2001 at 04:04:53PM -0400)

> On Thu, Sep 20, 2001 at 09:09:43PM -0400, [EMAIL PROTECTED] wrote:
>
> Right, you don't have access to the bcc. But procmail still should be
> able to read the ^To line. It seems very simple. If the ^To line (I
> mean, the actual text) does not contain *phthenry*, then send it to
> junk (and of course check it just in case).

IIRC, ^To works, but ^TO expands to a more complex regexp including CC
and To.  

Quoth the manual:

       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.

My pet peeve is messages that have no To or Cc, but are sent with only a
Bcc, or a false To.  To filter this you have to let the catchall rule do
it.  Sadly, there isnt an easy way to filter based on the expression "If
$x doesn't match any address I know".

--N.

PGP signature

Reply via email to