• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to emails from the queue after a few days

qualispace

Regular Pleskian
Hello,
I am running Qmail in a Red Hat ES 3.0 box. While checking the queue in the Qmail, I can see that there are lot of emails which are undelivered but still in the queue. Some of the emails are older than 7 days. I want to know how can I delete emails from the queue if they are older than a few days. For example, if an email is in the queue for 3 days or more, it should get deleted automatically. Kindly help me with this.
 
The default is approx. 7 days. If you want the mail to be dumped quicker, then create a file called queuelifetime in the /var/qmail/control folder and inside of it set the queue lifetime in seconds (4 days = 345600, for example).
 
Back
Top