From aed0af7aae380f50995de14cdb327002d12d8dae Mon Sep 17 00:00:00 2001 From: liuzy518 <570407222@qq.com> Date: Wed, 12 May 2021 16:06:40 +0800 Subject: [PATCH] sendmail:fix the sendmail.service startup failure. Signed-off-by: liuzy518 <570407222@qq.com> (cherry picked from commit 04ec9b40cef0e422a476575a76e367a3f6629a57) --- Sendmail-sasl2.conf | 1 + sendmail-redhat.mc | 6 +++--- sendmail.spec | 8 +++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Sendmail-sasl2.conf b/Sendmail-sasl2.conf index 74ef83f..6a029a2 100644 --- a/Sendmail-sasl2.conf +++ b/Sendmail-sasl2.conf @@ -1 +1,2 @@ pwcheck_method:saslauthd +ldapdb_uri: ldapi:/// diff --git a/sendmail-redhat.mc b/sendmail-redhat.mc index dd9bc96..837f161 100644 --- a/sendmail-redhat.mc +++ b/sendmail-redhat.mc @@ -80,8 +80,8 @@ dnl define(`confINET_QOS', `AF11')dnl dnl FEATURE(delay_checks)dnl FEATURE(`no_default_msa', `dnl')dnl FEATURE(`smrsh', `/usr/sbin/smrsh')dnl -FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl -FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl +dnl #FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl +dnl #FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl @@ -103,7 +103,7 @@ dnl # dnl # The -t option will retry delivery if e.g. the user runs over his quota. dnl # FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl -FEATURE(`access_db', `hash -T -o /etc/mail/access.db')dnl +dnl #FEATURE(`access_db', `hash -T -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl # diff --git a/sendmail.spec b/sendmail.spec index f2210a5..d41d53c 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.16.1 -Release: 4 +Release: 5 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -468,6 +468,12 @@ exit 0 %changelog +* Wed May 12 liulong - 8.16.1-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix the sendmail.service startup failure. + * Mon Mar 15 2021 Aichun Li - 8.16.1-4 - Type:bugfix - ID:NA -- Gitee