Support / KnowledgeBase

 
Search the KnowledgeBase Search

Enabling queuelifetime for Qmail

  • Applies to: All (dv)

  • Difficulty: Easy

  • Time needed: 15 minutes

  • Tools needed: ssh, root

 

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.

  1. Login to your (dv) (dpv) Dedicated-Virtual Server as the root user.
  2. 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
    
  3. 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

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue