#!/bin/sh -e
# exim4 is the default MTA.
# However, it's possible that it was not installed, as we can also function
# with no MTA. Or the user may have already installed a different MTA.
# See the menutest in the .mnu file.
if [ "$1" = new ]; then
	exec dpkg-reconfigure --unseen-only --default-priority exim4-config
else
	exec dpkg-reconfigure --default-priority exim4-config
fi
