X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=f7dd6b4a01c33455dbcbddd47ea4859e17aa6afe;hb=82b146c2299fce1aec68d492e4bd881d81e8e6c9;hp=819aa8d0623cd48420bd7dfac345f88b046a794c;hpb=7002af6b587b8d66d1f3b58ae77f09fa3d794d15;p=distro-setup diff --git a/mail-setup b/mail-setup index 819aa8d..f7dd6b4 100755 --- a/mail-setup +++ b/mail-setup @@ -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