From 8e08d3aca16a0b1639dbd303dcc1a0fe1859ec68 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Mon, 27 Apr 2020 10:04:51 +0800 Subject: [PATCH] Mention updating SA and iRedAPD config file to sync trusted clients from Postfix 'mynetworks'. --- .../8-migrate.to.iredmail.easy.md | 18 ++++++++++++++++++ html/migrate.to.iredmail.easy.html | 14 ++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/en_US/iredmail-easy/8-migrate.to.iredmail.easy.md b/en_US/iredmail-easy/8-migrate.to.iredmail.easy.md index ee389515..9089ab1e 100644 --- a/en_US/iredmail-easy/8-migrate.to.iredmail.easy.md +++ b/en_US/iredmail-easy/8-migrate.to.iredmail.easy.md @@ -162,6 +162,15 @@ files under `/opt/iredmail/custom//`. Split custom settings from `/etc/mail/spamassassin/local.cf` to `/opt/iredmail/custom/spamassassin/custom.cf`. +If you have whitelisted IP addresses/networks listed in Postfix config file +`/etc/postfix/main.cf`, parameter `mynetworks =`, you may want to whitelist +them to avoid spam/virus scanning in `/opt/iredmail/custom/spamassassin/custom.cf` +too. For example: + +``` +trusted_networks 192.168.0.1 172.16.0.0/8 +``` + ### Roundcube Webmail * Copy custom settings from `/opt/www/roundcubemail/config/config.inc.php` to `/opt/iredmail/custom/roundcube/config/custom.inc.php`. @@ -172,6 +181,15 @@ Split custom settings from `/etc/mail/spamassassin/local.cf` to Copy custom settings from `/opt/iredapd/settings.py` to `/opt/iredmail/custom/iredapd/settings.py`. +If you have whitelisted IP addresses/networks listed in Postfix config file +`/etc/postfix/main.cf`, parameter `mynetworks =`, you may want to whitelist +them to avoid greylisting or other access control in `/opt/iredmail/custom/iredapd/settings.py` +too. For example: + +``` +MYNEWTORKS = ['192.168.0.1', '172.16.0.0/8'] +``` + ### iRedAdmin(-Pro) Copy custom settings from `/opt/www/iredadmin/settings.py` to `/opt/iredmail/custom/iredadmin/settings.py`. diff --git a/html/migrate.to.iredmail.easy.html b/html/migrate.to.iredmail.easy.html index 8290d3b7..7888e54a 100644 --- a/html/migrate.to.iredmail.easy.html +++ b/html/migrate.to.iredmail.easy.html @@ -299,6 +299,13 @@ details, please check our

SpamAssassin

Split custom settings from /etc/mail/spamassassin/local.cf to /opt/iredmail/custom/spamassassin/custom.cf.

+

If you have whitelisted IP addresses/networks listed in Postfix config file +/etc/postfix/main.cf, parameter mynetworks =, you may want to whitelist +them to avoid spam/virus scanning in /opt/iredmail/custom/spamassassin/custom.cf +too. For example:

+
trusted_networks 192.168.0.1 172.16.0.0/8
+
+

Roundcube Webmail

iRedAPD

Copy custom settings from /opt/iredapd/settings.py to /opt/iredmail/custom/iredapd/settings.py.

+

If you have whitelisted IP addresses/networks listed in Postfix config file +/etc/postfix/main.cf, parameter mynetworks =, you may want to whitelist +them to avoid greylisting or other access control in /opt/iredmail/custom/iredapd/settings.py +too. For example:

+
MYNEWTORKS = ['192.168.0.1', '172.16.0.0/8']
+
+

iRedAdmin(-Pro)

Copy custom settings from /opt/www/iredadmin/settings.py to /opt/iredmail/custom/iredadmin/settings.py.

Run the full deployment with iRedMail Easy platform