From f9affcd4dd9128730900f347c70fd17c07103a9c Mon Sep 17 00:00:00 2001 From: xihaochen Date: Mon, 28 Feb 2022 16:41:52 +0800 Subject: [PATCH] fix the issue that sendmail service fails to be started (cherry picked from commit 93d0ce1271b7e5d4b5dada76d379f1db16e5abb1) --- 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 d9bf756..9335bec 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.17.1 -Release: 3 +Release: 4 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -467,6 +467,12 @@ exit 0 %changelog +* Mon Feb 28 2022 xihaochen - 8.17.1-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix the issue that sendmail service fails to be started + * Wed Feb 23 2022 xihaochen - 8.17.1-3 - Type:bugfix - ID:NA -- Gitee