source: trunk/debathena/config/msmtp-config/debian/debathena-msmtp-mta.config @ 25210

Revision 25210, 175 bytes checked in by jdreed, 13 years ago (diff)
In msmtp-config: * Move debconf and aliases postinst stuff to debathena-msmtp-mta (Trac: #953) echo '# /etc/aliases' > /etc/aliases.tmp echo '# Created by debathena-msmtp-mta postinst' > /etc/aliases.tmp echo 'mailer-daemon: postmaster' >> /etc/aliases.tmp for i in postmaster nobody hostmaster usenet news webmaster www ftp abuse noc security cron; do echo "${i}: root" done >> /etc/aliases.tmp if [ -n "$1" ]; then fi mv /etc/aliases.tmp /etc/aliases configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;;
RevLine 
[24401]1#!/bin/sh -e
2
3# Source debconf library.
4. /usr/share/debconf/confmodule
5
6# Where should root's mail go?
[24403]7db_input medium debathena-msmtp-config/root_addr || true
[24401]8db_go || true
Note: See TracBrowser for help on using the repository browser.