procmail
[Top] [All Lists]

Re: filter number(_at_)foobar(_dot_)com

1999-08-03 19:38:04
I need to bounce (with a small text) mail that doesn follow the
pattern of a six digit number as the username. Anyother char than
number or less than six digits is supposed to bounce. 
How would I address such a thing ?

:0   <-any flags here you need
* ^TO[0-9][0-9][0-9][0-9][0-9][0-9](_at_)domain(_dot_)whatever
do-wahtever with legal email

:0 E  <-any other flags here you need
bounce

Or did you mean email originating (i.e. from) this adress
pattern? Matching on from isn't so easy.

I asked a short while ago how to bounce msgs - era's answer was very
useful but I still haven't gotten round to trying.

Volker