james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Gianferrari Pini (JIRA)" <server-...@james.apache.org>
Subject [jira] Assigned: (JAMES-361) DSNBounce often report the dsn Status 5.5.0 incorrectly
Date Tue, 05 Apr 2005 19:25:38 GMT
     [ http://issues.apache.org/jira/browse/JAMES-361?page=history ]

Vincenzo Gianferrari Pini reassigned JAMES-361:
-----------------------------------------------

    Assign To: Vincenzo Gianferrari Pini

> 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: Vincenzo Gianferrari Pini
>     Priority: Minor

>
> 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
-
If you want more information on JIRA, or have a bug to report 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


Mime
View raw message