On 02/14/2011 02:15 AM, Victor Duchovni wrote:
On Mon, Feb 14, 2011 at 01:45:28AM +0100, Jeroen Geilman wrote:

Any idea for the REJECT 4 to reject the header "From: us e...@domain.tld
<mailto:e...@domain.tld>", ie with a space in the first part.
The example I showed you, while being much more readable, already included
the space.
Dare I suggest that the whole exercise is likely rather pointless.  There
are surely better ways to deflect spam than attempting to use regexps
for RFC-enforcement on the From: header.

This likely yields very little net benefit, and is rather fragile. The
OP is IMHO better off directing his energies elsewhere...


I don't disagree.
I was ready to drop it after my suggestion to use more readable and less error-prone character classes fell on deaf ears. But he hasn't rightly stated why he wants to do this, so I didn't want to flat-out say he shouldn't.


--
J.

Reply via email to