On Tue, 30 Dec 2003, Robert James Kaes wrote:
> Hi,
> The following patch rejects mail that contains either a bare line-feed
> or bare carriage-return.  However, this test is only performed in the
> header section of the message.  I'm sure it could be extended to the
> whole mail message, but I thought I would start safe to begin with.

Responding to myself here: I've run this patch for a couple of days
now and it's cut down on some obvious spam without any problems for
valid email.  The only "problem" I see is that the 421 response code
causes the sender to retry the delivery at a later time.  It's not a
big deal, but I wonder if there is some way to issue an 5xx error code
and yet still close the connection, while conforming to the RFC.

All in all though, it seems to be a pretty good patch for keeping
obvious junk out of the mail system (and away from my customer's
broken Outlook Express clients. :)
        -- Robert

-- 
    Robert James Kaes    ---  Flarenet Inc.  ---    (519) 426-3782
                 http://www.flarenet.com/consulting/
      * Putting the Service Back in Internet Service Provider *

Reply via email to