#!/bin/sh set -e . /usr/share/debconf/confmodule db_version 2.0 if [ -f /etc/mailname ] ; then IM_DOMAIN_DEBCONF=`cat /etc/mailname` else IM_DOMAIN_DEBCONF=`dnsdomainname` fi #db_input medium im/rpop || true db_input medium im/siteconfig_by_hand || true db_go db_get im/siteconfig_by_hand if [ "$RET" = "false" ]; then db_set im/fromdomain $IM_DOMAIN_DEBCONF db_input low im/fromdomain || true db_set im/todomain $IM_DOMAIN_DEBCONF db_input low im/todomain || true db_input low im/organization || true db_input medium im/use_maildir || true fi db_go