Support / KnowledgeBase

 
Search the KnowledgeBase Search

Enabling queuelifetime for qmail

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 20 minutes

  • Tools needed: SSH, root or sudo access

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: SSH, root or sudo access

Overview

This guide will show you how to enable the queuelifetime option in Plesk. This is a file that 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.

Requirements

Before you start, this article has the following dependencies:

READ ME FIRST

The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please take a moment to review the Statement of Support.

Instructions

1. Access your (dv) as the root user via SSH.

2. Run the following commands, one at a time. These commands create the queuelifetime file and then restarts qmail.

echo "259200" > /var/qmail/control/queuelifetime
/etc/init.d/qmail restart

When 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)

Resources


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