VPS
Main PagecPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Control Panel Licensing
ServerTune ResellersResellersSpecial PromotionsServerTune SpecialsHomeAbout ServerTuneContact usTechnical SupportKB
ServerTune Main Page
Space
Space
Our most popular service/products:

SPECIAL PROMOTION:
Order any of our dedicated servers and get $20 OFF the base price.. Click here for more info...

Issues, Tips, and Solutions

How is ServerTune different from other companies?

*** Accessing ServerTune's Knowledgebase

Space
Search:    Advanced search
Browse by category:
How can I change queue lifetime for Qmail?
Printer Friendly
email to a friend
Add comment Add comment
Views: 420
Votes: 0
Comments: 0
Posted: 06 Jun, 2007
by: Support T.
* * * * *
Updated: 29 Jun, 2007
by: Support T.

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