[Top] [All Lists]

Re: SMTP 551 code in use?

2003-03-25 11:30:02

--On Monday, 24 March, 2003 11:46 -0500 "Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu" <Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu> wrote:

On Mon, 24 Mar 2003 15:02:26 +0100, Arnt Gulbrandsen
<arnt(_at_)gulbrandsen(_dot_)priv(_dot_)no>  said:
when I (acting as SMTP client) send rcpt to and receive a 551
code from  a server, it might be a good idea to use the
referenced e-mail address  instread of the one I used. Final
decision left to the user, of course.

I'm not clear what you mean by "referenced address instead of
the one I used"?

RFC2821, section 4.2.2:

      551 User not local; please try <forward-path>

Pretty clear that the server is supposed to give you a
forward-path that is usable in a RCPT TO: (if the 551 reply is
supported at all, some sites may disable it due to the
inherent information leakage).
   When normal (2yz or 551) responses are returned from a VRFY
or EXPN    request, the reply normally includes the mailbox
name, i.e.,    "<local-part(_at_)domain>", where "domain" is a
fully qualified domain    name, MUST appear in the syntax.  In
circumstances exceptional enough    to justify violating the
This seems to indicate that your parser should look for a
regexp of the form "<lhs(_at_)rhs>", with possibly other text
before or after.


<Prev in Thread] Current Thread [Next in Thread>