procmail
[Top] [All Lists]

RE: FROM_MAILER test discarding legit mail - who's problem?

2007-09-22 04:06:12
Bart Schaefer wrote Saturday, September 22, 2007 5:29 AM:

On 9/21/07, LuKreme <kremels(_at_)kreme(_dot_)com> wrote:
all perfectly legal.  Yes, even #!$%!^{fred}(_at_)mydomain(_dot_)tld

"Legal," yes, but in practice one would be insane to attempt to use
such an address.  "!" and "%" in particular have too long a history as
syntactic separators for other forms of address that were
traditionally accepted in the same places that RFC2822 addresses are
found.

Yes, sure.  I do get list mail with # and % in the From_ line,
though.  But the point isn't really whether the characters are
used.  Michelle stated that only the low-bit ASCII chars plus
"_", ".", and sometimes "-" (or was it "-", ".", and sometimes "_"?)
are legal, and that is simply not true.  (And anyway, it left off
the plus-sign.)

What I do personally, and what I am sure many do who have thought
about it and know how, is to use those characters as good indicators
of likely spam.  In other words, creepy, they may be.  But legal,
they are.  At least nominally.  In any case, in procmail, first we
have to find the (putative) address; then we can parse it for
goofy chars.  If we try to parse it with a regex that leaves off
possible characters, we'll get some false results.

Dallman
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail