Postfix, mail queue time to live

Discussion in 'Server Operation' started by Hagforce, Mar 19, 2013.

  1. Hagforce

    Hagforce New Member

    Hi

    I see that outgoing emails that can not be delivered for different reasons from my server, may sit in the queue for several days before postfix gives up, and sends error notice to sender.
    How can I set a time limit for how long the server shuld try to deliver the message?
     
  2. almere

    almere Member HowtoForge Supporter

    maximal_queue_lifetime
    Default value is 5d

    so:
    Code:
    maximal_queue_lifetime 2d
     
  3. Hagforce

    Hagforce New Member

    Thanks, worked great! :)
     

Share This Page