From: Peter Palfrader Date: Sat, 27 Jun 2009 17:50:53 +0000 (+0200) Subject: Get rid of postfix when we take over a machine X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d2fbccbfe143df828a8a7b89fd3a87647e6d17ef;hp=98bbfe13da274f5e8ddd549f144e52b893eb914d;p=mirror%2Fdsa-wiki.git Get rid of postfix when we take over a machine --- diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index e8fb3a8..86bced4 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -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