Thanks Adam, that is exactly what I needed to know.
I'm assuming that all I need to do is edit qmail-smtpd.c
and change this:
void straynewline() { out("451 See
http://pobox.com/~djb/docs/smtplf.html.\r\n"); flush(); _exit(1); }
To:
void straynewline() { out("553 See
http://pobox.com/~djb/docs/smtplf.html.\r\n"); flush(); _exit(1); }
Yeah, MS's SMTP service was hitting my server once per
second for a few hours before I noticed, what a piece of
garbage...
Thanks,
Dave
-----Original Message-----
From: Adam McKenna [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 12:19 AM
To: '[EMAIL PROTECTED]'
Subject: Re: What to do about these barelinefeeds?
On Thu, Oct 26, 2000 at 11:31:01PM -0400, Hubbard, David wrote:
> Thanks, I hadn't seen that link before. I'm sorry, I meant
> that the 256 was the status code I see in my smtpd log.
> But, in searching the archives, I saw reference to people
> saying the bare LF generates a 451 and not a 553. I can't
> verify that since I don't have a mailer to try it with
> but it seems that you'd never want the 451 in this case
> because obviously it will be the same mailer that will
> retry each time and it will continue to be broken for each
> try...
You're right, I grepped my source for it but I forgot that I had modified
the
source to produce a permanent error code instead of a temporary one to avoid
the exact problem you are describing (M$ S(hitty)MTP service hammering my
server.)