著者: Todd Lyons 日付: To: Marc Perkel CC: exim-users 題目: Re: [exim] SMTP Multiple Recipients?
On Wed, Apr 20, 2011 at 4:09 PM, Marc Perkel <marc@???> wrote: > Trying to understand the smtp protocol with multiple recipients. From what I
> understand the recipients are specified as follows:
>
> rcpt to:person1@???
> 250 Accepted
> rcpt to:person2@???
> 250 Accepted
> rcpt to:person2@???
> 250 Accepted
>
> Suppose I'm doing forward callouts to verify recipients. And suppose
> person2@??? is a bad email address. How should the server respond to
> say that there is one bad address but 2 are ok?
[todd@todd-Latitude-D620 ~]$ telnet mail.mrball.net 25
Trying 208.89.139.252...
Connected to mail.mrball.net.
Escape character is '^]'.
220 mail.mrball.net ESMTP Sendmail 8.13.8/8.13.8; Wed, 20 Apr 2011
17:40:44 -0700
ehlo localhost
250-mail.mrball.net Hello 166-205-137-022.mobile.mymmode.com
[166.205.137.22] (may be forged), pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
mail from: <tlyons@???>
250 2.1.0 <tlyons@???>... Sender ok
rcpt to: <todd@???>
250 2.1.5 <todd@???>... Recipient ok
rcpt to: <stupidhead@???>
550 5.1.1 <stupidhead@???>... User unknown
rcpt to: <cannonball@???>
250 2.1.5 <cannonball@???>... Recipient ok
quit
221 2.0.0 mail.mrball.net closing connection
Connection closed by foreign host.
--
Regards... Todd
"It is the nature of the human species to reject what is true but
unpleasant and to embrace what is obviously false but comforting."
"You might be a skeptic if you have pedantically argued the topic of pedantry."