[Djigzo users] Delivery Status Notification (DSN)

Martijn Brinkers martijn at djigzo.com
Thu Oct 27 15:55:53 CEST 2011

On 10/27/2011 11:39 AM, Jay R. Worthington wrote:
> i'm not sure if this is a bug, an "unwanted feature" or just a
> conceptual problem, but DSN's (Thunderbird -> Options -> Delivery
> Status Notifications) don't work:
> This is the mail system at host djigzo
> Your message was successfully delivered to the destination(s)
> listed below. If the message was delivered to mailbox you will
> receive no further notifications. Otherwise you may still receive
> notifications of mail delivery errors from other systems.
>                    The mail system
> <email at email.com> <email at email.com>: delivery via
>[]:10025: 250 2.6.0
>     Message received
>>From a technical standpoint, this might be right, the mail IS
> terminated at djigzo on javamail, but it's probably not what people
> expect to happen... Is this something that can easily be fixed (by not
> parsing the dsn-header in java-mail), or would this involve a lot of
> new code?

Basic DSN support (i.e., delivery notification) is available but not
enabled by default. To enable basic DSN (delivery notification) do the

1. Enable extendedSMTPTransport in config.xml

In config.xml (found in /usr/share/djigzo/conf/james/SAR-INF) set
extendedSMTPTransport to true for the remote delivery mailet:

<extendedSMTPTransport> true </extendedSMTPTransport>

2. Enable DSN in james-smtphandlerchain.xml

in james-smtphandlerchain.xml (found in
/usr/share/djigzo/conf/james/conf) set the dsn property to true for


3. Enable DSN in Postfix

The default main.cf that comes with Djigzo does not enable DSN. Remove
dsn from smtpd_discard_ehlo_keywords:

smtpd_discard_ehlo_keywords = silent-discard, etrn

4. Restart Djigzo and Postfix

Since you reported that the delivery notification was sent when it was
delivered to localhost (see top of email) it seems that you already
enabled DSN in Postfix (step 3).

Hope this helps...

Kind regards,

Martijn Brinkers

Djigzo open source email encryption

More information about the Users mailing list