On Mon, Apr 27, 2015 at 07:12:46AM -0400, Wietse Venema wrote: > > For the parameters maximal_queue_lifetime? and bounce_queue_lifetime > > default values are 5d (5 days).? Due to overquota, the mail remains in the > > queue for 5 days.? Is there a way by which a sender can be notified that > > mail has not yet been delivered to the recipient, and it will be retried > > for few more days for delivery? > > > > Is setting delay_warning_time the correct solution? > > Yes. The default message looks like:
That said, better yet is to configure your system so that messages to over-quota mailboxes bounce immediately, rather than tempfail. Then there are no delays and the sender receives a timely bounce. Many sites configure an access(5) table that lists over-quota users, so that the mail is never accepted in the first place, the bounce is generated by the sending system. -- Viktor.