Queue lifetime?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Queue lifetime?

Post by killmasta93 »

Hi,
Im currently trying to change the life time to 1d by default its 5d i tried running this in zimbra user

Code: Select all

 postconf -e maximal_queue_lifetime=1d
but once i restart the service or reboot it goes back to 5d, i also tried adding it to the main.cf but still goes back to 5d
any ideas?
Thank you
User avatar
king0770
Outstanding Member
Outstanding Member
Posts: 242
Joined: Fri Sep 12, 2014 10:44 pm
Contact:

Re: Queue lifetime?

Post by king0770 »

Try updating zimbraMtaMaximalQueueLifetime.

zmprov mcf zimbraMtaMaximalQueueLifetime 1d

or

zmprov ms mta.example.com zimbraMtaMaximalQueueLifetime 1d

zmmtactl restart
--
Rick King
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Re: Queue lifetime?

Post by killmasta93 »

Thank you so much that did the trick i guess should be changed on the Wiki https://wiki.zimbra.com/wiki/Tuning_Pos ... e_Settings
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Queue lifetime?

Post by DualBoot »

May I suggest : 1 day is a bad idea unless you work everyday to check the mailqueue.
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Re: Queue lifetime?

Post by killmasta93 »

well on my old postfix server i had 5 days and had to change to 1 day because what happened one time, an important email was to be sent and it was in the queue for 5 days because the client email server some odd reason blocked our IP so it could not Telnet the port 25 and boy did i get yelled at. so in 24 hours if the email was not sent it alerts the user
Thank you again
Post Reply