various fixes
[distro-setup] / mail-setup
index 819aa8d0623cd48420bd7dfac345f88b046a794c..f7dd6b4a01c33455dbcbddd47ea4859e17aa6afe 100755 (executable)
@@ -74,11 +74,6 @@ smarthost="$host::587" # exim
 e $forward > ~/.forward
 e $forward | s tee /root/.forward
 
-# linode image has a root alias. completely useless, remove it.
-sudo sed -i '/^root:/d' /etc/aliases
-
-s newaliases
-
 
 # offlineimap uses this too, it is much easier to use one location than to
 # condition it's config and postfix's config
@@ -180,6 +175,12 @@ EOF
     fi
 fi
 
+# linode image has a root alias. completely useless, remove it.
+sudo sed -i '/^root:/d' /etc/aliases
+
+s newaliases
+
+
 # based on http://www.postfix.org/qmgr.8.html and my notes in gnus
 dir=/nocow/$type
 sdir=/var/spool/$type