From ac10f0955333040b6d4c4ad70b7712fcc5ff6b5d Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Fri, 23 Jul 2021 16:53:27 +0800 Subject: [PATCH] Typo --- en_US/iredadmin/2-iredadmin-pro.custom.ban.rules.md | 5 +++++ html/iredadmin-pro.custom.ban.rules.html | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/en_US/iredadmin/2-iredadmin-pro.custom.ban.rules.md b/en_US/iredadmin/2-iredadmin-pro.custom.ban.rules.md index 3a4c85d8..e2da1492 100644 --- a/en_US/iredadmin/2-iredadmin-pro.custom.ban.rules.md +++ b/en_US/iredadmin/2-iredadmin-pro.custom.ban.rules.md @@ -21,6 +21,11 @@ iRedMail-1.4.1 ships 4 builtin Amavisd ban rules, they're defined in ); ``` +- `ALLOW_MS_OFFICE`: Allow all Microsoft Office documents. +- `ALLOW_MS_WORD`: Allow Microsoft Word documents (`.doc`, `.docx`). +- `ALLOW_MS_EXCEL`: Allow Microsoft Excel documents (`.xls`, `.xlsx`). +- `ALLOW_MS_PPT`: Allow Microsoft PowerPoint documents (`.ppt`, `.pptx`). + ## Add new ban rules You're free to add new ban rules inside `%banned_rules = ();` parameter. diff --git a/html/iredadmin-pro.custom.ban.rules.html b/html/iredadmin-pro.custom.ban.rules.html index 36c04efc..e9bb9c18 100644 --- a/html/iredadmin-pro.custom.ban.rules.html +++ b/html/iredadmin-pro.custom.ban.rules.html @@ -47,6 +47,12 @@ ); +

Add new ban rules

You're free to add new ban rules inside %banned_rules = (); parameter. For example, let's add new rule BLOCK_COMPRESS to block few compress file