set_delayed_queue_event

March 26, 2020 Contributors

Name

set_delayed_queue_event — Schedule a mail queue maintainer for this mail_queue

Synopsis

#include "mail_queue.h"

| void **set_delayed_queue_event** ( | mq, |   |
|   | now); |   |

mail_queue * <var class="pdparam">mq</var>;
struct timeval * <var class="pdparam">now</var>;

Description

Schedule a mail queue maintainer for this mail_queue.

Parameters

mq

A pointer to a mail_queue struct. For documentation of this data structure see “mail_queue”.

now

A pointer to a timeval struct, which may be NULL.

**Configuration Change. ** Prior to version 3.0, NULL was not an allowed value.

Return Values

This function returns void.

Threading

It is only legal to call this function in the Scheduler thread.

See Also

mail_queue_size, mail_queue_delayed_size, and mail_queue_purge_domain_binding.