diff --git a/en_US/howto/enable.dnsbl.md b/en_US/howto/enable.dnsbl.md index 7a9f40e4..aa912d92 100644 --- a/en_US/howto/enable.dnsbl.md +++ b/en_US/howto/enable.dnsbl.md @@ -39,7 +39,7 @@ response code. ``` postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[2..11]*3 - b.barracudacentral.org=127.0.0.[2..11]*2 + b.barracudacentral.org=127.0.0.2*2 ``` * Restart or reload Postfix service is required. diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md b/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md index 01280a51..7e630db3 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.7-0.9.8.md @@ -16,8 +16,9 @@ * TODO [SQL backends] Update SQL structure: * New column: `domain.maillists` * New table: `vmail.maillists` -* TODO Update Postfix main.cf: `b.barracudacentral.org=127.0.0.[2..11]*2` -> `b.barracudacentral.org=127.0.0.2*2` -* TODO Update sogo backup script. +* Oct 6, 2017: Fixed: SOGo backup script contains 2 issues +* Oct 6, 2017: [OPTIONAL] Fix improper expected DNSBL filter for site `b.barracudacentral.org` +* Oct 6, 2017: [OPTIONAL] Log mail subject, sender, size in mail deliver log. ## General (All backends should apply these steps) @@ -36,6 +37,59 @@ so that you can know which version of iRedMail you're running. For example: Please follow below tutorial to upgrade iRedAPD to the latest stable release: [Upgrade iRedAPD to the latest stable release](./upgrade.iredapd.html) +### Fixed: SOGo backup script contains 2 issues + +SOGo backup script `/var/vmail/backup/backup_sogo.sh` shipped in iRedMail-0.9.7 +and earlier releases contains 2 issues: +- it cannot remove old backup files +- it doesn't set correct owner and permission on backup files + +To fix them, please download the latest version and override the one on your +system: + +``` +cd /var/vmail/backup/ +wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh +chown root backup_sogo.sh +chmod 0400 backup_sogo.sh +``` + +### [OPTIONAL] Fix improper expected DNSBL filter for site `b.barracudacentral.org` + +Postfix config file generated by iRedMail enables DNSBL service for postscreen +service like below: + +``` +postscreen_dnsbl_sites = + zen.spamhaus.org=127.0.0.[2..11]*3 + b.barracudacentral.org=127.0.0.[2..11]*2 +``` + +but site `b.barracudacentral.org` returns only domain `127.0.0.2` (instead of +a range from `127.0.0.2` to `127.0.0.11`), so we should change the +`b.barracudacentral.org=127.0.0.[2..11]*2` line to: + +``` +postscreen_dnsbl_sites = + zen.spamhaus.org=127.0.0.[2..11]*3 + b.barracudacentral.org=127.0.0.2*2 +``` + +Reloading or restarting Postfix is required. + +### [OPTIONAL] Log mail subject, sender, size in mail deliver log + +If you may need to get more info of (locally) delivered mail messages, +Dovecot setting `deliver_log_format` can log extra mail subject, sender, and +message size in mail deliver log. Please append this setting in Dovecot config +file `dovecot.conf`, then restart or reload Dovecot service. +* On Linux/OpenBSD, it's `/etc/dovecot/dovecot.conf` +* On FreeBSD, it's `/usr/local/etc/dovecot/dovecot.conf` + +``` +deliver_log_format = from=%{from}, envelope_sender=%{from_envelope}, subject=%{subject}, msgid=%m, size=%{size}, %$ +``` + ## MySQL/MariaDB backends ### Fixed: User under disabled domain is able to send email with smtp protocol diff --git a/html/enable.dnsbl.html b/html/enable.dnsbl.html index 0d3bd105..b73fe08b 100644 --- a/html/enable.dnsbl.html +++ b/html/enable.dnsbl.html @@ -52,7 +52,7 @@ response code.
postscreen_dnsbl_sites =
zen.spamhaus.org=127.0.0.[2..11]*3
- b.barracudacentral.org=127.0.0.[2..11]*2
+ b.barracudacentral.org=127.0.0.2*2
vmail.maillists
b.barracudacentral.org=127.0.0.[2..11]*2
-> b.barracudacentral.org=127.0.0.2*2
b.barracudacentral.org
/etc/iredmail-release
with new iRedMail version numberPlease follow below tutorial to upgrade iRedAPD to the latest stable release: Upgrade iRedAPD to the latest stable release
+SOGo backup script /var/vmail/backup/backup_sogo.sh
shipped in iRedMail-0.9.7
+and earlier releases contains 2 issues:
+- it cannot remove old backup files
+- it doesn't set correct owner and permission on backup files
To fix them, please download the latest version and override the one on your +system:
+cd /var/vmail/backup/
+wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
+chown root backup_sogo.sh
+chmod 0400 backup_sogo.sh
+
+
+b.barracudacentral.org
Postfix config file generated by iRedMail enables DNSBL service for postscreen +service like below:
+postscreen_dnsbl_sites =
+ zen.spamhaus.org=127.0.0.[2..11]*3
+ b.barracudacentral.org=127.0.0.[2..11]*2
+
+
+but site b.barracudacentral.org
returns only domain 127.0.0.2
(instead of
+a range from 127.0.0.2
to 127.0.0.11
), so we should change the
+b.barracudacentral.org=127.0.0.[2..11]*2
line to:
postscreen_dnsbl_sites =
+ zen.spamhaus.org=127.0.0.[2..11]*3
+ b.barracudacentral.org=127.0.0.2*2
+
+
+Reloading or restarting Postfix is required.
+If you may need to get more info of (locally) delivered mail messages,
+Dovecot setting deliver_log_format
can log extra mail subject, sender, and
+message size in mail deliver log. Please append this setting in Dovecot config
+file dovecot.conf
, then restart or reload Dovecot service.
+ On Linux/OpenBSD, it's /etc/dovecot/dovecot.conf
+ On FreeBSD, it's /usr/local/etc/dovecot/dovecot.conf
deliver_log_format = from=%{from}, envelope_sender=%{from_envelope}, subject=%{subject}, msgid=%m, size=%{size}, %$
+
+
Dovecot is IMAP/POP3/Managesieve server, also a SASL auth server for Postfix.