ServerTune Logo Dedicated Servers Colocation VPS Server Management ServerTune.com
 
ServerTune HomeAbout usContact usHelp DeskKnowledgebaseSpecialLIVE Chat ServerTune
DirectAdmin VPS Server Management

Value, Power, and Performance :: Dedicated Servers starting $89 /month

Dedicated Server Hosting

Click here to view photos from the conferences we attended.   *** Follow ServerTune on: ServerTune is on Facebook ServerTune is on Twitter
 
Browse by category   Search
 


How can I change queue lifetime for Qmail?
Printer Friendly
email to a friend
Email to friend
Add comment Add comment
Views: 1483
Votes: 0
Comments: 0
Posted: 06 Jun, 2007
by: Customer Service :: S.
* * * * *
Updated: 29 Jun, 2007
by: Customer Service :: S.

This parameter can be changed in Qmail's control directory. The default setting is to keep attempting to send an email for 7 days. The parameter value is seconds.

If you only wanted to keep emails for 4 days: 4 days * 24 hours * 60 minutes * 60 seconds would equal 345600.

    [root@plesklinux control]# /bin/qmail-showctl | grep life
    queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
    [root@plesklinux control]# echo 345600 > queuelifetime
    [root@plesklinux control]# /etc/init.d/qmail restart
    [root@plesklinux control]# ../bin/qmail-showctl | grep life
    queuelifetime: Message lifetime in the queue is 345600 seconds.
Other articles in this Category
document HowTo :: configure Qmail to run on another Port on Plesk powered server?
document HowTo :: compile in patches to Qmail with Plesk?



RSS

Control Panel Licensing
cPanel Plesk Miva Merchant