next_delay_dsn — Override sending of DSN notifications.
int **delay_dsn_next_delay_dsn** ( | closure, | |
| | mess, | |
| | now, | |
| | when
); | |
The delay_dsn module allows delivery status notifications (DSNs) to be sent to the sender of a message, when that message has not yet been delivered. By default, no delay DSNs are sent.
Use this hook to override when the next delay notification for a message will be sent by the
now is the current epoch time.
when is the epoch time when the next notification should be sent.
A pointer to the closure.
The ec_message. For a description of this data type see ec_message.
The current epoch time.
The epoch time when the next notification should be sent.
GENERATE_DELAY_DSN_HOOK_CONT is returned, processing will fallback to other modules and then to the configuration. If
GENERATE_DELAY_DSN_HOOK_OK is returned, then processing will terminate and the value passed back via
when will be used.
This hook will be invoked in the