Debian Codegraph @

debian/config

raw
1 #!/bin/sh
2
3 set -e
4
5 . /usr/share/debconf/confmodule
6 db_version 2.0
7
8 if [ -f /etc/mailname ] ; then
9 IM_DOMAIN_DEBCONF=`cat /etc/mailname`
10 else
11 IM_DOMAIN_DEBCONF=`dnsdomainname`
12 fi
13
14 #db_input medium im/rpop || true
15 db_input medium im/siteconfig_by_hand || true
16 db_go
17
18 db_get im/siteconfig_by_hand
19 if [ "$RET" = "false" ]; then
20 db_set im/fromdomain $IM_DOMAIN_DEBCONF
21 db_input low im/fromdomain || true
22
23 db_set im/todomain $IM_DOMAIN_DEBCONF
24 db_input low im/todomain || true
25
26 db_input low im/organization || true
27
28 db_input medium im/use_maildir || true
29 fi
30 db_go