procmail
[Top] [All Lists]

What's the difference between "* ^TO*xxx" and "* ^To:.*xxx"

1999-06-03 01:22:37

Hi,

This questions concerns the .procmailrc file.

I want to filter all mails which come to "<anything>@dom.com"
What should I use:

* TO*(_at_)dom(_dot_)com
Or
* To:(_dot_)*(_at_)dom(_dot_)com
?

And what's the difference between the two?
In my oppinion, accordind to the egrep syntax, the first form shouldn't
work, but it seems it does.

Thank you,
Mihai