Marc Haber wrote: > reassign #429617 exim4-config > retitle #429617 exim4-config installation fails (postinst exit status 1) > > On Tue, Jun 19, 2007 at 08:05:31AM +0200, Martin Ketzer wrote: >> --- Please enter the report below this line. --- >> i just tried to install exim4 and it did not work: >> >> Setting up exim4-config (4.67-3) ... >> dpkg: error processing exim4-config (--configure): >> subprocess post-installation script returned error exit status 1 >> Errors were encountered while processing: >> exim4-config >> E: Sub-process /usr/bin/dpkg returned an error code (1) >> A package failed to install. Trying to recover: >> Setting up exim4-config (4.67-3) ... >> dpkg: error processing exim4-config (--configure): >> subprocess post-installation script returned error exit status 1 >> Errors were encountered while processing: >> exim4-config >> >> after that the installation of the rest of exim4 failes too. > > Please retry with EX4DEBUG set to 1 and submit the output. Please also > submit your /etc/exim4/update-exim4.conf.conf (which should have been > included with the original report). > > Greetings > Marc > first the conf-file (didn't know about that):
# /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use 'dpkg-reconfigure exim4-config' # # Please note that this is _not_ a dpkg-conffile and that automatic changes # to this file might happen. The code handling this will honor your local # changes, so this is usually fine, but will break local schemes that mess # around with multiple versions of the file. # # update-exim4.conf uses this file to determine variable values to generate # exim configuration macros for the configuration file. # # Most settings found in here do have corresponding questions in the # Debconf configuration, but not all of them. # # This is a Debian specific file dc_eximconfig_configtype='local' dc_other_hostnames='true' dc_local_interfaces='127.0.0.1' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='mail_spool' and the rather long output with EX4DEBUG=1: Setting up exim4-config (4.67-3) ... now debugging /var/lib/dpkg/info/exim4-config.config configure + UE4CC=/etc/exim4/update-exim4.conf.conf + alias 'coloncolon2oe=sed -e '\''s/[[:blank:]]*//g'\'' -e '\''/^</d'\'' -e '\''s/:::::/:��/g'\'' -e '\''s/::::/��/g'\'' -e '\''s/:::/:�/g'\'' -e '\''s/::/�/g'\'' -e '\''s/:/ : /g'\'' -e '\''s/^/ /'\'' -e '\''s/$/ /'\''' + dc_local_interfaces=notset + command -v db_settitle + db_settitle exim4/exim4-config-title + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + IFS=' ' + printf '%s\n' 'GET exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + dc_use_split_config=false + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + IFS=' ' + printf '%s\n' 'FGET exim4/dc_other_hostnames mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dc_mailname_in_oh=true + '[' -e /etc/exim4/update-exim4.conf.conf ']' + . /etc/exim4/update-exim4.conf.conf ++ dc_eximconfig_configtype=local ++ dc_other_hostnames=true ++ dc_local_interfaces=127.0.0.1 ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost= ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname= ++ dc_mailname_in_oh=true ++ dc_localdelivery=mail_spool + '[' -n '' ']' + storevar2db ++ printf '%s\n' local ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_eximconfig_configtype=local ++ printf '%s\n' 127.0.0.1 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces=127.0.0.1 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=true ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost= ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname= ++ convert_to_long local ++ case "$1" in ++ echo -n 'local delivery only; not on a network' + db_set exim4/dc_eximconfig_configtype 'local delivery only; not on a network' + _db_cmd 'SET exim4/dc_eximconfig_configtype' 'local delivery only; not on a network' + IFS=' ' + printf '%s\n' 'SET exim4/dc_eximconfig_configtype local delivery only; not on a network' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_local_interfaces 127.0.0.1 + _db_cmd 'SET exim4/dc_local_interfaces' 127.0.0.1 + IFS=' ' + printf '%s\n' 'SET exim4/dc_local_interfaces 127.0.0.1' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_other_hostnames true + _db_cmd 'SET exim4/dc_other_hostnames' true + IFS=' ' + printf '%s\n' 'SET exim4/dc_other_hostnames true' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_readhost '' + _db_cmd 'SET exim4/dc_readhost' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_readhost ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_relay_domains '' + _db_cmd 'SET exim4/dc_relay_domains' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_relay_domains ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_relay_nets '' + _db_cmd 'SET exim4/dc_relay_nets' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_relay_nets ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_smarthost '' + _db_cmd 'SET exim4/dc_smarthost' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_smarthost ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' '' ']' + db_set exim4/dc_minimaldns false + _db_cmd 'SET exim4/dc_minimaldns' false + IFS=' ' + printf '%s\n' 'SET exim4/dc_minimaldns false' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/use_split_config false + _db_cmd 'SET exim4/use_split_config' false + IFS=' ' + printf '%s\n' 'SET exim4/use_split_config false' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/hide_mailname '' + _db_cmd 'SET exim4/hide_mailname' '' + IFS=' ' + printf '%s\n' 'SET exim4/hide_mailname ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' mail_spool '!=' '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' '!=' 'locally customized' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + db_set exim4/dc_localdelivery 'mbox format in /var/mail/' + _db_cmd 'SET exim4/dc_localdelivery' 'mbox format in /var/mail/' + IFS=' ' + printf '%s\n' 'SET exim4/dc_localdelivery mbox format in /var/mail/' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset exim4/dc_other_hostnames mailname true + _db_cmd 'FSET exim4/dc_other_hostnames' mailname true + IFS=' ' + printf '%s\n' 'FSET exim4/dc_other_hostnames mailname true' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + '[' local = '' ']' + '[' -e /etc/mailname ']' ++ head -n 1 /etc/mailname ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_mailname=true + db_set exim4/mailname true + _db_cmd 'SET exim4/mailname' true + IFS=' ' + printf '%s\n' 'SET exim4/mailname true' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' true = '' ']' ++ hostname --fqdn + fqdn=debian-amd64.loBmEnschEn + db_subst exim4/dc_other_hostnames fqdn debian-amd64.loBmEnschEn + _db_cmd 'SUBST exim4/dc_other_hostnames' fqdn debian-amd64.loBmEnschEn + IFS=' ' + printf '%s\n' 'SUBST exim4/dc_other_hostnames fqdn debian-amd64.loBmEnschEn' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + '[' '' = '' ']' + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_readhost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_readhost= + '[' '' = '' ']' + db_get exim4/dc_smarthost + _db_cmd 'GET exim4/dc_smarthost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_smarthost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_smarthost= + '[' 127.0.0.1 = notset ']' + '[' false = '' ']' + '[' false = '' ']' + '[' mail_spool = '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' = 'locally customized' ']' + db_version 2.0 + _db_cmd 'VERSION 2.0' + IFS=' ' + printf '%s\n' 'VERSION 2.0' + IFS=' ' + read -r _db_internal_line + RET=2.0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_capb backup + _db_cmd 'CAPB backup' + IFS=' ' + printf '%s\n' 'CAPB backup' + IFS=' ' + read -r _db_internal_line + RET='multiselect escape backup' + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=1 + CONTSTATE=50 + STATELIMIT=51 + EX4QUESTION= + '[' 1 '!=' 0 ']' + '[' 1 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=0 + FORWSTATE=2 + PREVSTATE=1 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=2 + '[' 2 '!=' 0 ']' + '[' 2 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_eximconfig_configtype + BACKSTATE=1 + FORWSTATE=3 + CONFIGTYPEQUESTION=2 + db_input medium exim4/dc_eximconfig_configtype + _db_cmd 'INPUT medium' exim4/dc_eximconfig_configtype + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=2 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=3 + '[' 3 '!=' 0 ']' + '[' 3 -le 51 ']' + case "$STATE" in + EX4QUESTION= + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + BACKSTATE=2 + case "${dc_eximconfig_configtype}" in + FORWSTATE=40 + PREVSTATE=3 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=40 + '[' 40 '!=' 0 ']' + '[' 40 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/mailname + db_input medium exim4/mailname + _db_cmd 'INPUT medium' exim4/mailname + IFS=' ' + printf '%s\n' 'INPUT medium exim4/mailname' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + BACKSTATE=2 + FORWSTATE=41 + PREVSTATE=40 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=41 + '[' 41 '!=' 0 ']' + '[' 41 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=40 + FORWSTATE=42 + '[' 127.0.0.1 = notset ']' + db_input medium exim4/dc_local_interfaces + _db_cmd 'INPUT medium' exim4/dc_local_interfaces + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_local_interfaces' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=41 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=42 + '[' 42 '!=' 0 ']' + '[' 42 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_other_hostnames + BACKSTATE=41 + FORWSTATE=43 + mailname2otherhostnamesdcloop + '[' true '!=' true ']' + db_input medium exim4/dc_other_hostnames + _db_cmd 'INPUT medium' exim4/dc_other_hostnames + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_other_hostnames' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=42 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=43 + '[' 43 '!=' 0 ']' + '[' 43 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=42 + FORWSTATE=44 + db_get exim4/dc_relay_nets + _db_cmd 'GET exim4/dc_relay_nets' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_nets' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_relay_nets= + db_get exim4/dc_relay_domains + _db_cmd 'GET exim4/dc_relay_domains' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_domains' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_relay_domains= + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + PREVSTATE=43 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=44 + '[' 44 '!=' 0 ']' + '[' 44 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_minimaldns + BACKSTATE=43 + FORWSTATE=45 + db_input low exim4/dc_minimaldns + _db_cmd 'INPUT low' exim4/dc_minimaldns + IFS=' ' + printf '%s\n' 'INPUT low exim4/dc_minimaldns' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=44 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=45 + '[' 45 '!=' 0 ']' + '[' 45 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_localdelivery + BACKSTATE=44 + FORWSTATE=50 + '[' mail_spool '!=' custom ']' + db_input low exim4/dc_localdelivery + _db_cmd 'INPUT low' exim4/dc_localdelivery + IFS=' ' + printf '%s\n' 'INPUT low exim4/dc_localdelivery' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=45 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=50 + '[' 50 '!=' 0 ']' + '[' 50 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/use_split_config + BACKSTATE=45 + FORWSTATE=52 + db_input medium exim4/use_split_config + _db_cmd 'INPUT medium' exim4/use_split_config + IFS=' ' + printf '%s\n' 'INPUT medium exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=50 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=52 + '[' 52 '!=' 0 ']' + '[' 52 -le 51 ']' + '[' 52 = 0 ']' + '[' 127.0.0.1 = notset ']' + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + IFS=' ' + printf '%s\n' 'GET exim4/dc_postmaster' + IFS=' ' + read -r _db_internal_line + RET=simaketz + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' simaketz ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_postmaster=simaketz now debugging /var/lib/dpkg/info/exim4-config.postinst configure + UE4CC=/etc/exim4/update-exim4.conf.conf + db_version 2.0 + _db_cmd 'VERSION 2.0' + IFS=' ' + printf '%s\n' 'VERSION 2.0' + IFS=' ' + read -r _db_internal_line + RET=2.0 + case ${_db_internal_line%%[ ]*} in + return 0 + alias 'stripwhitespace=sed -e '\''s/^[[:blank:]]*//'\'' -e '\''s/[[:blank:]]*$//'\''' + '[' configure = configure ']' + dpkg --compare-versions '' le-nl 4.20-1 + '[' configure = configure ']' + dpkg --compare-versions '' le-nl 4.20-2 + '[' configure = configure ']' + '[' -x /usr/sbin/update-inetd ']' + '[' '!' -x /usr/sbin/exim ']' + grep -E -q '^smtp[[:space:]]*stream[[:space:]]*tcp[[:space:]]*nowait[[:space:]]*mail[[:space:]]*/usr/sbin/+exim exim -bs' /etc/inetd.conf + '[' configure = configure ']' + getent passwd Debian-exim + '[' configure = configure ']' + dpkg-statoverride --list /etc/exim4/passwd.client + find /etc/exim4 -user mail '(' -type f -or -type d ')' -print + read i + find /etc/exim4 -group mail '(' -type f -or -type d ')' -print + read i + case "$1" in + dc_directives='dc_eximconfig_configtype dc_other_hostnames dc_local_interfaces dc_readhost dc_relay_domains dc_minimaldns dc_relay_nets dc_smarthost CFILEMODE dc_use_split_config dc_hide_mailname dc_mailname_in_oh dc_localdelivery' + '[' '!' -e /etc/exim4/update-exim4.conf.conf ']' + update-exim4defaults --init now debugging /usr/sbin/update-exim4defaults --init + defaultfile=/etc/default/exim4 + EX4DEF_INIT=false + EX4DEF_FORCE=false + '[' -r /etc/default/exim4 ']' + . /etc/default/exim4 ++ EX4DEF_VERSION= ++ QUEUERUNNER=combined ++ QUEUEINTERVAL=30m ++ COMMONOPTIONS= ++ QUEUERUNNEROPTIONS= ++ QFLAGS= ++ SMTPLISTENEROPTIONS= + EX4DEF_QUEUERUNNER=combined + EX4DEF_QUEUEINTERVAL=30m + EX4DEF_COMMONOPTIONS= + EX4DEF_QUEUERUNNEROPTIONS= + EX4DEF_QFLAGS= + EX4DEF_SMTPLISTENEROPTIONS= + EX4DEF_FLAGOPTIONS=false + EX4DEF_FLAGREMOVE=false ++ getopt -n update-exim4defaults -l qflags:,queuerunner:,queuetime:,commonoptions:,queuerunneroptions:,smtplisteneroptions:,remove-common:,remove-queue:,remove-smtp:,force,help,init -- +fh --init + TEMP=' --init --' + test 0 '!=' 0 + eval set -- --init -- ++ set -- --init -- + test --init '!=' -- + case $1 in + EX4DEF_INIT=true + shift + test -- '!=' -- + shift + '[' 0 -ne 0 ']' + '[' false = true ']' + true = true ']' + '[' -e /etc/default/exim4 ']' + '[' false '!=' true ']' + exit 0 + . /etc/exim4/update-exim4.conf.conf ++ dc_eximconfig_configtype=local ++ dc_other_hostnames=true ++ dc_local_interfaces=127.0.0.1 ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost= ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname= ++ dc_mailname_in_oh=true ++ dc_localdelivery=mail_spool + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + db_get exim4/dc_local_interfaces + _db_cmd 'GET exim4/dc_local_interfaces' + IFS=' ' + printf '%s\n' 'GET exim4/dc_local_interfaces' + IFS=' ' + read -r _db_internal_line + RET=127.0.0.1 + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' 127.0.0.1 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces=127.0.0.1 + db_get exim4/dc_other_hostnames + _db_cmd 'GET exim4/dc_other_hostnames' + IFS=' ' + printf '%s\n' 'GET exim4/dc_other_hostnames' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=true + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_readhost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= + db_get exim4/dc_relay_domains + _db_cmd 'GET exim4/dc_relay_domains' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_domains' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= + db_get exim4/dc_relay_nets + _db_cmd 'GET exim4/dc_relay_nets' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_nets' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= + db_get exim4/dc_smarthost + _db_cmd 'GET exim4/dc_smarthost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_smarthost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost= + db_get exim4/dc_minimaldns + _db_cmd 'GET exim4/dc_minimaldns' + IFS=' ' + printf '%s\n' 'GET exim4/dc_minimaldns' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false + db_get exim4/mailname + _db_cmd 'GET exim4/mailname' + IFS=' ' + printf '%s\n' 'GET exim4/mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + mailname=true + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + IFS=' ' + printf '%s\n' 'GET exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false + db_get exim4/hide_mailname + _db_cmd 'GET exim4/hide_mailname' + IFS=' ' + printf '%s\n' 'GET exim4/hide_mailname' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname= + '[' mail_spool = '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' '!=' 'locally customized' ']' + db_get exim4/dc_localdelivery + _db_cmd 'GET exim4/dc_localdelivery' + IFS=' ' + printf '%s\n' 'GET exim4/dc_localdelivery' + IFS=' ' + read -r _db_internal_line + RET='mbox format in /var/mail/' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_transport_to_short 'mbox format in /var/mail/' ++ case "$1" in ++ echo -n mail_spool + dc_localdelivery=mail_spool + '[' -r /var/lib/exim4/addmailname2oh ']' + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + IFS=' ' + printf '%s\n' 'FGET exim4/dc_other_hostnames mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dc_mailname_in_oh=true + '[' 644 = '' ']' + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + IFS=' ' + printf '%s\n' 'GET exim4/dc_postmaster' + IFS=' ' + read -r _db_internal_line + RET=simaketz + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' simaketz ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_postmaster=simaketz + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_eximconfig_configtype=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_other_hostnames=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_local_interfaces=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_readhost=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_relay_domains=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_minimaldns=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_relay_nets=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_smarthost=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*CFILEMODE=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_use_split_config=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_hide_mailname=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_mailname_in_oh=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_localdelivery=' /etc/exim4/update-exim4.conf.conf + export dc_directives dc_eximconfig_configtype dc_other_hostnames dc_local_interfaces dc_readhost dc_relay_domains dc_minimaldns dc_relay_nets dc_smarthost CFILEMODE dc_use_split_config dc_hide_mailname dc_mailname_in_oh dc_localdelivery + awk ' BEGIN { split( ENVIRON["dc_directives"], directives, "[ \t]" ); } { written = 0; for ( i in directives ) { regex = "^[ \t]*" directives[i] "="; if ( ( $0 ~ regex ) && ( ! written ) ) { # Add single quotes (\0x27) around the value. print directives[i] "=\x27" ENVIRON[directives[i]] "\x27"; written = 1; break; } } if ( ! written ) print $0; }' + mv /etc/exim4/update-exim4.conf.conf.tmp /etc/exim4/update-exim4.conf.conf + echo true + '[' local '!=' none ']' + update-exim4.conf dpkg: error processing exim4-config (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: exim4-config E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up exim4-config (4.67-3) ... now debugging /var/lib/dpkg/info/exim4-config.config configure + UE4CC=/etc/exim4/update-exim4.conf.conf + alias 'coloncolon2oe=sed -e '\''s/[[:blank:]]*//g'\'' -e '\''/^</d'\'' -e '\''s/:::::/:��/g'\'' -e '\''s/::::/��/g'\'' -e '\''s/:::/:�/g'\'' -e '\''s/::/�/g'\'' -e '\''s/:/ : /g'\'' -e '\''s/^/ /'\'' -e '\''s/$/ /'\''' + dc_local_interfaces=notset + command -v db_settitle + db_settitle exim4/exim4-config-title + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + IFS=' ' + printf '%s\n' 'GET exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + dc_use_split_config=false + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + IFS=' ' + printf '%s\n' 'FGET exim4/dc_other_hostnames mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dc_mailname_in_oh=true + '[' -e /etc/exim4/update-exim4.conf.conf ']' + . /etc/exim4/update-exim4.conf.conf ++ dc_eximconfig_configtype=local ++ dc_other_hostnames=true ++ dc_local_interfaces=127.0.0.1 ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost= ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname= ++ dc_mailname_in_oh=true ++ dc_localdelivery=mail_spool + '[' -n '' ']' + storevar2db ++ printf '%s\n' local ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_eximconfig_configtype=local ++ printf '%s\n' 127.0.0.1 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces=127.0.0.1 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=true ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost= ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname= ++ convert_to_long local ++ case "$1" in ++ echo -n 'local delivery only; not on a network' + db_set exim4/dc_eximconfig_configtype 'local delivery only; not on a network' + _db_cmd 'SET exim4/dc_eximconfig_configtype' 'local delivery only; not on a network' + IFS=' ' + printf '%s\n' 'SET exim4/dc_eximconfig_configtype local delivery only; not on a network' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_local_interfaces 127.0.0.1 + _db_cmd 'SET exim4/dc_local_interfaces' 127.0.0.1 + IFS=' ' + printf '%s\n' 'SET exim4/dc_local_interfaces 127.0.0.1' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_other_hostnames true + _db_cmd 'SET exim4/dc_other_hostnames' true + IFS=' ' + printf '%s\n' 'SET exim4/dc_other_hostnames true' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_readhost '' + _db_cmd 'SET exim4/dc_readhost' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_readhost ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_relay_domains '' + _db_cmd 'SET exim4/dc_relay_domains' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_relay_domains ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_relay_nets '' + _db_cmd 'SET exim4/dc_relay_nets' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_relay_nets ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/dc_smarthost '' + _db_cmd 'SET exim4/dc_smarthost' '' + IFS=' ' + printf '%s\n' 'SET exim4/dc_smarthost ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' '' ']' + db_set exim4/dc_minimaldns false + _db_cmd 'SET exim4/dc_minimaldns' false + IFS=' ' + printf '%s\n' 'SET exim4/dc_minimaldns false' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/use_split_config false + _db_cmd 'SET exim4/use_split_config' false + IFS=' ' + printf '%s\n' 'SET exim4/use_split_config false' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_set exim4/hide_mailname '' + _db_cmd 'SET exim4/hide_mailname' '' + IFS=' ' + printf '%s\n' 'SET exim4/hide_mailname ' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' mail_spool '!=' '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' '!=' 'locally customized' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + db_set exim4/dc_localdelivery 'mbox format in /var/mail/' + _db_cmd 'SET exim4/dc_localdelivery' 'mbox format in /var/mail/' + IFS=' ' + printf '%s\n' 'SET exim4/dc_localdelivery mbox format in /var/mail/' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset exim4/dc_other_hostnames mailname true + _db_cmd 'FSET exim4/dc_other_hostnames' mailname true + IFS=' ' + printf '%s\n' 'FSET exim4/dc_other_hostnames mailname true' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + '[' local = '' ']' + '[' -e /etc/mailname ']' ++ head -n 1 /etc/mailname ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_mailname=true + db_set exim4/mailname true + _db_cmd 'SET exim4/mailname' true + IFS=' ' + printf '%s\n' 'SET exim4/mailname true' + IFS=' ' + read -r _db_internal_line + RET='value set' + case ${_db_internal_line%%[ ]*} in + return 0 + '[' true = '' ']' ++ hostname --fqdn + fqdn=debian-amd64.loBmEnschEn + db_subst exim4/dc_other_hostnames fqdn debian-amd64.loBmEnschEn + _db_cmd 'SUBST exim4/dc_other_hostnames' fqdn debian-amd64.loBmEnschEn + IFS=' ' + printf '%s\n' 'SUBST exim4/dc_other_hostnames fqdn debian-amd64.loBmEnschEn' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + '[' '' = '' ']' + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_readhost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_readhost= + '[' '' = '' ']' + db_get exim4/dc_smarthost + _db_cmd 'GET exim4/dc_smarthost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_smarthost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_smarthost= + '[' 127.0.0.1 = notset ']' + '[' false = '' ']' + '[' false = '' ']' + '[' mail_spool = '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' = 'locally customized' ']' + db_version 2.0 + _db_cmd 'VERSION 2.0' + IFS=' ' + printf '%s\n' 'VERSION 2.0' + IFS=' ' + read -r _db_internal_line + RET=2.0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_capb backup + _db_cmd 'CAPB backup' + IFS=' ' + printf '%s\n' 'CAPB backup' + IFS=' ' + read -r _db_internal_line + RET='multiselect escape backup' + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=1 + CONTSTATE=50 + STATELIMIT=51 + EX4QUESTION= + '[' 1 '!=' 0 ']' + '[' 1 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=0 + FORWSTATE=2 + PREVSTATE=1 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=2 + '[' 2 '!=' 0 ']' + '[' 2 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_eximconfig_configtype + BACKSTATE=1 + FORWSTATE=3 + CONFIGTYPEQUESTION=2 + db_input medium exim4/dc_eximconfig_configtype + _db_cmd 'INPUT medium' exim4/dc_eximconfig_configtype + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=2 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=3 + '[' 3 '!=' 0 ']' + '[' 3 -le 51 ']' + case "$STATE" in + EX4QUESTION= + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + BACKSTATE=2 + case "${dc_eximconfig_configtype}" in + FORWSTATE=40 + PREVSTATE=3 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=40 + '[' 40 '!=' 0 ']' + '[' 40 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/mailname + db_input medium exim4/mailname + _db_cmd 'INPUT medium' exim4/mailname + IFS=' ' + printf '%s\n' 'INPUT medium exim4/mailname' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + BACKSTATE=2 + FORWSTATE=41 + PREVSTATE=40 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=41 + '[' 41 '!=' 0 ']' + '[' 41 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=40 + FORWSTATE=42 + '[' 127.0.0.1 = notset ']' + db_input medium exim4/dc_local_interfaces + _db_cmd 'INPUT medium' exim4/dc_local_interfaces + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_local_interfaces' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=41 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=42 + '[' 42 '!=' 0 ']' + '[' 42 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_other_hostnames + BACKSTATE=41 + FORWSTATE=43 + mailname2otherhostnamesdcloop + '[' true '!=' true ']' + db_input medium exim4/dc_other_hostnames + _db_cmd 'INPUT medium' exim4/dc_other_hostnames + IFS=' ' + printf '%s\n' 'INPUT medium exim4/dc_other_hostnames' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=42 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=43 + '[' 43 '!=' 0 ']' + '[' 43 -le 51 ']' + case "$STATE" in + EX4QUESTION= + BACKSTATE=42 + FORWSTATE=44 + db_get exim4/dc_relay_nets + _db_cmd 'GET exim4/dc_relay_nets' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_nets' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_relay_nets= + db_get exim4/dc_relay_domains + _db_cmd 'GET exim4/dc_relay_domains' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_domains' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dc_relay_domains= + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + PREVSTATE=43 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=44 + '[' 44 '!=' 0 ']' + '[' 44 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_minimaldns + BACKSTATE=43 + FORWSTATE=45 + db_input low exim4/dc_minimaldns + _db_cmd 'INPUT low' exim4/dc_minimaldns + IFS=' ' + printf '%s\n' 'INPUT low exim4/dc_minimaldns' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=44 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=45 + '[' 45 '!=' 0 ']' + '[' 45 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/dc_localdelivery + BACKSTATE=44 + FORWSTATE=50 + '[' mail_spool '!=' custom ']' + db_input low exim4/dc_localdelivery + _db_cmd 'INPUT low' exim4/dc_localdelivery + IFS=' ' + printf '%s\n' 'INPUT low exim4/dc_localdelivery' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=45 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=50 + '[' 50 '!=' 0 ']' + '[' 50 -le 51 ']' + case "$STATE" in + EX4QUESTION=exim4/use_split_config + BACKSTATE=45 + FORWSTATE=52 + db_input medium exim4/use_split_config + _db_cmd 'INPUT medium' exim4/use_split_config + IFS=' ' + printf '%s\n' 'INPUT medium exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + PREVSTATE=50 + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + STATE=52 + '[' 52 '!=' 0 ']' + '[' 52 -le 51 ']' + '[' 52 = 0 ']' + '[' 127.0.0.1 = notset ']' + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + IFS=' ' + printf '%s\n' 'GET exim4/dc_postmaster' + IFS=' ' + read -r _db_internal_line + RET=simaketz + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' simaketz ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_postmaster=simaketz now debugging /var/lib/dpkg/info/exim4-config.postinst configure + UE4CC=/etc/exim4/update-exim4.conf.conf + db_version 2.0 + _db_cmd 'VERSION 2.0' + IFS=' ' + printf '%s\n' 'VERSION 2.0' + IFS=' ' + read -r _db_internal_line + RET=2.0 + case ${_db_internal_line%%[ ]*} in + return 0 + alias 'stripwhitespace=sed -e '\''s/^[[:blank:]]*//'\'' -e '\''s/[[:blank:]]*$//'\''' + '[' configure = configure ']' + dpkg --compare-versions '' le-nl 4.20-1 + '[' configure = configure ']' + dpkg --compare-versions '' le-nl 4.20-2 + '[' configure = configure ']' + '[' -x /usr/sbin/update-inetd ']' + '[' '!' -x /usr/sbin/exim ']' + grep -E -q '^smtp[[:space:]]*stream[[:space:]]*tcp[[:space:]]*nowait[[:space:]]*mail[[:space:]]*/usr/sbin/+exim exim -bs' /etc/inetd.conf + '[' configure = configure ']' + getent passwd Debian-exim + '[' configure = configure ']' + dpkg-statoverride --list /etc/exim4/passwd.client + find /etc/exim4 -user mail '(' -type f -or -type d ')' -print + read i + find /etc/exim4 -group mail '(' -type f -or -type d ')' -print + read i + case "$1" in + dc_directives='dc_eximconfig_configtype dc_other_hostnames dc_local_interfaces dc_readhost dc_relay_domains dc_minimaldns dc_relay_nets dc_smarthost CFILEMODE dc_use_split_config dc_hide_mailname dc_mailname_in_oh dc_localdelivery' + '[' '!' -e /etc/exim4/update-exim4.conf.conf ']' + update-exim4defaults --init now debugging /usr/sbin/update-exim4defaults --init + defaultfile=/etc/default/exim4 + EX4DEF_INIT=false + EX4DEF_FORCE=false + '[' -r /etc/default/exim4 ']' + . /etc/default/exim4 ++ EX4DEF_VERSION= ++ QUEUERUNNER=combined ++ QUEUEINTERVAL=30m ++ COMMONOPTIONS= ++ QUEUERUNNEROPTIONS= ++ QFLAGS= ++ SMTPLISTENEROPTIONS= + EX4DEF_QUEUERUNNER=combined + EX4DEF_QUEUEINTERVAL=30m + EX4DEF_COMMONOPTIONS= + EX4DEF_QUEUERUNNEROPTIONS= + EX4DEF_QFLAGS= + EX4DEF_SMTPLISTENEROPTIONS= + EX4DEF_FLAGOPTIONS=false + EX4DEF_FLAGREMOVE=false ++ getopt -n update-exim4defaults -l qflags:,queuerunner:,queuetime:,commonoptions:,queuerunneroptions:,smtplisteneroptions:,remove-common:,remove-queue:,remove-smtp:,force,help,init -- +fh --init + TEMP=' --init --' + test 0 '!=' 0 + eval set -- --init -- ++ set -- --init -- + test --init '!=' -- + case $1 in + EX4DEF_INIT=true + shift + test -- '!=' -- + shift + '[' 0 -ne 0 ']' + '[' false = true ']' + true = true ']' + '[' -e /etc/default/exim4 ']' + '[' false '!=' true ']' + exit 0 + . /etc/exim4/update-exim4.conf.conf ++ dc_eximconfig_configtype=local ++ dc_other_hostnames=true ++ dc_local_interfaces=127.0.0.1 ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost= ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname= ++ dc_mailname_in_oh=true ++ dc_localdelivery=mail_spool + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + printf '%s\n' 'GET exim4/dc_eximconfig_configtype' + IFS=' ' + read -r _db_internal_line + RET='local delivery only; not on a network' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_to_short 'local delivery only; not on a network' ++ case "$1" in ++ echo -n local + dc_eximconfig_configtype=local + db_get exim4/dc_local_interfaces + _db_cmd 'GET exim4/dc_local_interfaces' + IFS=' ' + printf '%s\n' 'GET exim4/dc_local_interfaces' + IFS=' ' + read -r _db_internal_line + RET=127.0.0.1 + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' 127.0.0.1 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces=127.0.0.1 + db_get exim4/dc_other_hostnames + _db_cmd 'GET exim4/dc_other_hostnames' + IFS=' ' + printf '%s\n' 'GET exim4/dc_other_hostnames' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=true + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_readhost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= + db_get exim4/dc_relay_domains + _db_cmd 'GET exim4/dc_relay_domains' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_domains' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= + db_get exim4/dc_relay_nets + _db_cmd 'GET exim4/dc_relay_nets' + IFS=' ' + printf '%s\n' 'GET exim4/dc_relay_nets' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= + db_get exim4/dc_smarthost + _db_cmd 'GET exim4/dc_smarthost' + IFS=' ' + printf '%s\n' 'GET exim4/dc_smarthost' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost= + db_get exim4/dc_minimaldns + _db_cmd 'GET exim4/dc_minimaldns' + IFS=' ' + printf '%s\n' 'GET exim4/dc_minimaldns' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false + db_get exim4/mailname + _db_cmd 'GET exim4/mailname' + IFS=' ' + printf '%s\n' 'GET exim4/mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' true ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + mailname=true + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + IFS=' ' + printf '%s\n' 'GET exim4/use_split_config' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false + db_get exim4/hide_mailname + _db_cmd 'GET exim4/hide_mailname' + IFS=' ' + printf '%s\n' 'GET exim4/hide_mailname' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname= + '[' mail_spool = '' ']' ++ convert_transport_to_long mail_spool ++ case "$1" in ++ echo -n 'mbox format in /var/mail/' + '[' 'mbox format in /var/mail/' '!=' 'locally customized' ']' + db_get exim4/dc_localdelivery + _db_cmd 'GET exim4/dc_localdelivery' + IFS=' ' + printf '%s\n' 'GET exim4/dc_localdelivery' + IFS=' ' + read -r _db_internal_line + RET='mbox format in /var/mail/' + case ${_db_internal_line%%[ ]*} in + return 0 ++ convert_transport_to_short 'mbox format in /var/mail/' ++ case "$1" in ++ echo -n mail_spool + dc_localdelivery=mail_spool + '[' -r /var/lib/exim4/addmailname2oh ']' + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + IFS=' ' + printf '%s\n' 'FGET exim4/dc_other_hostnames mailname' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dc_mailname_in_oh=true + '[' 644 = '' ']' + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + IFS=' ' + printf '%s\n' 'GET exim4/dc_postmaster' + IFS=' ' + read -r _db_internal_line + RET=simaketz + case ${_db_internal_line%%[ ]*} in + return 0 ++ printf '%s\n' simaketz ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_postmaster=simaketz + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_eximconfig_configtype=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_other_hostnames=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_local_interfaces=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_readhost=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_relay_domains=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_minimaldns=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_relay_nets=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_smarthost=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*CFILEMODE=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_use_split_config=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_hide_mailname=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_mailname_in_oh=' /etc/exim4/update-exim4.conf.conf + for variable in '${dc_directives}' + grep -E -q '^[[:space:]]*dc_localdelivery=' /etc/exim4/update-exim4.conf.conf + export dc_directives dc_eximconfig_configtype dc_other_hostnames dc_local_interfaces dc_readhost dc_relay_domains dc_minimaldns dc_relay_nets dc_smarthost CFILEMODE dc_use_split_config dc_hide_mailname dc_mailname_in_oh dc_localdelivery + awk ' BEGIN { split( ENVIRON["dc_directives"], directives, "[ \t]" ); } { written = 0; for ( i in directives ) { regex = "^[ \t]*" directives[i] "="; if ( ( $0 ~ regex ) && ( ! written ) ) { # Add single quotes (\0x27) around the value. print directives[i] "=\x27" ENVIRON[directives[i]] "\x27"; written = 1; break; } } if ( ! written ) print $0; }' + mv /etc/exim4/update-exim4.conf.conf.tmp /etc/exim4/update-exim4.conf.conf + echo true + '[' local '!=' none ']' + update-exim4.conf dpkg: error processing exim4-config (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: exim4-config Press return to continue. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]