You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2005/08/09 23:53:35 UTC
[jira] Resolved: (JAMES-361) DSNBounce often report the dsn Status 5.5.0 incorrectly
[ http://issues.apache.org/jira/browse/JAMES-361?page=all ]
Stefano Bagnara resolved JAMES-361:
-----------------------------------
Fix Version: 2.2.1
Resolution: Fixed
I committed a slightly different version that I matured after some month of production with the one published in the issue.
> DSNBounce often report the dsn Status 5.5.0 incorrectly
> -------------------------------------------------------
>
> Key: JAMES-361
> URL: http://issues.apache.org/jira/browse/JAMES-361
> Project: James
> Type: Bug
> Components: Matchers/Mailets (bundled)
> Versions: 2.2.0
> Reporter: Stefano Bagnara
> Assignee: Stefano Bagnara
> Priority: Minor
> Fix For: 2.2.1
>
> DSNBounce should guess the DSN code from the SMTP/ESMTP code received during the SMTP session. Other MTA does this. Converted to hames DSNStatus:
> // Req mail action not taken: mailbox unavailable
> case 450: return DSNStatus.getStatus(DSNStatus.TRANSIENT, DSNStatus.MAILBOX_OTHER);
> // Req action aborted: local error in processing
> case 451: return DSNStatus.getStatus(DSNStatus.TRANSIENT, DSNStatus.SYSTEM_OTHER);
> // Req action not taken: insufficient sys storage
> case 452: return DSNStatus.getStatus(DSNStatus.TRANSIENT, DSNStatus.SYSTEM_FULL);
> // Syntax error, command unrecognized
> case 500: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.DELIVERY_SYNTAX);
> // Syntax error in parameters or arguments
> case 501: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.DELIVERY_INVALID_ARG);
> // Command not implemented
> case 502: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.DELIVERY_INVALID_CMD);
> // Bad sequence of commands
> case 503: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.DELIVERY_INVALID_CMD);
> // Command parameter not implemented
> case 504: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.DELIVERY_INVALID_ARG);
> // Req mail action not taken: mailbox unavailable
> case 550: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.MAILBOX_OTHER);
> // User not local; please try <...>
> case 551: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.ADDRESS_MOVED);
> // Req mail action aborted: exceeded storage alloc
> case 552: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.MAILBOX_FULL);
> // Req action not taken: mailbox name not allowed
> case 553: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.ADDRESS_OTHER);
> // Transaction failed
> case 554: return DSNStatus.getStatus(DSNStatus.PERMANENT, DSNStatus.UNDEFINED_STATUS);
> I already patched my DSNBounce but I made also many other changes/fix to this class and I don't know if someone (committer) is reading bug submissions.
> Please contact me for an updated DSNBounce when you will be ready to apply patches.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org