Save up to 30% on Dedicated Servers – Chat Now!

Your Webhosting Questions
Answered by the Webhosting Experts
Tags +
...
Tags
...
...

Change queue lifetime for Qmail

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.

[[email protected] control]# ls queuelifetime
ls: queuelifetime: No such file or directory
[[email protected] control]# ../bin/qmail-showctl | grep life
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
[[email protected] control]# echo 345600 > queuelifetime
[[email protected] control]# /etc/init.d/qmail restart
Starting qmail: [ OK ]
[[email protected] control]# ../bin/qmail-showctl | grep life
queuelifetime: Message lifetime in the queue is 345600 seconds.
[[email protected] control]#

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: [email protected] We are also available to you through our phone and live chat system 24/7/365.