7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Possible buffer o...
FromSent OnAttachments
Gordan BobicOct 16, 2007 1:21 am 
Plamen PetrovOct 16, 2007 3:07 am 
Gordan BobicOct 16, 2007 5:37 am 
Gordan BobicOct 16, 2007 5:46 am 
Sam VarshavchikOct 16, 2007 7:07 pm 
Gordan BobicOct 17, 2007 12:27 am 
Enda CronnollyOct 17, 2007 1:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Possible buffer overrun? RCPT with non-existant usersActions...
From:Gordan Bobic (gor@bobich.net)
Date:Oct 17, 2007 12:27:53 am
List:net.sourceforge.lists.courier-users

Great, thanks. :-)

When will the updated release be available?

Gordan

On Tue, 16 Oct 2007, Sam Varshavchik wrote:

Gordan Bobic writes:

On a related note, for local domains (as opposed to hosted domains), the email address doesn't get garbled, it just returns a username unknown, e.g. 550 User <nonexistant> unknown (which is correct, AFAIK).

Gordan

I tracked this down, I think it's a minor bug, not really dangerous, just annoying; it's fixed now.

Fire up a telnet session to a server containing a hosted domain (e.g. foo.com)

telnet mailserver 25 HELO sendingserver MAIL FROM: <val@bar.com> RCPT TO: <inva@otherdomain.com> 513 Relaying denied. RCPT TO: <none@foo.com> (after a long pause) 550 User <nonexistant@> unknown <--- Note it ends with @> RCPT TO: <qwe@foo.com> (after a long pause> 550 User <qwerty@[garbage]oo.com> unknown <--- random non ASCII characers instead of [garbage] RCPT TO: <as@foo.com> (long pause again) 550 User <asdf@[different_garbage]oo.com QUIT 221 Bye.

Assuming for a moment that the delay is to do with DNS (which it may be, my domain isn't yet fully set up), that still leaves the issue of garbage appearing in the response. That sounds like there might be a possible buffer over-run error causing a problem. Could it possibly be caused by large DNS MX record coming back (considerably bigger than 512 bytes, lots of MX-es so falls back on TCP)?

Thanks.

Gordan