From d43f7fdf9dc232ae9eb3107f00b30abd1c3b3412 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 13 Mar 2011 14:37:37 +0000 Subject: [PATCH] Update postfix destination to add AlternC desktop FQDN when it's not present.\nCloses #1215 --- install/alternc.install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index ff4c6ac6..15d0cf8e 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -258,6 +258,10 @@ do postconf -e "$line" done < $postfix_conf +# Bug #1215: configure mydestination when $FQDN is not in +OLDDESTINATION=`postconf mydestination | awk -F '=' '{print $2}'` +echo "$OLDDESTINATION" | grep -q -v "$FQDN" && postconf -e "mydestination = $FQDN, $OLDDESTINATION" + if [ -e /etc/courier/authmysqlrc ] ; then chown root:root /etc/courier/authmysqlrc chmod 640 /etc/courier/authmysqlrc