[exim-dev] [Bug 1183] New: Report success if a delay_warning…

Top Page

Reply to this message
Author: Simon Arlott
To: exim-dev
Subject: [exim-dev] [Bug 1183] New: Report success if a delay_warning email was sent
------- You are receiving this mail because: -------
You are on the CC list for the bug.

           Summary: Report success if a delay_warning email was sent
           Product: Exim
           Version: 4.73
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: bugzilla.exim.simon@???
                CC: exim-dev@???

Based on delay_warning and delay_warning_condition, an email is sent to the
sender if delivery is delayed.

When the email is finally delivered it would be helpful to be able to send an
email the sender to inform them that it has now been delivered (and list the
recipients that were delayed but now successful).

This would need to have its own condition expansion as it would be
inappropriate to send another email for mailing lists and so that it can be
enabled/disabled based on the sender/recipient/an ACL variable.

The condition expansion would need to return one of three values to indicate
how to handle to an email with multiple delayed recipients.
none: do not send a success email
immediate: send a success email after every delivery attempt that results in
at least one successful delivery (there may be multiple new successful
final: send a single success email when deliveries have now been successful

If using "immediate" then there may be two emails for a delivery attempt if a
new warning email is also due. There may also be two emails when some
recipients have now failed. This is appropriate as the success emails should
have a different subject from "Warning: message ID delayed X time", e.g.
"Notification: message ID delivered".

Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email