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
Hi,
In my testing, I may have stumbled upon a bug.
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