procmail
[Top] [All Lists]

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

1999-09-04 13:13:23
Scott Fabbri <smf(_at_)pobox(_dot_)com> wrote:

So you have a recipe that looks something like this:

ok

now I got the following recipe working:

:0
* ^TO[1-9][0-9][0-9][0-9][0-9][0-9](_at_)good\(_dot_)domain
{
    :0 fw
       | mimedump | formail -IMime-Version: -IContent- >> 
/var/spool/mail/mailfile
}


:0 E
{ EXITCODE=67 }


that way all that doesnt comply with the 123456@ scheme gets
bounced. Now they told me they dont want leading zeros and all numbers
from 1 - 999999 shall be accepted. How would I do that, I mean now if
I have an adress like 0023(_at_)(_dot_)(_dot_) it gets accepted, while only
23(_at_)(_dot_)(_dot_)should(_dot_)I tried around with "+" and "^" symbols but 
I dont seem to
get it right..if one of you could give me a hint please.

thx alot

Christophe


-- 
Christophe Zwecker                     mail: doc(_at_)zwecker(_dot_)de
Hamburg, Germany                        fon: +49 179 3994867

UNIX is user-friendly. It's just not ignorant-friendly and 
idiot-friendly.Build a system even a fool can use,and only 
a fool will want to use it.

<Prev in Thread] Current Thread [Next in Thread>