Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

250 message

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


fsydit at forumsyd

Apr 23, 2008, 10:36 PM

Post #1 of 5 (405 views)
Permalink
250 message

I just want to clearify the following. In the RFC 2821 I can read that:

"The end of mail data indicator also confirms the mail transaction and
tells the SMTP server to now process the stored recipients and mail
data. If accepted, the SMTP server returns a 250 OK reply."

and

"However, in practice, some servers do not perform recipient
verification until after the message text is received. These servers
SHOULD treat a failure for one or more recipients as a "subsequent
failure" and return a mail message as discussed in section 6. Using
a "550 mailbox not found" (or equivalent)"

I was having a conversation with our developers yesterday when they
claimed that a message from their application wasn't recieved at their end.
In my qmail current log I found

@40000000480f28f8156178fc info msg 32993: bytes 1292 from <NN[at]our.domain> qp 23572 uid 1010
@40000000480f28f815d9587c starting delivery 781: msg 32993 to remote NN[at]their.domain
@40000000480f28f815d9681c status: local 0/10 remote 1/255
@40000000480f28f838568604 delivery 781: success: 212.214.69.250_accepted_message./Remote_host_said:_250_2.6.0_<de5a2b3c-86a9-$
@40000000480f28f83856998c status: local 0/10 remote 0/255
@40000000480f28f83856a15c end msg 32993
[addresses fubar'd]

This would, as I understand it indicate that the message really was recieved at their end,
and that any problem in them not "seeing it" is at their end, not mine.
Is this correct?

Martin S


dl at blackpacket

Apr 24, 2008, 6:47 AM

Post #2 of 5 (370 views)
Permalink
Re: 250 message [In reply to]

Martin S wrote:
> I just want to clearify the following. In the RFC 2821 I can read that:
> @40000000480f28f838568604 delivery 781: success:
> 212.214.69.250_accepted_message./Remote_host_said:_250_2.6.0_<de5a2b3c-86a9-$
>
> This would, as I understand it indicate that the message really was
> recieved at their end, and that any problem in them not "seeing it" is
> at their end, not mine.
> Is this correct?
>
> Martin S

According to the logs there, yes, once their mail server gives you a
250, they have taken responsibility for the message. In your case, the
server 212.214.69.250 was sent the envelope and message, then returned a
250, which means that they have taken responsibility for delivery of the
message. If they run into a problem delivering it, they are responsible
to bounce the message.

The second quote you had doesn't really apply here, it is meant to stop
developers from returning odd messages like "mailbox not found" after
the data has been sent (versus when the recipients are sent). However,
they are sending a 250, which means they accept it. If they are sending
additional error codes after the 250, then they won't be properly read.
They must send only one return code: 250 if it's all OK, otherwise
552, 554, 451, or 452, that's all that's allowed by the RFC.

Tyler


search-web-for-address at pyropus

Apr 24, 2008, 6:59 AM

Post #3 of 5 (372 views)
Permalink
Re: 250 message [In reply to]

Martin S <fsydit[at]forumsyd.net> wrote:
> In my qmail current log I found
>
> @40000000480f28f8156178fc info msg 32993: bytes 1292 from <NN[at]our.domain>
> qp 23572 uid 1010
> @40000000480f28f815d9587c starting delivery 781: msg 32993 to remote
> NN[at]their.domain
> @40000000480f28f815d9681c status: local 0/10 remote 1/255
> @40000000480f28f838568604 delivery 781: success:
> 212.214.69.250_accepted_message./Remote_host_said:_250_2.6.0_<de5a2b3c-86a9-$
> @40000000480f28f83856998c status: local 0/10 remote 0/255
> @40000000480f28f83856a15c end msg 32993
> [addresses fubar'd]
>
> This would, as I understand it indicate that the message really was
> recieved at their end, and that any problem in them not "seeing it" is at
> their end, not mine.
> Is this correct?

Absolutely.

Charles
--
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at: http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------


fsydit at forumsyd

Apr 24, 2008, 7:16 AM

Post #4 of 5 (366 views)
Permalink
Re: 250 message [In reply to]

Thanks for the replies!

Tyler skrev:
> Martin S wrote:
>> I just want to clearify the following. In the RFC 2821 I can read that:
>> @40000000480f28f838568604 delivery 781: success:
>> 212.214.69.250_accepted_message./Remote_host_said:_250_2.6.0_<de5a2b3c-86a9-$
>
> >
>> This would, as I understand it indicate that the message really was
>> recieved at their end, and that any problem in them not "seeing it"
>> is at their end, not mine.
>> Is this correct?
>>
>> Martin S
>
> According to the logs there, yes, once their mail server gives you a
> 250, they have taken responsibility for the message. In your case,
> the server 212.214.69.250 was sent the envelope and message, then
> returned a 250, which means that they have taken responsibility for
> delivery of the message. If they run into a problem delivering it,
> they are responsible to bounce the message.
OK, happy to be correct.
It turned out they apparently got the messages anyway.... Don't know
what they were on about.
>
> The second quote you had doesn't really apply here, it is meant to
> stop developers from returning odd messages like "mailbox not found"
> after the data has been sent (versus when the recipients are sent).
> However, they are sending a 250, which means they accept it. If they
> are sending additional error codes after the 250, then they won't be
> properly read. They must send only one return code: 250 if it's all
> OK, otherwise 552, 554, 451, or 452, that's all that's allowed by the
> RFC.
Aha. Then I see. Looked weird in my eyes, but then most things do when
having a cold and being in a hectic finish of a large software project.

Martin S


fsydit at forumsyd

Apr 24, 2008, 10:25 AM

Post #5 of 5 (369 views)
Permalink
Re: 250 message [In reply to]

Charles Cazabon skrev:
> Martin S <fsydit[at]forumsyd.net> wrote:
>
>> In my qmail current log I found
>>
>> @40000000480f28f8156178fc info msg 32993: bytes 1292 from <NN[at]our.domain>
>> qp 23572 uid 1010
>> @40000000480f28f815d9587c starting delivery 781: msg 32993 to remote
>> NN[at]their.domain
>> @40000000480f28f815d9681c status: local 0/10 remote 1/255
>> @40000000480f28f838568604 delivery 781: success:
>> 212.214.69.250_accepted_message./Remote_host_said:_250_2.6.0_<de5a2b3c-86a9-$
>> @40000000480f28f83856998c status: local 0/10 remote 0/255
>> @40000000480f28f83856a15c end msg 32993
>> [addresses fubar'd]
>>
>> This would, as I understand it indicate that the message really was
>> recieved at their end, and that any problem in them not "seeing it" is at
>> their end, not mine.
>> Is this correct?
>>
>
> Absolutely.
>
OK, thanks. I'm just starting reading up on qmail.

Martin s

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.