From 3527dc778d34ac8ae71fe2f164a935a585df29c1 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Thu, 12 Nov 2015 12:35:43 +0800
Subject: [PATCH] Add new alias accounts for system account 'iredapd' and
'virusalert' in Postfix.
---
.../upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md | 28 +++++++++++++++++
html/upgrade.iredmail.0.9.2-0.9.3.html | 30 +++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md
index bd5cea75..2a808ce7 100644
--- a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md
+++ b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md
@@ -52,6 +52,34 @@ Detailed release notes are available here: [iRedAPD release notes](./iredapd.rel
Please follow Roundcube official tutorial to upgrade Roundcube webmail to the
latest stable release immediately: [How to upgrade Roundcube](http://trac.roundcube.net/wiki/Howto_Upgrade)
+### Postfix: Add additional aliases
+
+We need 2 new alias accounts in Postfix to deliver notification emails:
+
+1. New iRedAPD release (1.7.0) has a cron job which may generate notification
+ email to the daemon user.
+
+2. ClamAV may detect virus in email, notification will be sent to system
+ account `virusalert`.
+
+Steps to add alias accounts:
+
+* For Linux and OpenBSD:
+
+```shell
+echo 'iredapd: root' >> /etc/postfix/aliases
+echo 'virusalert: root' >> /etc/postfix/aliases
+postalias /etc/postfix/aliases
+```
+
+* For FreeBSD:
+
+```shell
+echo 'iredapd: root' >> /usr/local/etc/postfix/aliases
+echo 'virusalert: root' >> /usr/local/etc/postfix/aliases
+postalias /usr/local/etc/postfix/aliases
+```
+
### Amavisd: Fix incorrect setting which signs DKIM on inbound messages
In iRedMail-0.9.2 and earlier releases, Amavisd will signing DKIM on inbound
diff --git a/html/upgrade.iredmail.0.9.2-0.9.3.html b/html/upgrade.iredmail.0.9.2-0.9.3.html
index c38074b5..6ee9d333 100644
--- a/html/upgrade.iredmail.0.9.2-0.9.3.html
+++ b/html/upgrade.iredmail.0.9.2-0.9.3.html
@@ -19,6 +19,7 @@
Update /etc/iredmail-release with new iRedMail version number
Upgrade iRedAPD (Postfix policy server) to the latest 1.7.0
Upgrade Roundcube webmail to the latest stable release
+Postfix: Add additional aliases
Amavisd: Fix incorrect setting which signs DKIM on inbound messages
Dovecot: Fix incorrect quota warning priorities
Dovecot-2.2: Add more special folders as alias folders
@@ -95,6 +96,35 @@ following upgrade tutorial.
Upgrade Roundcube webmail to the latest stable release
Please follow Roundcube official tutorial to upgrade Roundcube webmail to the
latest stable release immediately: How to upgrade Roundcube
+Postfix: Add additional aliases
+We need 2 new alias accounts in Postfix to deliver notification emails:
+
+-
+
New iRedAPD release (1.7.0) has a cron job which may generate notification
+ email to the daemon user.
+
+-
+
ClamAV may detect virus in email, notification will be sent to system
+ account virusalert
.
+
+
+Steps to add alias accounts:
+
+- For Linux and OpenBSD:
+
+echo 'iredapd: root' >> /etc/postfix/aliases
+echo 'virusalert: root' >> /etc/postfix/aliases
+postalias /etc/postfix/aliases
+
+
+
+echo 'iredapd: root' >> /usr/local/etc/postfix/aliases
+echo 'virusalert: root' >> /usr/local/etc/postfix/aliases
+postalias /usr/local/etc/postfix/aliases
+
+
Amavisd: Fix incorrect setting which signs DKIM on inbound messages
In iRedMail-0.9.2 and earlier releases, Amavisd will signing DKIM on inbound
message, this is wrong. Please follow steps below to fix it.