On Sun, 15 Jan 2012 23:36:48 +0200, Mark Sapiro <mark@msapiro.net> wrote:
IVO GELOV (CRM) wrote:
I still think that my idea with custom error codes is more useful - if the user is on vacation, the message is rejected immediately (no auto-reply is sent) and sender can see (hopefully, because most users just ignore error messages) the reason why the messages was rejected.
A 4xx status will not do this. It should just cause the sending MTA to keep the message queued and keep retrying. Depending on the sending MTA's retry and notification policies, the sender may see no error or delay notification for several days.
If you really want the sender to immediately see a rejection, you have to use a 5xx status.
Yes, you are right. The error code is the smallest difficulty :)