Limit Sending/Receipt Email Per day, Per Week or Per Month Rumi, September 12, 2023 For activating module accounting, open webui via browser http://>zimbra-host>:7780/webui/index.php choose accounting | configure. Select add, and fill with the following example Name : Rate limit perday Link to policy : Default Track : Sender:@domain . You can choose with your choice Period : Daily Message Count Limit : 5000 Message Cumulative Size Limit : empty. I am not using cumulative size Verdict : HOLD. Data : You can fill with information if policy has been fulfilled. for example, you can fill with "Sorry, your maximum email perday have been full" Stop processing here : No Comment : You can fill with comment or emptied Disabled : No If no tables for module accounting and get information “no such table” while create rule, you can manually adding tables accounting to sqlite. cd /opt/zimbra/cbpolicyd/share/database/ ./convert-tsql sqlite accounting.tsql > /tmp/accounting.sql vi /tmp/accounting.sql Delete all lines starting with # (comment) and saved. Inject database to sqlite sqlite3 /opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb < /tmp/accounting.sql Don’t forget to enable accounting module on Zimbra su - zimbra zmprov ms `zmhostname` zimbraCBPolicydAccountingEnabled TRUE zmcbpolicydctl restart please check log cbpolicyd.log and you can get information like below [2014/11/29-21:33:37 - 27354] [CORE] INFO: module=Accounting, mode=update, host=127.0.0.1, helo=mail.example.com, from=user@example.com, to=user2@gmail.com, reason=accounting_update, policy=1, accounting=2, track=Sender:@example.com, period=2014-11-29, count=2/5000 (0.0%), size=0/- Ref: How To Limit Sending/Receipt Email Per day, Per Week or Per Month Zimbra Tips : How To Configure Rate Limit Sending Message on PolicyD Related Administrations Collected Articles Configurations (Linux) PolicyDRate Limitingzimbra
Remove Old Kernels of Debian/Ubuntu April 1, 2022 To find out the current version of Linux kernel running on your system, use the following command. $ uname -sr Linux 4.12.0-041200-generic To list all installed kernels on your system, issue this command. $ dpkg -l | grep linux-image | awk ‘{print$2}’ linux-image-4.12.0-041200-generic linux-image-4.8.0-22-generic linux-image-extra-4.8.0-22-generic linux-image-generic Remove Old Unused Kernels… Read More
Openfiler Install NRPE January 1, 2013January 1, 2013 INSTALL Compiler Dependency conary update gcc (a C-Compilter to compile the NRPE) conary update glibc:devel conary update openssl:devel conary update xinetd Add User ——– useradd nagios passwd nagios INSTALL NRPE ———— cd /usr/local/src/ wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz?r=http%3A%2F%2Fexchange.nagios.org%2Fdirectory%2FAddons%2FMonitoring-Agents%2FNRPE–2D-Nagios-Remote-Plugin-Executor%2Fdetails&ts=1342427280&use_mirror=nchc tar xzfv nrpe-2.12.tar.gz cd nrpe-2.12 Related Read More
OpenLDAP introduction January 16, 2012 This document describes how to build, configure, and operate OpenLDAP Software to provide directory services. This includes details on how to configure and run the Standalone LDAP Daemon, slapd(8). It is intended for new and experienced administrators alike. This section provides a basic introduction to directory services and, in particular,… Read More