Package: postfix
Version: 2.3.7-3
Severity: minor

When I just upgraded to 2.3.7-3, I saw the following:

Unpacking replacement postfix ...
Setting up postfix (2.3.7-3) ...
Installing new version of config file /etc/postfix/postfix-script ...
Installing new version of config file /etc/postfix/post-install ...
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 105) ...
Done.
setting myhostname: mel07.strategicdata.com.au
setting alias maps
setting alias database
changing /etc/mailname
setting myorigin
setting destinations: mel07.strategicdata.com.au,
localhost.strategicdata.com.au, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
/var/lib/dpkg/info/postfix.postinst: line 132: [: missing `]'
WARNING: /etc/aliases exists, but does not have a root alias.

the patch is trivial:
--- /var/lib/dpkg/info/postfix.postinst 2007-02-15 16:06:26.000000000 +1100
+++ postfix.postinst    2007-03-06 22:05:14.000000000 +1100
@@ -129,7 +129,7 @@
 add_root_alias() {
     db_get postfix/root_address && root_addr="$RET"
     ret=$(echo $RET | tr '[A-Z]' '[a-z]')
-    if [ "$ret" != "none" ] || [ -z "$ret"] ; then
+    if [ "$ret" != "none" ] || [ -z "$ret" ] ; then
        echo "adding root: $RET alias"
        echo "root:     $RET" >> /etc/aliases
        echo "adding postmaster: $RET alias"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to