procmail
[Top] [All Lists]

Re: Simple recipe question

1996-08-27 19:50:14

dattier(_at_)wwa(_dot_)com wrote:

Er, Peter, you didn't type "\t" instead of an actual tab, did you?
The brackets should enclose caret, space, tab, semicolon, comma (in
any order except that the caret has to come first).

BINGO! I'm just a poor mindless unix weenie, and I expected that
\t would be the same as a tab character. Go figure.

If you put "\t" or "\n" there you're forbidding t's and n's, so
peter(_at_)domain(_dot_)name, since there is a t between the p and the 
at-sign,
will fail to match.  Same goes for pmorrison(_at_)domain(_dot_)name, which has
an n.

I was trying phantom(_at_)domain(_dot_)name which has both!

No, you can't include a newline inside the bracets, by the way.

I wondered.

To include a hyphen in a bracketed set, it has to be first (first
after the caret if it's a complemented set) or last.

Oh, yeah. Forgot about that bit.

What other characters are legal in an email address before the @
symbol?
You've just about covered them as far as I know.

I've seen all sorts of crap in email addresses - "!", "%", "{", and "}"
all spring immediately to mind. Most of this garbage comes when you
have a corporate email gateway that is trying really hard not to suck,
but failing.

Thanks very much for your help, everyone. Another question to follow.

Regards,
Peter Morrison.
 --
Mild-mannered PowerHelp tech support by day (peter(_at_)astea(_dot_)co(_dot_)nz)
Super-powered Dispatch-1 legend after dark (legend(_at_)iconz(_dot_)co(_dot_)nz)
AT&T cowboy, 9am to midnight 
(Peter(_dot_)Morrison(_at_)australia(_dot_)ncr(_dot_)com)
"Mmmmmmmm!  A problem with grammar have I, yes!" - Yoda

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