Mail Queue Settings changes to defaults

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
alwaysk2
Posts: 9
Joined: Fri Nov 18, 2016 10:25 am

Mail Queue Settings changes to defaults

Postby alwaysk2 » Fri Nov 25, 2016 4:19 pm

Apologies but I searched a lot for my answer on the forum but did not get any answer so thought to post it a topic if someone helps.

[zimbra@mail root]$ zmcontrol -v
Release 8.7.1_GA_1670.RHEL7_64_20161025045328 RHEL7_64 FOSS edition.


I am trying to setup some mail queue settings permanently in main.cf but they are getting reset and coming on to default values.

None of the below commands are setting up values in postfix over zimbra user.

Code: Select all

postconf -e maximal_queue_lifetime=0
postconf -e bounce_queue_lifetime=0
postfix reload


Another way:

Code: Select all

zmlocalconfig -e postfix_bounce_queue_lifetime=0
zmlocalconfig -e postfix_maximal_queue_lifetime=0
postfix reload


Once I hit postfix reload command it removes new values and sets up default values to = 5d.

Is there any other process that needs to be followed to set this?


User avatar
DualBoot
Elite member
Elite member
Posts: 1305
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Mail Queue Settings changes to defaults

Postby DualBoot » Fri Nov 25, 2016 7:25 pm

settings have moved to ldap :

Code: Select all

zimbra@srv-zproxy01:~$ zmprov gs $(zmhostname) | grep 5d$
zimbraMtaBounceQueueLifetime: 5d
zimbraMtaMaximalQueueLifetime: 5d
zimbra@srv-zproxy01:~$
alwaysk2
Posts: 9
Joined: Fri Nov 18, 2016 10:25 am

Re: Mail Queue Settings changes to defaults

Postby alwaysk2 » Fri Dec 09, 2016 5:35 am

Thank you for your guidance, however I am newbie to zimbra. How can we change these values?
phoenix
Ambassador
Ambassador
Posts: 26674
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Mail Queue Settings changes to defaults

Postby phoenix » Fri Dec 09, 2016 6:58 am

alwaysk2 wrote:Thank you for your guidance, however I am newbie to zimbra. How can we change these values?
Try searching the forums and the wiki, this subject has been covered many times.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
alwaysk2
Posts: 9
Joined: Fri Nov 18, 2016 10:25 am

Re: Mail Queue Settings changes to defaults

Postby alwaysk2 » Fri Dec 09, 2016 12:25 pm

I already tried searching this but all wiki and forum comes to following commands which does not put new values as permanent.

https://wiki.zimbra.com/wiki/Tuning_Postfix_Queue_Settings#To_reconfigure_the_queue_lifetime


Code: Select all

postconf -e maximal_queue_lifetime=0
postconf -e bounce_queue_lifetime=0
zmlocalconfig -e postfix_bounce_queue_lifetime=0
zmlocalconfig -e postfix_maximal_queue_lifetime=0


Can it be a bug?
User avatar
DualBoot
Elite member
Elite member
Posts: 1305
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Mail Queue Settings changes to defaults

Postby DualBoot » Fri Dec 09, 2016 2:43 pm

The wiki is not up to date.
If a setting has moved to the ldap, the zmprov should be the tool you need to use.
alwaysk2
Posts: 9
Joined: Fri Nov 18, 2016 10:25 am

Re: Mail Queue Settings changes to defaults

Postby alwaysk2 » Fri Dec 09, 2016 6:46 pm

Thanks dualboot for giving idea.

Following commands solved the issue:

Code: Select all

zmprov mcf zimbraMtaBounceQueueLifetime 0
zmprov mcf zimbraMtaMaximalQueueLifetime 0


hope this helps others.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 6 guests