sendmail fails to generate sendmail.cf
Hi all,
I installed woody in a partition for experiment. I first installed
exim and recently tried to change sendmail and encountered the problem,
that is, postinst of sendmail (8.11.0.NonTLS-1) failed to generate
sendmail.cf as follows;
You may wish to customize your alias database; see the aliases(5) man page
for information on the format and use of the /etc/aliases file.
Updating sendmail databases ...
Checking sendmail.cf and databases.
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
egrep: /etc/mail/databases: No such file or directory
Reload the running sendmail now with the new configuration? [Y] n
and in fact there was no /etc/mail/databases.
But with upgrading, that is, if one installed sendmail_8.9.3-23 of
potato first and then installed sendmail_8.11.0.NonTLS-1, it worked
fine as follows;
nsx:/home/kohda# dpkg -i sendmail_8.9.3-23.deb
dpkg - warning: downgrading sendmail from 8.11.0.NonTLS-1 to 8.9.3-23.
(Reading database ... 73442 files and directories currently installed.)
Preparing to replace sendmail 8.11.0.NonTLS-1 (using sendmail_8.9.3-23.deb)
...
(snip)
...
Automagically regenerate the sendmail.cf configuration file? (Y/n)
Checking sendmail.cf and databases.
Scanning /etc/mail/sendmail.mc
...
(snip)
...
they will work with the newer sendmail. You will have to do this
yourself - before starting sendmail.
nsx:/home/kohda# dpkg -i sendmail_8.11.0.NonTLS-1.deb
(Reading database ... 73423 files and directories currently installed.)
Preparing to replace sendmail 8.9.3-23 (using sendmail_8.11.0.NonTLS-1.deb)
...
(snip)
...
Automagically regenerate the sendmail.cf configuration file? (Y/n)
Saving old /etc/mail/sendmail.cf as /etc/mail/sendmail.cf.old ...
Checking sendmail.cf and databases.
Generating /etc/mail/sendmail.cf...
Informational: use_ct_file file empty: /etc/mail/trusted-users
Informational: use_cw_file file empty: /etc/mail/local-host-names
Informational: confCR_FILE source file not found: /etc/mail/relay-domains
Informational: confUSERDB_SPEC source file not found: /etc/mail/users
Moving /etc/aliases to /etc/mail/aliases
and linking /etc/aliases to /etc/mail/aliases
This preserves current function/abilities
Warning: Option: CACERTPath requires TLS support
Warning: Option: CACERTFile requires TLS support
Warning: Option: ServerCertFile requires TLS support
Warning: Option: Serverkeyfile requires TLS support
Warning: Option: ClientCertFile requires TLS support
Warning: Option: Clientkeyfile requires TLS support
/etc/mail/aliases: 31 aliases, longest 10 bytes, 306 bytes total
...
(snip)
...
they will work with the newer sendmail. You will have to do this
yourself - before starting sendmail.
I can not find the reason of this problem and don't know this
really is the problem or only my failure.
Thanks in advance, 2000.8.16
--
Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
Department of Math., Tokushima Univ.
Reply to: