Enabling queuelifetime for Qmail
This guide will show you how to enable the queuelifetime option in Plesk. This file defines how long your server will attempt to process or deliver an email before bouncing it to the originating sender defined in the header of the email message.
- Login to your (dv) (dpv) Dedicated-Virtual Server as the root user.
- Run the following command as this creates the queuelifetime file and then restarts Qmail.
echo "259200" > /var/qmail/control/queuelifetime /etc/init.d/qmail restart - Once the maximum time has been met the message will bounce.
TIP:
The value in this file must be in seconds. Here are some examples you can use:
- 86400 (one day)
- 259200 (three days)
- 432000 (five days)
Revisions:
02-18-2009: Fixed error in code string.
12-10-2008: Article Creation
Fields marked with an asterisk(*) are required. Comment on this article