exim4-config with debconf fails
Eymen Alyaz
alyaz at ins.uni-bonn.de
Mon May 12 16:56:31 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all!
I'm trying to set up exim4 on my install-clients with debconf.
After installation exim4 does not send mails.
But when I run dpkg-reconfigure exim4-config manually and enter
the configuration values, then I get a working exim4 config.
I wonder why my debconf answers differ from my settings while installing.
I have put the input/output of my configuration/log files down below.
In $fai/debconf/EXIM4 I have:
exim4-config exim4/dc_eximconfig_configtype select mail sent by
smarthost; no local mail
exim4-config exim4/dc_local_interfaces string 127.0.0.1
exim4-config exim4/dc_minimaldns boolean false
exim4-config exim4/dc_noalias_regenerate boolean false
exim4-config exim4/dc_other_hostnames string melmac.wiss-staff
exim4-config exim4/dc_postmaster string real-
exim4-config exim4/dc_readhost string ins.uni-bonn.de
exim4-config exim4/dc_relay_domains string
exim4-config exim4/dc_relay_nets string
exim4-config exim4/dc_smarthost string mail.ins.uni-bonn.de
exim4-config exim4/exim3_upgrade boolean true
exim4-config exim4/hide_mailname boolean true
exim4-config exim4/mailname string melmac.wiss-staff
exim4-config exim4/no_config boolean true
exim4-config exim4/use_split_config boolean false
After successfull installation output of debconf-get-selections|grep
exim4-config:
# Reconfigure exim4-config instead of this package
exim4-config exim4/dc_other_hostnames string
melmac.wiss-staff:melmac.wiss-staff
exim4-config exim4/dc_eximconfig_configtype select local delivery
only; not on a network
exim4-config exim4/dc_noalias_regenerate boolean false
exim4-config exim4/no_config boolean true
exim4-config exim4/hide_mailname boolean true
exim4-config exim4/dc_postmaster string real-
exim4-config exim4/dc_smarthost string mail.ins.uni-bonn.de
exim4-config exim4/dc_relay_domains string
exim4-config exim4/dc_relay_nets string
exim4-config exim4/mailname string melmac.wiss-staff
exim4-config exim4/dc_readhost string ins.uni-bonn.de
# Reconfigure exim4-config instead of this package
# Reconfigure exim4-config instead of this package
exim4-config exim4/use_split_config boolean false
exim4-config exim4/dc_localdelivery select mbox format in /var/mail/
exim4-config exim4/dc_local_interfaces string 127.0.0.1
exim4-config exim4/dc_minimaldns boolean false
exim4-config exim4/exim3_upgrade boolean true
Why is exim4/dc_eximconfig_configtype not set to "mail sent by
smarthost; no local mail" ?
After running fai softupdate output of debconf-get-selections|grep
exim4-config:
# Reconfigure exim4-config instead of this package
exim4-config exim4/dc_other_hostnames string melmac.wiss-staff
exim4-config exim4/dc_eximconfig_configtype select mail sent by
smarthost; no local mail
exim4-config exim4/dc_noalias_regenerate boolean false
exim4-config exim4/no_config boolean true
exim4-config exim4/hide_mailname boolean true
exim4-config exim4/dc_postmaster string real-
exim4-config exim4/dc_smarthost string mail.ins.uni-bonn.de
exim4-config exim4/dc_relay_domains string
exim4-config exim4/dc_relay_nets string
exim4-config exim4/mailname string melmac.wiss-staff
exim4-config exim4/dc_readhost string ins.uni-bonn.de
# Reconfigure exim4-config instead of this package
# Reconfigure exim4-config instead of this package
exim4-config exim4/use_split_config boolean false
exim4-config exim4/dc_localdelivery select mbox format in /var/mail/
exim4-config exim4/dc_local_interfaces string 127.0.0.1
exim4-config exim4/dc_minimaldns boolean false
exim4-config exim4/exim3_upgrade boolean true
These settings look okay, but still no mails send.
Mail send via command: mail -s "test" root at ins.uni-bonn.de" < mail
Output of /var/log/exim4/mainlog:
2008-05-12 16:35:32 1JvZ7k-0001yw-3F <= root at ETC_MAILNAME U=root P=local
S=43927
2008-05-12 16:35:32 1JvZ7k-0001yw-3F ** root at etc_mailname: Unrouteable
address
2008-05-12 16:35:32 1JvZ7k-0001yy-4a Error while reading message with no
usable sender address (R=1JvZ7k-0001yw-3F): at least one
2008-05-12 16:35:32 1JvZ7k-0001yw-3F Process failed (1) when writing
error message to root at ETC_MAILNAME (frozen)
After running manually debconf-reconfigure exim4-config,
exim4 works as expected, sends mail. Same output for debconf database,
like after running fai softupdate.
Regards,
Eymen Alyaz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
iD8DBQFIKFqfFc4pHres418RAoCBAKDlfE7x30BMn0rtTFRKWwo9cLl8zwCgoobw
jVWkF32Xc7q+xWy1GtlX3Sk=
=LHJq
-----END PGP SIGNATURE-----
More information about the linux-fai
mailing list