Hi, I attached a typescript (created with script). As a short summary, I gave the following commands:
pluto:/var/lib/exim4# invoke-rc.d exim4 restart pluto:/var/lib/exim4# invoke-rc.d exim4 restart pluto:/var/lib/exim4# tail /var/log/exim4/mainlog (to ensure running with latest config, which listens to ALL interfaces, i.e. dc_local_interfaces left empty) pluto:/var/lib/exim4# EX4DEBUG=1 pluto:/var/lib/exim4# dpkg-reconfigure -freadline exim4-config (reconfigured to listen only to 127.0.0.1 and 10.0.0.1) pluto:/var/lib/exim4# tail /var/log/exim4/mainlog (exim4 has restarted after reconfig, but is still listening to ALL interfaces) pluto:/var/lib/exim4# invoke-rc.d exim4 restart pluto:/var/lib/exim4# tail /var/log/exim4/mainlog (now it is correctly listening only to 127.0.0.1 and 10.0.0.1, showing that it now has reloaded its config) I hope this helps. Regards, Joris On Wed, 25 May 2005, Marc Haber wrote: > Hi, > > On Wed, May 25, 2005 at 12:36:07PM +0200, Joris Mooij wrote: > > I do not know whether this is a bug in exim4 or in exim4-config, but I > > suspect it is in > > exim4-config. > > Can you please set EX4DEBUG and retry with a debconf frontend > "readline"? This will hopefully give some hints about what happens. > > Greetings > Marc > > -- > ----------------------------------------------------------------------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 >
Script started on Wed 25 May 2005 01:43:18 PM CEST pluto:/var/lib/exim4# invoke-rc.d exim4 restart Restarting MTA: exim4. pluto:/var/lib/exim4# invoke-rc.d exim4 restart Restarting MTA: exim4. pluto:/var/lib/exim4# trail ail /var/log/exim4/mainlog 2005-05-25 13:42:28 End queue run: pid=27038 2005-05-25 13:42:51 exim 4.50 daemon started: pid=27175, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:42:51 Start queue run: pid=27176 2005-05-25 13:42:51 End queue run: pid=27176 2005-05-25 13:43:40 exim 4.50 daemon started: pid=27230, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:43:40 Start queue run: pid=27231 2005-05-25 13:43:40 End queue run: pid=27231 2005-05-25 13:43:45 exim 4.50 daemon started: pid=27280, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:43:45 Start queue run: pid=27281 2005-05-25 13:43:45 End queue run: pid=27281 pluto:/var/lib/exim4# EX4DEBUG=1 pluto:/var/lib/exim4# dpkg-reconfigure -freadline exim4-config + 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' + echo 'GET exim4/dc_eximconfig_configtype' + local 'IFS= ' + local _LINE + read -r _LINE + RET=mail sent by smarthost; received via SMTP or fetchmail + return 0 ++ convert_to_short 'mail sent by smarthost; received via SMTP or fetchmail' ++ echo -n smarthost + dc_eximconfig_configtype=smarthost + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + echo 'GET exim4/use_split_config' + local 'IFS= ' + local _LINE + read -r _LINE + RET=false + return 0 + dc_use_split_config=false + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + echo 'FGET exim4/dc_other_hostnames' mailname + local 'IFS= ' + local _LINE + read -r _LINE + RET=true + return 0 + dc_mailname_in_oh=true + '[' -e /etc/exim4/update-exim4.conf.conf ']' + . /etc/exim4/update-exim4.conf.conf ++ dc_eximconfig_configtype=smarthost ++ dc_other_hostnames=jorismooij.nl ++ dc_local_interfaces= ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost=mail.planet.nl ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname=false ++ dc_mailname_in_oh=true + '[' -n 4.50-4 ']' + '[' reconfigure = configure ']' + storevar2db ++ echo smarthost ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_eximconfig_configtype=smarthost ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces= ++ echo jorismooij.nl ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=jorismooij.nl ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= ++ echo mail.planet.nl ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost=mail.planet.nl ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname=false ++ convert_to_long smarthost ++ echo -n 'mail sent by smarthost; received via SMTP or fetchmail' + db_set exim4/dc_eximconfig_configtype 'mail sent by smarthost; received via SMTP or fetchmail' + _db_cmd 'SET exim4/dc_eximconfig_configtype' 'mail sent by smarthost; received via SMTP or fetchmail' + echo 'SET exim4/dc_eximconfig_configtype' 'mail sent by smarthost; received via SMTP or fetchmail' + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_local_interfaces '' + _db_cmd 'SET exim4/dc_local_interfaces' '' + echo 'SET exim4/dc_local_interfaces' '' + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_other_hostnames jorismooij.nl + _db_cmd 'SET exim4/dc_other_hostnames' jorismooij.nl + echo 'SET exim4/dc_other_hostnames' jorismooij.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_readhost '' + _db_cmd 'SET exim4/dc_readhost' '' + echo 'SET exim4/dc_readhost' '' + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_relay_domains '' + _db_cmd 'SET exim4/dc_relay_domains' '' + echo 'SET exim4/dc_relay_domains' '' + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_relay_nets '' + _db_cmd 'SET exim4/dc_relay_nets' '' + echo 'SET exim4/dc_relay_nets' '' + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/dc_smarthost mail.planet.nl + _db_cmd 'SET exim4/dc_smarthost' mail.planet.nl + echo 'SET exim4/dc_smarthost' mail.planet.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + '[' xfalse '!=' x ']' + db_set exim4/dc_minimaldns false + _db_cmd 'SET exim4/dc_minimaldns' false + echo 'SET exim4/dc_minimaldns' false + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/use_split_config false + _db_cmd 'SET exim4/use_split_config' false + echo 'SET exim4/use_split_config' false + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_set exim4/hide_mailname false + _db_cmd 'SET exim4/hide_mailname' false + echo 'SET exim4/hide_mailname' false + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + db_fset exim4/dc_other_hostnames mailname true + _db_cmd 'FSET exim4/dc_other_hostnames' mailname true + echo 'FSET exim4/dc_other_hostnames' mailname true + local 'IFS= ' + local _LINE + read -r _LINE + RET=true + return 0 + '[' xsmarthost = x ']' + '[' -e /etc/mailname ']' ++ head -n 1 /etc/mailname ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_mailname=jorismooij.nl + db_set exim4/mailname jorismooij.nl + _db_cmd 'SET exim4/mailname' jorismooij.nl + echo 'SET exim4/mailname' jorismooij.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=value set + return 0 + '[' xjorismooij.nl = x ']' ++ hostname --fqdn + fqdn=pluto.jorismooij.nl + db_subst exim4/dc_other_hostnames fqdn pluto.jorismooij.nl + _db_cmd 'SUBST exim4/dc_other_hostnames' fqdn pluto.jorismooij.nl + echo 'SUBST exim4/dc_other_hostnames' fqdn pluto.jorismooij.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=0 + return 0 + '[' x = x ']' + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + echo 'GET exim4/dc_readhost' + local 'IFS= ' + local _LINE + read -r _LINE + RET= + return 0 + dc_readhost= + '[' xmail.planet.nl = x ']' + '[' x = xnotset ']' + '[' xfalse = x ']' + '[' xfalse = x ']' + db_version 2.0 + _db_cmd 'VERSION 2.0' + echo 'VERSION 2.0' + local 'IFS= ' + local _LINE + read -r _LINE + RET=2.0 + return 0 + db_capb backup + _db_cmd 'CAPB backup' + echo 'CAPB backup' + local 'IFS= ' + local _LINE + read -r _LINE + RET=multiselect + return 0 + STATE=1 + STATELIMIT=51 + EX4QUESTION= + '[' 1 '!=' 0 ']' + '[' 1 -le 51 ']' + EX4QUESTION=exim4/use_split_config + PREVSTATE=0 + NEXTSTATE=2 + db_input medium exim4/use_split_config + _db_cmd 'INPUT medium' exim4/use_split_config + echo 'INPUT medium' exim4/use_split_config + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' Configuring Exim v4 (exim4-config) ---------------------------------- The Debian exim4 packages can either use a single monolithic file (/etc/exim4/exim4.conf.template) or about 40 small files in /etc/exim4/conf.d/ to generate the final configuration. The former is better suited for large modifications and is generally more stable, whereas the latter offers a comfortable way to make smaller modifications but is more fragile and might break if modified extensively. If you are unsure then you should not use split configuration. [4mSplit configuration into small files? [24m[1m+ local 'IFS= ' + local _LINE + read -r _LINE n [m + RET=ok + return 0 + STATE=2 + '[' 2 '!=' 0 ']' + '[' 2 -le 51 ']' + EX4QUESTION=exim4/dc_eximconfig_configtype + PREVSTATE=1 + NEXTSTATE=3 + db_input critical exim4/dc_eximconfig_configtype + _db_cmd 'INPUT critical' exim4/dc_eximconfig_configtype + echo 'INPUT critical' exim4/dc_eximconfig_configtype + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE Select the configuration type that best meets your needs. Systems with dynamic IP addresses, including dialup systems, should generally be configured to send outgoing mail to another machine, called a "smart host" for delivery. You can choose to receive mail on such a system; or to have no local mail delivery, except mail for root and postmaster. 1. internet site; mail is sent and received directly using SMTP 2. mail sent by smarthost; received via SMTP or fetchmail 3. mail sent by smarthost; no local mail 4. local delivery only; not on a network 5. manually convert from handcrafted Exim v3 configuration 6. no configuration at this time [4mGeneral type of mail configuration: [24m[1m2 [m + RET=ok + return 0 + STATE=3 + '[' 3 '!=' 0 ']' + '[' 3 -le 51 ']' + EX4QUESTION= + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + echo 'GET exim4/dc_eximconfig_configtype' + local 'IFS= ' + local _LINE + read -r _LINE + RET=mail sent by smarthost; received via SMTP or fetchmail + return 0 ++ convert_to_short 'mail sent by smarthost; received via SMTP or fetchmail' ++ echo -n smarthost + dc_eximconfig_configtype=smarthost + PREVSTATE=2 + NEXTSTATE=20 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE + RET=ok + return 0 + STATE=20 + '[' 20 '!=' 0 ']' + '[' 20 -le 51 ']' + EX4QUESTION=exim4/mailname + db_input medium exim4/mailname + _db_cmd 'INPUT medium' exim4/mailname + echo 'INPUT medium' exim4/mailname + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + PREVSTATE=2 + NEXTSTATE=21 + db_go + _db_cmd 'GO ' + echo 'GO ' Your "mail name" is the hostname portion of the address to be shown on outgoing news and mail messages (following the username and @ sign) unless hidden with rewriting. This name will also be used by other programs; it should be the single, full domain name (FQDN) from which mail will appear to originate. This name won't appear on From: lines of outgoing mails if you enable rewriting. [4mSystem mail name: [24m[1m+ local 'IFS= ' + local _LINE + read -r _LINE jorismooij.nl [m + RET=ok + return 0 + STATE=21 + '[' 21 '!=' 0 ']' + '[' 21 -le 51 ']' + EX4QUESTION=exim4/dc_local_interfaces + PREVSTATE=20 + NEXTSTATE=22 + '[' x = xnotset ']' + db_input medium exim4/dc_local_interfaces + _db_cmd 'INPUT medium' exim4/dc_local_interfaces + echo 'INPUT medium' exim4/dc_local_interfaces + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE Enter a colon-separated list of IP-addresses to listen on. You need to double the colons in IPv6 addresses (e.g. 5f03::1200::836f::::). If you leave this value empty, Exim will listen for connections on the SMTP port of all available network interfaces. If this computer does not receive e-mail directly per SMTP from OTHER hosts, but only from local services like fetchmail or your e-mail program (MUA) talking to localhost you should prohibit external connections to Exim by setting this option to 127.0.0.1 and therefore disabling listening on public network interfaces. [4mIP-addresses to listen on for incoming SMTP connections: [24m[1m127.0.0.1:10.0.01 .1 [m + RET=ok + return 0 + STATE=22 + '[' 22 '!=' 0 ']' + '[' 22 -le 51 ']' + EX4QUESTION=exim4/dc_other_hostnames + PREVSTATE=21 + NEXTSTATE=23 + mailname2otherhostnamesdcloop + '[' true '!=' true ']' + db_input medium exim4/dc_other_hostnames + _db_cmd 'INPUT medium' exim4/dc_other_hostnames + echo 'INPUT medium' exim4/dc_other_hostnames + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE Please enter a list of domains for which this machine should consider itself the final destination, apart from the local hostname (pluto.jorismooij.nl) and "localhost". By default all domains will be treated the same; if you want different domain names to be treated differently, you will need to edit the config files afterwards. If there are any more, enter them here, separated by colons. You may leave this blank if there are none. [4mOther destinations for which mail is accepted: [24m[1mjorismooij.nl [m + RET=ok + return 0 + STATE=23 + '[' 23 '!=' 0 ']' + '[' 23 -le 51 ']' + EX4QUESTION=exim4/dc_relay_nets + db_input medium exim4/dc_relay_nets + _db_cmd 'INPUT medium' exim4/dc_relay_nets + echo 'INPUT medium' exim4/dc_relay_nets + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + PREVSTATE=22 + NEXTSTATE=24 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE Please enter here the networks of local machines for which you accept to relay the mail. This should include a list of all machines that will use us as a smarthost. If there are any, enter them here, separated by colons. You should use the standard address/length format (e.g. 194.222.242.0/24). You need to double the colons in IPv6 addresses (e.g. 5f03::1200::836f::::/48) [4mMachines to relay mail for: [24m[1m [m + RET=ok + return 0 + STATE=24 + '[' 24 '!=' 0 ']' + '[' 24 -le 51 ']' + EX4QUESTION=exim4/dc_smarthost + '[' xmail.planet.nl = x ']' + db_input high exim4/dc_smarthost + _db_cmd 'INPUT high' exim4/dc_smarthost + echo 'INPUT high' exim4/dc_smarthost + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + PREVSTATE=23 + NEXTSTATE=25 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE Enter the hostname of the machine to which outgoing mail is sent. Refer to /usr/share/doc/exim4-base/README.SMTP-AUTH for notes about setting up SMTP authentication. [4mMachine handling outgoing mail for this host (smarthost): [24m[1mmail.planet.nl [m + RET=ok + return 0 + STATE=25 + '[' 25 '!=' 0 ']' + '[' 25 -le 51 ']' + EX4QUESTION=exim4/hide_mailname + PREVSTATE=24 + NEXTSTATE=26 + db_get exim4/mailname + _db_cmd 'GET exim4/mailname' + echo 'GET exim4/mailname' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorismooij.nl + return 0 + dc_mailname=jorismooij.nl + db_get exim4/dc_other_hostnames + _db_cmd 'GET exim4/dc_other_hostnames' + echo 'GET exim4/dc_other_hostnames' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorismooij.nl + return 0 + dc_other_hostnames=jorismooij.nl + db_subst exim4/hide_mailname mailname jorismooij.nl + _db_cmd 'SUBST exim4/hide_mailname' mailname jorismooij.nl + echo 'SUBST exim4/hide_mailname' mailname jorismooij.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=0 + return 0 + db_subst exim4/hide_mailname dc_other_hostnames jorismooij.nl + _db_cmd 'SUBST exim4/hide_mailname' dc_other_hostnames jorismooij.nl + echo 'SUBST exim4/hide_mailname' dc_other_hostnames jorismooij.nl + local 'IFS= ' + local _LINE + read -r _LINE + RET=0 + return 0 + '[' xfalse = x ']' + db_input medium exim4/hide_mailname + _db_cmd 'INPUT medium' exim4/hide_mailname + echo 'INPUT medium' exim4/hide_mailname + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE The headers of outgoing mail can be rewritten to make it appear to have been generated on a different system, replacing "jorismooij.nl" "localhost" and "jorismooij.nl" in From, Reply-To, Sender and Return-Path. [4mHide local mail name in outgoing mail? [24m[1mn [m + RET=ok + return 0 + STATE=26 + '[' 26 '!=' 0 ']' + '[' 26 -le 51 ']' + EX4QUESTION=exim4/dc_readhost + PREVSTATE=25 + NEXTSTATE=27 + db_get exim4/hide_mailname + _db_cmd 'GET exim4/hide_mailname' + echo 'GET exim4/hide_mailname' + local 'IFS= ' + local _LINE + read -r _LINE + RET=false + return 0 + dc_hide_mailname=false + '[' false = true ']' + EX4QUESTION= + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE + RET=ok + return 0 + STATE=27 + '[' 27 '!=' 0 ']' + '[' 27 -le 51 ']' + EX4QUESTION=exim4/dc_minimaldns + PREVSTATE=26 + NEXTSTATE=52 + db_input low exim4/dc_minimaldns + _db_cmd 'INPUT low' exim4/dc_minimaldns + echo 'INPUT low' exim4/dc_minimaldns + local 'IFS= ' + local _LINE + read -r _LINE + RET=question will be asked + return 0 + db_go + _db_cmd 'GO ' + echo 'GO ' + local 'IFS= ' + local _LINE + read -r _LINE In normal mode of operation Exim makes DNS-lookups at startup, when receiving or delivering message, etc. for logging purposes and to keep the number of hard-coded values in the configuration file small. If this were a host without permanent DNS-nameserver-access using Dial-on-Demand this might have the unwanted consequence that starting up exim or running the queue (even with no messages waiting) might trigger a costly dial-up-event. Enable this feature if you are using Dial-on-Demand; otherwise, disable it. [4mKeep number of DNS-queries minimal (Dial-on-Demand)? [24m[1mn [m + RET=ok + return 0 + STATE=52 + '[' 52 '!=' 0 ']' + '[' 52 -le 51 ']' + '[' 52 = 0 ']' + '[' x = xnotset ']' + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + echo 'GET exim4/dc_postmaster' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorism + return 0 ++ echo jorism ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_postmaster=jorism + '[' reconfigure = reconfigure ']' + '[' -x /etc/init.d/exim4 ']' + command -v invoke-rc.d + invoke-rc.d exim4 restart + QUEUERUNNER=combined + QUEUEINTERVAL=30m + UPEX4OPTS= + '[' -f /etc/default/exim4 ']' + . /etc/default/exim4 ++ EX4DEF_VERSION= ++ QUEUERUNNER=combined ++ QUEUEINTERVAL=30m ++ COMMONOPTIONS= ++ QUEUERUNNEROPTIONS= ++ QFLAGS= ++ SMTPLISTENEROPTIONS= + '[' -f /etc/inetd.conf ']' + grep -E -q '^ *([0-9.]+:)?smtp' /etc/inetd.conf + DAEMON=/usr/sbin/exim4 + NAME=exim4 + test -x /usr/lib/exim4/exim4 + echo -n 'Restarting MTA: ' Restarting MTA: + upex4conf + UPEX4CONF=update-exim4.conf + OLDIFS= + IFS=: + '[' -x /sbin/update-exim4.conf ']' + '[' -x /bin/update-exim4.conf ']' + '[' -x /usr/sbin/update-exim4.conf ']' + IFS= + /usr/sbin/update-exim4.conf + return 0 + isconfigvalid + /usr/sbin/exim4 -bV + stop_exim + '[' -f /var/run/exim4/eximqr.pid ']' + '[' -f /var/run/exim4/exim.pid ']' + start-stop-daemon --stop --pidfile /var/run/exim4/exim.pid --oknodo --retry 30 --exec /usr/sbin/exim4 + rm -f /var/run/exim4/eximqr.pid /var/run/exim4/exim.pid + sleep 2 + start_exim + start-stop-daemon --start --pidfile /var/run/exim4/exim.pid --exec /usr/sbin/exim4 -- -bd -q30m + echo exim4. exim4. + exit 0 + db_version 2.0 + _db_cmd 'VERSION 2.0' + echo 'VERSION 2.0' + local 'IFS= ' + local _LINE + read -r _LINE + RET=2.0 + return 0 + alias 'stripwhitespace=sed -e '\''s/^[[:blank:]]*//'\'' -e '\''s/[[:blank:]]*$//'\''' + '[' configure = configure ']' + dpkg --compare-versions 4.50-4 le-nl 4.20-1 + '[' configure = configure ']' + dpkg --compare-versions 4.50-4 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 + 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 + '[' '!' -e /etc/exim4/update-exim4.conf.conf ']' + 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 '!=' -- + 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=smarthost ++ dc_other_hostnames=jorismooij.nl ++ dc_local_interfaces= ++ dc_readhost= ++ dc_relay_domains= ++ dc_minimaldns=false ++ dc_relay_nets= ++ dc_smarthost=mail.planet.nl ++ CFILEMODE=644 ++ dc_use_split_config=false ++ dc_hide_mailname=false ++ dc_mailname_in_oh=true + db_get exim4/dc_eximconfig_configtype + _db_cmd 'GET exim4/dc_eximconfig_configtype' + echo 'GET exim4/dc_eximconfig_configtype' + local 'IFS= ' + local _LINE + read -r _LINE + RET=mail sent by smarthost; received via SMTP or fetchmail + return 0 ++ convert_to_short 'mail sent by smarthost; received via SMTP or fetchmail' ++ echo -n smarthost + dc_eximconfig_configtype=smarthost + db_get exim4/dc_local_interfaces + _db_cmd 'GET exim4/dc_local_interfaces' + echo 'GET exim4/dc_local_interfaces' + local 'IFS= ' + local _LINE + read -r _LINE + RET=127.0.0.1:10.0.0.1 + return 0 ++ echo 127.0.0.1:10.0.0.1 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_local_interfaces=127.0.0.1:10.0.0.1 + db_get exim4/dc_other_hostnames + _db_cmd 'GET exim4/dc_other_hostnames' + echo 'GET exim4/dc_other_hostnames' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorismooij.nl + return 0 ++ echo jorismooij.nl ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_other_hostnames=jorismooij.nl + db_get exim4/dc_readhost + _db_cmd 'GET exim4/dc_readhost' + echo 'GET exim4/dc_readhost' + local 'IFS= ' + local _LINE + read -r _LINE + RET= + return 0 ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_readhost= + db_get exim4/dc_relay_domains + _db_cmd 'GET exim4/dc_relay_domains' + echo 'GET exim4/dc_relay_domains' + local 'IFS= ' + local _LINE + read -r _LINE + RET= + return 0 ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_domains= + db_get exim4/dc_relay_nets + _db_cmd 'GET exim4/dc_relay_nets' + echo 'GET exim4/dc_relay_nets' + local 'IFS= ' + local _LINE + read -r _LINE + RET= + return 0 ++ echo '' ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_relay_nets= + db_get exim4/dc_smarthost + _db_cmd 'GET exim4/dc_smarthost' + echo 'GET exim4/dc_smarthost' + local 'IFS= ' + local _LINE + read -r _LINE + RET=mail.planet.nl + return 0 ++ echo mail.planet.nl ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_smarthost=mail.planet.nl + db_get exim4/dc_minimaldns + _db_cmd 'GET exim4/dc_minimaldns' + echo 'GET exim4/dc_minimaldns' + local 'IFS= ' + local _LINE + read -r _LINE + RET=false + return 0 ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_minimaldns=false + db_get exim4/mailname + _db_cmd 'GET exim4/mailname' + echo 'GET exim4/mailname' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorismooij.nl + return 0 ++ echo jorismooij.nl ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + mailname=jorismooij.nl + db_get exim4/use_split_config + _db_cmd 'GET exim4/use_split_config' + echo 'GET exim4/use_split_config' + local 'IFS= ' + local _LINE + read -r _LINE + RET=false + return 0 ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_use_split_config=false + db_get exim4/hide_mailname + _db_cmd 'GET exim4/hide_mailname' + echo 'GET exim4/hide_mailname' + local 'IFS= ' + local _LINE + read -r _LINE + RET=false + return 0 ++ echo false ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' + dc_hide_mailname=false + '[' -r /var/lib/exim4/addmailname2oh ']' + db_fget exim4/dc_other_hostnames mailname + _db_cmd 'FGET exim4/dc_other_hostnames' mailname + echo 'FGET exim4/dc_other_hostnames' mailname + local 'IFS= ' + local _LINE + read -r _LINE + RET=true + return 0 + dc_mailname_in_oh=true + '[' x644 = x ']' + db_get exim4/dc_postmaster + _db_cmd 'GET exim4/dc_postmaster' + echo 'GET exim4/dc_postmaster' + local 'IFS= ' + local _LINE + read -r _LINE + RET=jorism + return 0 ++ sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//' ++ echo jorism + dc_postmaster=jorism + '[' '!' -e /etc/aliases ']' + grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases + grep -E -q '^[[:space:]]*dc_eximconfig_configtype=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_other_hostnames=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_local_interfaces=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_readhost=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_relay_domains=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_minimaldns=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_relay_nets=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_smarthost=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*CFILEMODE=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_use_split_config=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_hide_mailname=' /etc/exim4/update-exim4.conf.conf + grep -E -q '^[[:space:]]*dc_mailname_in_oh=' /etc/exim4/update-exim4.conf.conf + sed -e 'sÄ^[[:space:]]*dc_eximconfig_configtype=.*Ädc_eximconfig_configtype='\''smarthost'\''Ä' -e 'sÄ^[[:space:]]*dc_local_interfaces=.*Ädc_local_interfaces='\''127.0.0.1:10.0.0.1'\''Ä' -e 'sÄ^[[:space:]]*dc_other_hostnames=.*Ädc_other_hostnames='\''jorismooij.nl'\''Ä' -e 'sÄ^[[:space:]]*dc_readhost=.*Ädc_readhost='\'''\''Ä' -e 'sÄ^[[:space:]]*dc_relay_domains=.*Ädc_relay_domains='\'''\''Ä' -e 'sÄ^[[:space:]]*dc_relay_nets=.*Ädc_relay_nets='\'''\''Ä' -e 'sÄ^[[:space:]]*dc_smarthost=.*Ädc_smarthost='\''mail.planet.nl'\''Ä' -e 'sÄ^[[:space:]]*dc_minimaldns=.*Ädc_minimaldns='\''false'\''Ä' -e 'sÄ^[[:space:]]*CFILEMODE=.*ÄCFILEMODE='\''644'\''Ä' -e 'sÄ^[[:space:]]*dc_never_users=.*ÄÄ' -e 'sÄ^[[:space:]]*dc_use_split_config=.*Ädc_use_split_config='\''false'\''Ä' -e 'sÄ^[[:space:]]*dc_hide_mailname=.*Ädc_hide_mailname='\''false'\''Ä' -e 'sÄ^[[:space:]]*dc_mailname_in_oh=.*Ädc_mailname_in_oh='\''true'\''Ä' + mv /etc/exim4/update-exim4.conf.conf.tmp /etc/exim4/update-exim4.conf.conf + echo jorismooij.nl + '[' smarthost '!=' none ']' + '[' smarthost '!=' exim3manual ']' + update-exim4.conf + '[' configure = configure ']' + dpkg --compare-versions 4.50-4 le-nl 4.20-1 pluto:/var/lib/exim4# tail /var/log/exim4/mainlog 2005-05-25 13:42:51 End queue run: pid=27176 2005-05-25 13:43:40 exim 4.50 daemon started: pid=27230, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:43:40 Start queue run: pid=27231 2005-05-25 13:43:40 End queue run: pid=27231 2005-05-25 13:43:45 exim 4.50 daemon started: pid=27280, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:43:45 Start queue run: pid=27281 2005-05-25 13:43:45 End queue run: pid=27281 2005-05-25 13:45:23 exim 4.50 daemon started: pid=27386, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:45:23 Start queue run: pid=27387 2005-05-25 13:45:23 End queue run: pid=27387 pluto:/var/lib/exim4# exim4- invoke-rc.d exim4 restart + QUEUERUNNER=combined + QUEUEINTERVAL=30m + UPEX4OPTS= + '[' -f /etc/default/exim4 ']' + . /etc/default/exim4 ++ EX4DEF_VERSION= ++ QUEUERUNNER=combined ++ QUEUEINTERVAL=30m ++ COMMONOPTIONS= ++ QUEUERUNNEROPTIONS= ++ QFLAGS= ++ SMTPLISTENEROPTIONS= + '[' -f /etc/inetd.conf ']' + grep -E -q '^ *([0-9.]+:)?smtp' /etc/inetd.conf + DAEMON=/usr/sbin/exim4 + NAME=exim4 + test -x /usr/lib/exim4/exim4 + echo -n 'Restarting MTA: ' Restarting MTA: + upex4conf + UPEX4CONF=update-exim4.conf + OLDIFS= + IFS=: + '[' -x /sbin/update-exim4.conf ']' + '[' -x /bin/update-exim4.conf ']' + '[' -x /usr/sbin/update-exim4.conf ']' + IFS= + /usr/sbin/update-exim4.conf + return 0 + isconfigvalid + /usr/sbin/exim4 -bV + stop_exim + '[' -f /var/run/exim4/eximqr.pid ']' + '[' -f /var/run/exim4/exim.pid ']' + start-stop-daemon --stop --pidfile /var/run/exim4/exim.pid --oknodo --retry 30 --exec /usr/sbin/exim4 + rm -f /var/run/exim4/eximqr.pid /var/run/exim4/exim.pid + sleep 2 + start_exim + start-stop-daemon --start --pidfile /var/run/exim4/exim.pid --exec /usr/sbin/exim4 -- -bd -q30m + echo exim4. exim4. + exit 0 pluto:/var/lib/exim4# tail /var/log/exim4/mainlog 2005-05-25 13:43:40 End queue run: pid=27231 2005-05-25 13:43:45 exim 4.50 daemon started: pid=27280, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:43:45 Start queue run: pid=27281 2005-05-25 13:43:45 End queue run: pid=27281 2005-05-25 13:45:23 exim 4.50 daemon started: pid=27386, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) 2005-05-25 13:45:23 Start queue run: pid=27387 2005-05-25 13:45:23 End queue run: pid=27387 2005-05-25 13:45:56 exim 4.50 daemon started: pid=27524, -q30m, listening for SMTP on [127.0.0.1]:25 [10.0.0.1]:25 2005-05-25 13:45:56 Start queue run: pid=27525 2005-05-25 13:45:57 End queue run: pid=27525 pluto:/var/lib/exim4# exit Script done on Wed 25 May 2005 01:46:09 PM CEST