Hello to everyone.
I using latest version of ZCS Open Source.
I want to edit freshclam.conf because we need to use use PrivateMirror option.
After editing this file i try to restart service and see that config was owerriten by old value.
How i can fix it?
Can't edit freshclam.conf
- andras0602
- Advanced member
- Posts: 62
- Joined: Sat May 21, 2022 3:11 pm
- ZCS/ZD Version: 8.8.15
Re: Can't edit freshclam.conf
I checked one of my Zimbra v8 server (I was not brave enough to update 9 yet) and found this value:
Don't you need exactly this? If yes, I would check the same value and try
But don't forget to make these with the zimbra user!
Code: Select all
[zimbra@mail ~]$ zmprov gcf zimbraClamAVDatabaseMirror
zimbraClamAVDatabaseMirror: db.us.clamav.net
Code: Select all
zmprov mcf zimbraClamAVDatabaseMirror your.private.mirror.address
- L. Mark Stone
- Ambassador
- Posts: 2802
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: Can't edit freshclam.conf
One other thing to keep in mind is that Zimbra, when restarted, destroys and recreates (almost) all of the services configuration files, based on data found in LDAP, localconfig and any *.in files.
Consequently, when you make manual changes to like Postfix's main.cf, these changes are lost upon a restart.
Hope that helps,
Mark
Consequently, when you make manual changes to like Postfix's main.cf, these changes are lost upon a restart.
Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Re: Can't edit freshclam.conf
Thanks for your unswer!
I think that this what i need.
I will try to use this way.
I think that this what i need.
I will try to use this way.
andras0602 wrote:I checked one of my Zimbra v8 server (I was not brave enough to update 9 yet) and found this value:Don't you need exactly this? If yes, I would check the same value and tryCode: Select all
[zimbra@mail ~]$ zmprov gcf zimbraClamAVDatabaseMirror zimbraClamAVDatabaseMirror: db.us.clamav.net
But don't forget to make these with the zimbra user!Code: Select all
zmprov mcf zimbraClamAVDatabaseMirror your.private.mirror.address
Re: Can't edit freshclam.conf
Great unswer. This totaly explain my situation.
Thank you.
Thank you.
L. Mark Stone wrote:One other thing to keep in mind is that Zimbra, when restarted, destroys and recreates (almost) all of the services configuration files, based on data found in LDAP, localconfig and any *.in files.
Consequently, when you make manual changes to like Postfix's main.cf, these changes are lost upon a restart.
Hope that helps,
Mark