Weblog entry #1 for sphaero
#1
Debian automatic installs and exim config
Posted by sphaero on Wed 5 Apr 2006 at 10:10
Recently I've been investigating the preseeding method of the Debian Sarge Installer. I've followed documentation from:
http://www.debian.org/releases/stable/i386/ch04s07.html
and works perfectly. But now I'm more getting into it I've tried to preseed a different setup for Exim4 during install just to realise it isn't working. I just can't get a different setup then "No configuration at this time" and "Local mail only" and I want to use a smarthost configuration or a 'send and receive mail directly'. But no luck. I'm now thinking of automatically removing exim4 and installing postfix instead. Anyone...?
http://www.debian.org/releases/stable/i386/ch04s07.html
and works perfectly. But now I'm more getting into it I've tried to preseed a different setup for Exim4 during install just to realise it isn't working. I just can't get a different setup then "No configuration at this time" and "Local mail only" and I want to use a smarthost configuration or a 'send and receive mail directly'. But no luck. I'm now thinking of automatically removing exim4 and installing postfix instead. Anyone...?
Comments on this Entry
Posted by dkg (216.254.xx.xx) on Wed 5 Apr 2006 at 18:10
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
can you post relevant snippets of your preseed file? when you say it doesn't work with other settings, what configuration does it end up using? or do you have to provide manual intervention?
[ Parent | Reply to this comment ]
This is what I'm currently testing but I'm not sure what I end up with, at least not the smarthost configuration.
debconf debconf/priority string critical
unknown debconf/priority string critical
d-i debconf/priority string critical
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string asa.nl
d-i netcfg/wireless_wep string
d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/suite string stable
d-i mirror/http/proxy string
d-i partman-auto/disk string /dev/discs/disc0/disc
#d-i partman-auto/choose_recipe select Separate /home, /var, and /tmp partitions
# select Multi-user workstation
d-i partman-auto/expert_recipe string ASAserver :: 2000 50 5000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 5000 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var } . 64 512 300% linux-swap method{ swap } format{ } .
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i grub-installer/only_debian boolean true
d-i prebaseconfig/reboot_in_progress note
base-config base-config/intro note
base-config base-config/login note
base-config tzconfig/gmt boolean true
base-config tzconfig/choose_country_zone_single boolean true
base-config tzconfig/verify_choices boolean true
passwd passwd/make-user boolean false
passwd passwd/md5 boolean false
passwd passwd/shadow boolean true
base-config apt-setup/uri_type select http
base-config apt-setup/country select enter information manually
base-config apt-setup/hostname string ftp.nl.debian.org
base-config apt-setup/directory string /debian
base-config apt-setup/another boolean false
base-config apt-setup/security-updates boolean true
base-config base-config/late_command string wget exim4-config exim4/dc_noalias_regenerate boolean false
exim4-config exim4/dc_smarthost string smtps.xs4all.nl
exim4-config exim4/dc_relay_domains string
exim4-config exim4/dc_relay_nets string
exim4-base exim4/purge_spool boolean false
exim4-config exim4/mailname string en.asa.nl
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
exim4-config exim4/dc_other_hostnames string localhost.localdomain
exim4-config exim4/dc_eximconfig_configtype select internet site; mail is sent and received directly using SMTP
exim4-config exim4/no_config boolean true
exim4-config exim4/hide_mailname boolean true
exim4-config exim4/dc_postmaster string netwerkbeheer@test.nl
exim4-config exim4/dc_readhost string test.nl
exim4-config exim4/internal/exim4-config.reconfigure boolean false
# Move yet undelivered mails from exim(v3) to exim4 spool?
exim4-base exim4/move_exim3_spool boolean false
tasksel tasksel/first multiselect Standard system
ssh ssh/new_config boolean true
# Do you want to continue (and risk killing active ssh sessions)?
ssh ssh/use_old_init_script boolean true
ssh ssh/protocol2_only boolean true
# Do you want to run the sshd server?
ssh ssh/run_sshd boolean true
# Do you want /usr/lib/ssh-keysign to be installed SUID root?
ssh ssh/SUID_client boolean true
ssh ssh/disable_cr_auth boolean false
# Which ispell dictionary should be the system's default?
dictionaries-common dictionaries-common/default-ispell select british (British English)
dictionaries-common dictionaries-common/default-wordlist select american (American English)
# Remove obsolete /etc/dictionary link?
dictionaries-common dictionaries-common/old_wordlist_link boolean true
# Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
dictionaries-common dictionaries-common/move_old_usr_dict boolean true
# Remove obsolete /usr/dict symlink?
dictionaries-common dictionaries-common/remove_old_usr_dict_link boolean false
debconf debconf/priority string critical
unknown debconf/priority string critical
d-i debconf/priority string critical
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string asa.nl
d-i netcfg/wireless_wep string
d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/suite string stable
d-i mirror/http/proxy string
d-i partman-auto/disk string /dev/discs/disc0/disc
#d-i partman-auto/choose_recipe select Separate /home, /var, and /tmp partitions
# select Multi-user workstation
d-i partman-auto/expert_recipe string ASAserver :: 2000 50 5000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 5000 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var } . 64 512 300% linux-swap method{ swap } format{ } .
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i grub-installer/only_debian boolean true
d-i prebaseconfig/reboot_in_progress note
base-config base-config/intro note
base-config base-config/login note
base-config tzconfig/gmt boolean true
base-config tzconfig/choose_country_zone_single boolean true
base-config tzconfig/verify_choices boolean true
passwd passwd/make-user boolean false
passwd passwd/md5 boolean false
passwd passwd/shadow boolean true
base-config apt-setup/uri_type select http
base-config apt-setup/country select enter information manually
base-config apt-setup/hostname string ftp.nl.debian.org
base-config apt-setup/directory string /debian
base-config apt-setup/another boolean false
base-config apt-setup/security-updates boolean true
base-config base-config/late_command string wget exim4-config exim4/dc_noalias_regenerate boolean false
exim4-config exim4/dc_smarthost string smtps.xs4all.nl
exim4-config exim4/dc_relay_domains string
exim4-config exim4/dc_relay_nets string
exim4-base exim4/purge_spool boolean false
exim4-config exim4/mailname string en.asa.nl
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
exim4-config exim4/dc_other_hostnames string localhost.localdomain
exim4-config exim4/dc_eximconfig_configtype select internet site; mail is sent and received directly using SMTP
exim4-config exim4/no_config boolean true
exim4-config exim4/hide_mailname boolean true
exim4-config exim4/dc_postmaster string netwerkbeheer@test.nl
exim4-config exim4/dc_readhost string test.nl
exim4-config exim4/internal/exim4-config.reconfigure boolean false
# Move yet undelivered mails from exim(v3) to exim4 spool?
exim4-base exim4/move_exim3_spool boolean false
tasksel tasksel/first multiselect Standard system
ssh ssh/new_config boolean true
# Do you want to continue (and risk killing active ssh sessions)?
ssh ssh/use_old_init_script boolean true
ssh ssh/protocol2_only boolean true
# Do you want to run the sshd server?
ssh ssh/run_sshd boolean true
# Do you want /usr/lib/ssh-keysign to be installed SUID root?
ssh ssh/SUID_client boolean true
ssh ssh/disable_cr_auth boolean false
# Which ispell dictionary should be the system's default?
dictionaries-common dictionaries-common/default-ispell select british (British English)
dictionaries-common dictionaries-common/default-wordlist select american (American English)
# Remove obsolete /etc/dictionary link?
dictionaries-common dictionaries-common/old_wordlist_link boolean true
# Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
dictionaries-common dictionaries-common/move_old_usr_dict boolean true
# Remove obsolete /usr/dict symlink?
dictionaries-common dictionaries-common/remove_old_usr_dict_link boolean false
[ Parent | Reply to this comment ]