Get rid of postfix when we take over a machine
authorPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 17:50:53 +0000 (19:50 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 17:50:53 +0000 (19:50 +0200)
input/howto/new-machine.creole

index e8fb3a8..86bced4 100644 (file)
@@ -26,6 +26,11 @@ Note: this is partially obsolete now that we have [[puppet|howto/puppet-setup]].
     echo "debconf debconf/frontend        select Dialog" | debconf-set-selections
 }}}
 
+* unless we want to keep it:
+{{{
+    dpkg -l postfix | grep '^ii' && (dpkg --purge postfix && rm /etc/aliases)
+}}}
+
 * setup [[puppet|howto/puppet-setup]]
 
 * on draghi, add the host to /home/sshdist/.ssh/authorized_keys and generate.conf