PolicyD Amavis Module Activation
PolicyD Amavis Module Activation
Dear All,
I'm trying activate Amavis module in PolicyD. Even-though the cbpolicyd.conf shows it as active the log file says Amavis module disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => AccessControl: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Accounting: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Amavis: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => CheckHelo: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => CheckSPF: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Greylisting: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Quotas: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Protocol(Postfix): enabled
Please assist me on how to activate Amavis module on CBPolicyD.
Thanks in Advance.
I'm trying activate Amavis module in PolicyD. Even-though the cbpolicyd.conf shows it as active the log file says Amavis module disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => AccessControl: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Accounting: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Amavis: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => CheckHelo: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => CheckSPF: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Greylisting: disabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Quotas: enabled
[2018/10/25-08:28:43 - 50037] [CORE] NOTICE: => Protocol(Postfix): enabled
Please assist me on how to activate Amavis module on CBPolicyD.
Thanks in Advance.
Re: PolicyD Amavis Module Activation
Have you looked at either of the two wiki articles on enabling and configuring PolicyD?
- DualBoot
- 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: PolicyD Amavis Module Activation
Hello,
did you set zimbraCBPolicydAmavisEnabled to true at global configuration or/and at server level ?
Regards,
did you set zimbraCBPolicydAmavisEnabled to true at global configuration or/and at server level ?
Regards,
Re: PolicyD Amavis Module Activation
Dear Both Thanks for the replies.
Yes I checked wiki articles on enabling and configuring PolicyD and followed the same process.
I set zimbraCBPolicydAmavisEnabled in global level using "zmprov ms `zmhostname` zimbraCBPolicydAmavisEnabled TRUE" command and I can see the module is enabled in cbpolicyd.conf file (refer the attchment)
Kindly assist.
Yes I checked wiki articles on enabling and configuring PolicyD and followed the same process.
I set zimbraCBPolicydAmavisEnabled in global level using "zmprov ms `zmhostname` zimbraCBPolicydAmavisEnabled TRUE" command and I can see the module is enabled in cbpolicyd.conf file (refer the attchment)
Kindly assist.
- Attachments
-
- Capture.PNG (16.33 KiB) Viewed 6109 times
- DualBoot
- 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: PolicyD Amavis Module Activation
Hello,
Regards,
Does not set the setting at global level, for that you need to runI set zimbraCBPolicydAmavisEnabled in global level using "zmprov ms `zmhostname` zimbraCBPolicydAmavisEnabled TRUE"
Code: Select all
zmprov mcf zimbraCBPolicydAmavisEnabled TRUE
Re: PolicyD Amavis Module Activation
Dear DualBoot,
Tried enabling global level with the code given, but no chance.
[2018/11/19-21:13:39 - 5232] [CBPOLICYD] NOTICE: Module load started...
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => AccessControl: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Accounting: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Amavis: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => CheckHelo: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => CheckSPF: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Greylisting: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Quotas: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Protocol(Postfix): enabled
[2018/11/19-21:13:39 - 5232] [CBPOLICYD] NOTICE: Module load done.
Any idea how to activate this module? or any other ways to configure attachment limit user wise?
Tried enabling global level with the code given, but no chance.
[2018/11/19-21:13:39 - 5232] [CBPOLICYD] NOTICE: Module load started...
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => AccessControl: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Accounting: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Amavis: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => CheckHelo: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => CheckSPF: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Greylisting: disabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Quotas: enabled
[2018/11/19-21:13:39 - 5232] [CORE] NOTICE: => Protocol(Postfix): enabled
[2018/11/19-21:13:39 - 5232] [CBPOLICYD] NOTICE: Module load done.
Any idea how to activate this module? or any other ways to configure attachment limit user wise?
Re: PolicyD Amavis Module Activation
How about confirming it's enabled status by running the following command:
Code: Select all
zmprov gcf zimbraCBPolicydAmavisEnabled
Re: PolicyD Amavis Module Activation
I have the same problem. Is there a solution?
In /opt/zimbra/conf/cbpolicyd.conf
and
But when I start cbpolicyd in log I see
Сan anyone help me?
Code: Select all
[zimbra@mail cbpolicyd]$ zmprov gs `zmhostname` zimbraCBPolicydAmavisEnabled
# name myserver
zimbraCBPolicydAmavisEnabled: TRUE
[zimbra@mail cbpolicyd]$ zmprov gcf zimbraCBPolicydAmavisEnabled
zimbraCBPolicydAmavisEnabled: TRUE
Code: Select all
# Modules to load
modules=<<EOT
Core
AccessControl
Accounting
Amavis
CheckHelo
CheckSPF
Greylisting
Quotas
EOT
Code: Select all
# Amavis module
[Amavis]
enable=1 # Disabled by default
Code: Select all
[2019/10/28-23:03:10 - 4304] [CORE] NOTICE: => Amavis: disabled
Re: PolicyD Amavis Module Activation
Hello,
a simple hint should help you:
After that is simple.
Bye
a simple hint should help you:
Code: Select all
zmprov gs <your server > | grep Accounting
Bye
Re: PolicyD Amavis Module Activation
After that, in cbpolicyd log I see:
Amavis module is still disabled.[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => AccessControl: enabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => Accounting: enabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => Amavis: disabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => CheckHelo: disabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => CheckSPF: disabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => Greylisting: enabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => Quotas: enabled
[2020/01/15-18:55:57 - 2609] [CORE] NOTICE: => Protocol(Postfix): enabled