In James 2.3.2 but likely in trunk too the DSNBunce mailet expects a
MessagingException in the mail attribute named "delivery-error". If this
attribute is not set DSNBounce throws a NPE. This attribute is only set
in RemoteDelivery and the comment of the "bounces" processor in the
default config file also suggests that DSNBounce only works for
RemoteDelivery errors.
I would like to use DSNBounce for matcher exceptions e.g. <mailet
match="AttachmentFileNameIs=... onMatchException="bounces">.
Do you have a recommendation how to implement this? E.g. modify
DSNBounce to look for another attribute. Or modify the matcher exception
handler to set the "delivery-error" attribute (in the handleException
method of LinearProcessor). Btw. the latter function seems to contain
unused code which determines the root of the exception chain.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]