Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
23092 posts

Uber Geek

Trusted
Subscriber

  #1927803 1-Jan-2018 22:51
Send private message

What does RFC say the mail server should do if it has accepted an email and then finds that the mailbox is closed?





Richard rich.ms

578 posts

Ultimate Geek

Lifetime subscriber

  #1928109 2-Jan-2018 17:06
Send private message

richms:

 

What does RFC say the mail server should do if it has accepted an email and then finds that the mailbox is closed?

 

 

RFC 5321 says:

 

"If an SMTP server has accepted the task of relaying the mail and later finds that the destination is incorrect or that the mail cannot be delivered for some other reason, then it MUST construct an "undeliverable mail" notification message and send it to the originator of the undeliverable mail (as indicated by the reverse-path)."


 
 
 
 


2123 posts

Uber Geek

Trusted

  #1928117 2-Jan-2018 17:40
Send private message

Well, to my mind, "Mailbox closed" satisfies this 'notification message' requirement and in fact provides the sender with understandable information?

 

 


5814 posts

Uber Geek


  #1928120 2-Jan-2018 17:49
One person supports this post
Send private message

The RFC goes on to specify what the format of that report should be.

 

There's standards for a reason - so that any server from any manufacturer can talk to another, and nothing gets lost in the translation. @Rikkles, bear in mind that the sender may not speak English, or may not be human, so a human readable English message is hopeless for some recipients. The sender's mail server can convert the appropriate non delivery report to a human readable message.

 

EDIT: Link to RFC


578 posts

Ultimate Geek

Lifetime subscriber

  #1928122 2-Jan-2018 17:51
Send private message

Rickles:

 

Well, to my mind, "Mailbox closed" satisfies this 'notification message' requirement and in fact provides the sender with understandable information?

 

 

It does not provide the sending server with understandable information. It needs to be in a certain format so servers and other automated software can deal with it correctly.

 

For example sending to my made up noone@pole.net.nz address, my provider, FastMail, will bounce with a user friendly message as follows:

 

This is the mail system at host mailuser.nyi.internal.

 

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

 

For further assistance, please send mail to postmaster.

 

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

 

The mail system

 

<noone@pole.net.nz>: host mailuser.nyi.internal[/var/run/lmtpforward/outgoing]
said: 550 5.1.1 <noone@pole.net.nz>: Recipient address rejected: User
unknown in virtual mailbox table via compute2 (in reply to end of DATA
command)

 

And attached to that message will be a special delivery report file that says, in machine readable, format:

 

Reporting-MTA: dns; mailuser.nyi.internal
X-Postfix-Queue-ID: EBDB89412B
X-Postfix-Sender: rfc822; james@pole.net.nz
Arrival-Date: Mon, 1 Jan 2018 23:44:41 -0500 (EST)

 

Final-Recipient: rfc822; noone@pole.net.nz
Action: failed
Status: 5.1.1
Remote-MTA: dns; mailuser.nyi.internal
Diagnostic-Code: smtp; 550 5.1.1 <noone@pole.net.nz>: Recipient address
rejected: User unknown in virtual mailbox table via compute2

 

Servers can then read the delivery report file and take the appropriate action automatically.

 

That is an example of a system in compliance with the RFC. Vodafone is most certainty not in compliance with the RFC as (I presume) it does not include the correct delivery report attachment.

 

- James


2123 posts

Uber Geek

Trusted

  #1928126 2-Jan-2018 18:06
Send private message

Thanks James ... interesting subject.




3435 posts

Uber Geek

Trusted

  #1928192 2-Jan-2018 20:13
Send private message

James is correct - if the correct process was followed by vodafone, our customer would be notified in the correct way that they have a stale email address. The process we have set up for them works for any other mailbox that is closed because the destination server returns the correct error code. 

 

Vodafone isnt responding with the correct error code during the smtp session so our correct process based on the RFC cant be actioned. 





Ray Taylor
Taylor Broadband (rural hawkes bay)
www.ruralkiwi.com

There is no place like localhost
For my general guide to extending your wireless network Click Here




1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Vodafone and Imperial College London invite smartphone users to help fight diseases
Posted 9-Apr-2020 11:09


Unisys Always-On Access Powered by Stealth provides fast, encrypted remote access for workers
Posted 9-Apr-2020 10:00


Intel introduces 10th Gen Intel Core H-series for mobile devices
Posted 2-Apr-2020 21:09


COVID-19: new charitable initiative to fund remote monitoring for at-risk patients
Posted 2-Apr-2020 11:07


Huawei introduces the P40 Series of Android-based smartphones
Posted 31-Mar-2020 17:03


Samsung Galaxy Z Flip now available for pre-order in New Zealand
Posted 31-Mar-2020 16:39


New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.