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... -- Viktor.