auto-import changelog data from sendmail-8.11.2-14.src.rpm
Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc Wed Feb 21 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add changes from Christopher McCrory <chrismcc@pricegrabber.com>: - prepare /etc/mail/Makefile for more maps not shipped with this rpm - changed sendmail.mc to include some more commented out options, so that people are directly pointed at important options - add /etc/pam.d/smtp for AUTH - add FEATURE(use_ct_file) and /etc/mail/trusted-users Fri Feb 16 2001 Tim Powers <timp@redhat.com> - don't obsolete postfix and exim, only conflict (for RHN purposes) Thu Feb 15 2001 Trond Eivind Glomsrd <teg@redhat.com> - obsolete and conflict with exim and postfix Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de> - fix devision by zero bug in #20395 - mv /usr/lib/sendmail-cf /usr/share/sendmail-cf Wed Feb 07 2001 Trond Eivind Glomsrd <teg@redhat.com> - i18n tweaks to initscript Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de> - aliases.db should be owned by group root Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de> - prepare for startup-script translation Tue Jan 23 2001 Florian La Roche <Florian.LaRoche@redhat.de> - enable daemon mode again, but only listen to the loopback device instead of all devices. - do not include check.tar with old anti-spam rules Fri Jan 12 2001 Florian La Roche <Florian.LaRoche@redhat.de> - fix configuration of /etc/aliases Mon Jan 08 2001 Florian La Roche <Florian.LaRoche@redhat.de> - fix interoperation problems with communigate pro - disable msa Thu Jan 04 2001 Florian La Roche <Florian.LaRoche@redhat.de> - update to (security release) 8.11.2 - build also on RHL 6.x #16061 - include smrsh man-page #17901 - use the "-f" flag for makemap to preserve case for virtusertable and userdb in /etc/mail/Makefile - suggested by Harald Hoyer - fix /usr/doc -> usr/share/doc in docu #20611 - wrong path in sendmail.mc #20691 - tcp-wrapper support wasn't enabled correctly #21642 - do not expose user "root" when masquerading like in older releases #21643 - disable the VRFY and EXPN smtp commands #21801 - disable queue-runs for normal users (restrictqrun privacy flag) - fix typo in sendmail.mc #21880, #22682 - disable daemon mode to see what needs fixing Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de> - update to 8.11.1 Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment
This commit is contained in:
parent
53226c268b
commit
83f6af44fb
@ -1,2 +1 @@
|
|||||||
check.tar
|
sendmail.8.11.2.tar.gz
|
||||||
sendmail.8.11.0.tar.gz
|
|
||||||
|
@ -1,13 +1,10 @@
|
|||||||
divert(-1)
|
divert(-1)
|
||||||
dnl This is the macro config file used to generate the /etc/sendmail.cf
|
dnl This is the sendmail macro config file. If you make changes to this file,
|
||||||
dnl file. If you modify thei file you will have to regenerate the
|
dnl you need the sendmail-cf rpm installed and then have to generate a
|
||||||
dnl /etc/sendmail.cf by running this macro config through the m4
|
dnl new /etc/sendmail.cf by running the following command:
|
||||||
dnl preprocessor:
|
|
||||||
dnl
|
dnl
|
||||||
dnl m4 /etc/sendmail.mc > /etc/sendmail.cf
|
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
|
||||||
dnl
|
dnl
|
||||||
dnl You will need to have the sendmail-cf package installed for this to
|
|
||||||
dnl work.
|
|
||||||
include(`@@PATH@@/m4/cf.m4')
|
include(`@@PATH@@/m4/cf.m4')
|
||||||
VERSIONID(`linux setup for Red Hat Linux')dnl
|
VERSIONID(`linux setup for Red Hat Linux')dnl
|
||||||
OSTYPE(`linux')
|
OSTYPE(`linux')
|
||||||
@ -19,27 +16,38 @@ define(`confTO_CONNECT', `1m')dnl
|
|||||||
define(`confTRY_NULL_MX_LIST',true)dnl
|
define(`confTRY_NULL_MX_LIST',true)dnl
|
||||||
define(`confDONT_PROBE_INTERFACES',true)dnl
|
define(`confDONT_PROBE_INTERFACES',true)dnl
|
||||||
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
|
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
|
||||||
define('ALIAS_FILE','/etc/aliases')dnl
|
define(`ALIAS_FILE', `/etc/aliases')dnl
|
||||||
define(`STATUS_FILE', `/var/log/sendmail.st')dnl
|
define(`STATUS_FILE', `/var/log/sendmail.st')dnl
|
||||||
define(`UUCP_MAILER_MAX', `2000000')dnl
|
define(`UUCP_MAILER_MAX', `2000000')dnl
|
||||||
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
|
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
|
||||||
dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn')dnl
|
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
|
||||||
|
define(`confAUTH_OPTIONS', `A')dnl
|
||||||
|
dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
|
||||||
|
dnl define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
|
||||||
dnl define(`confTO_QUEUEWARN', `4h')dnl
|
dnl define(`confTO_QUEUEWARN', `4h')dnl
|
||||||
dnl define(`confTO_QUEUERETURN', `5d')dnl
|
dnl define(`confTO_QUEUERETURN', `5d')dnl
|
||||||
dnl define(`confQUEUE_LA', `12')dnl
|
dnl define(`confQUEUE_LA', `12')dnl
|
||||||
dnl define(`confREFUSE_LA', `18')dnl
|
dnl define(`confREFUSE_LA', `18')dnl
|
||||||
|
dnl FEATURE(delay_checks)dnl
|
||||||
|
FEATURE(`no_default_msa',`dnl')dnl
|
||||||
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
|
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
|
||||||
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
|
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
|
||||||
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
|
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
|
||||||
FEATURE(redirect)dnl
|
FEATURE(redirect)dnl
|
||||||
FEATURE(always_add_domain)dnl
|
FEATURE(always_add_domain)dnl
|
||||||
FEATURE(use_cw_file)dnl
|
FEATURE(use_cw_file)dnl
|
||||||
|
FEATURE(use_ct_file)dnl
|
||||||
FEATURE(local_procmail)dnl
|
FEATURE(local_procmail)dnl
|
||||||
FEATURE(`access_db')dnl
|
FEATURE(`access_db')dnl
|
||||||
FEATURE(`blacklist_recipients')dnl
|
FEATURE(`blacklist_recipients')dnl
|
||||||
|
EXPOSED_USER(`root')dnl
|
||||||
|
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
|
||||||
|
dnl and not on any other network devices. Comment this out if you want
|
||||||
|
dnl to accept email over the network.
|
||||||
|
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
|
||||||
dnl We strongly recommend to comment this one out if you want to protect
|
dnl We strongly recommend to comment this one out if you want to protect
|
||||||
dnl yourself from spam. However, the laptop and users on computers that do
|
dnl yourself from spam. However, the laptop and users on computers that do
|
||||||
dnl not hav 24x7 DNS do need this.
|
dnl not have 24x7 DNS do need this.
|
||||||
FEATURE(`accept_unresolvable_domains')dnl
|
FEATURE(`accept_unresolvable_domains')dnl
|
||||||
dnl FEATURE(`relay_based_on_MX')dnl
|
dnl FEATURE(`relay_based_on_MX')dnl
|
||||||
MAILER(smtp)dnl
|
MAILER(smtp)dnl
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# sendmail This shell script takes care of starting and stopping
|
# sendmail This shell script takes care of starting and stopping
|
||||||
# sendmail.
|
# sendmail.
|
||||||
@ -30,11 +30,12 @@ fi
|
|||||||
[ -f /usr/sbin/sendmail ] || exit 0
|
[ -f /usr/sbin/sendmail ] || exit 0
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
prog="sendmail"
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
# Start daemons.
|
# Start daemons.
|
||||||
|
|
||||||
echo -n "Starting sendmail: "
|
echo -n $"Starting $prog: "
|
||||||
/usr/bin/newaliases > /dev/null 2>&1
|
/usr/bin/newaliases > /dev/null 2>&1
|
||||||
for i in virtusertable access domaintable mailertable ; do
|
for i in virtusertable access domaintable mailertable ; do
|
||||||
if [ -f /etc/mail/$i ] ; then
|
if [ -f /etc/mail/$i ] ; then
|
||||||
@ -51,7 +52,7 @@ start() {
|
|||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
# Stop daemons.
|
# Stop daemons.
|
||||||
echo -n "Shutting down sendmail: "
|
echo -n $"Shutting down $prog: "
|
||||||
killproc sendmail
|
killproc sendmail
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -84,9 +85,8 @@ case "$1" in
|
|||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: sendmail {start|stop|restart|condrestart|status}"
|
echo $"Usage: $0 {start|stop|restart|condrestart|status}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit $RETVAL
|
exit $RETVAL
|
||||||
|
|
||||||
|
3
sendmail.pam
Normal file
3
sendmail.pam
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth required /lib/security/pam_stack.so service=system-auth
|
||||||
|
account required /lib/security/pam_stack.so service=system-auth
|
129
sendmail.spec
129
sendmail.spec
@ -2,19 +2,19 @@
|
|||||||
|
|
||||||
Summary: A widely used Mail Transport Agent (MTA).
|
Summary: A widely used Mail Transport Agent (MTA).
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.11.0
|
Version: 8.11.2
|
||||||
Release: 8
|
Release: 14
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Provides: smtpdaemon
|
Provides: smtpdaemon
|
||||||
Source0: ftp://ftp.cs.berkeley.edu/ucb/sendmail/sendmail.%{version}.tar.gz
|
Source0: ftp://ftp.cs.berkeley.edu/ucb/sendmail/sendmail.%{version}.tar.gz
|
||||||
Source1: sendmail.init
|
Source1: sendmail.init
|
||||||
Source2: http://www.informatik.uni-kiel.de/%7Eca/email/rules/check.tar
|
|
||||||
Source3: aliases
|
Source3: aliases
|
||||||
Source4: sendmail.sysconfig
|
Source4: sendmail.sysconfig
|
||||||
Source5: sendmail-8.9.3-etc-mail-Makefile
|
Source5: sendmail-8.9.3-etc-mail-Makefile
|
||||||
Source6: sendmail-redhat.mc
|
Source6: sendmail-redhat.mc
|
||||||
Source7: Sendmail.conf
|
Source7: Sendmail.conf
|
||||||
|
Source8: sendmail.pam
|
||||||
Patch0: sendmail-8.11.0-redhat.patch
|
Patch0: sendmail-8.11.0-redhat.patch
|
||||||
Patch1: sendmail-8.10.0-makemapman.patch
|
Patch1: sendmail-8.10.0-makemapman.patch
|
||||||
Patch2: sendmail-8.10.0-smrsh-paths.patch
|
Patch2: sendmail-8.10.0-smrsh-paths.patch
|
||||||
@ -23,10 +23,12 @@ Patch4: sendmail-8.10.0-aliasesDoS.patch
|
|||||||
Patch5: sendmail-8.10.1-movefiles.patch
|
Patch5: sendmail-8.10.1-movefiles.patch
|
||||||
Patch6: sendmail-8.10.1-manpath.patch
|
Patch6: sendmail-8.10.1-manpath.patch
|
||||||
Patch7: sendmail-8.11.0-m4path.patch
|
Patch7: sendmail-8.11.0-m4path.patch
|
||||||
Patch8: ldapfix.patch
|
Patch8: sendmail-8.11.2-fix.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
Prereq: /sbin/chkconfig /usr/sbin/useradd /etc/init.d
|
BuildRequires: cyrus-sasl
|
||||||
Requires: procmail
|
Prereq: /sbin/chkconfig /usr/sbin/useradd
|
||||||
|
Conflicts: postfix exim
|
||||||
|
Requires: procmail, bash >= 2.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Sendmail program is a very widely used Mail Transport Agent (MTA).
|
The Sendmail program is a very widely used Mail Transport Agent (MTA).
|
||||||
@ -78,9 +80,7 @@ sendmail.cf file.
|
|||||||
%patch5 -p1 -b .movestuff
|
%patch5 -p1 -b .movestuff
|
||||||
%patch6 -p0
|
%patch6 -p0
|
||||||
%patch7 -p1 -b .m4path
|
%patch7 -p1 -b .m4path
|
||||||
pushd sendmail
|
%patch8 -p1
|
||||||
patch -s -p1 -b -z .shapiro -l < %{PATCH8}
|
|
||||||
popd
|
|
||||||
|
|
||||||
sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/redhat.mc
|
sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/redhat.mc
|
||||||
|
|
||||||
@ -119,26 +119,27 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
mkdir -p $RPM_BUILD_ROOT
|
mkdir -p $RPM_BUILD_ROOT
|
||||||
|
|
||||||
cd $RPM_BUILD_ROOT
|
cd $RPM_BUILD_ROOT
|
||||||
mkdir -p etc/sysconfig $RPM_BUILD_ROOT%{initdir}
|
mkdir -p etc/sysconfig $RPM_BUILD_ROOT%{initdir} etc/pam.d
|
||||||
mkdir -p usr/bin usr/lib .%{_mandir}/man{1,5,8} usr/sbin var/log var/spool usr/lib/sendmail-cf
|
mkdir -p usr/bin usr/lib .%{_mandir}/man{1,5,8} usr/sbin var/log var/spool usr/share/sendmail-cf
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
OBJDIR=obj.$(uname -s).$(uname -r).$(arch)
|
OBJDIR=obj.$(uname -s).$(uname -r).$(arch)
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
install -C $OBJDIR/sendmail
|
install -C $OBJDIR/sendmail
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
install -C $OBJDIR/mailstats
|
install -C $OBJDIR/mailstats
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
install -C $OBJDIR/praliases
|
install -C $OBJDIR/praliases
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
force-install -C $OBJDIR/rmail
|
force-install -C $OBJDIR/rmail
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
install -C $OBJDIR/makemap
|
install -C $OBJDIR/makemap
|
||||||
ln -sf ../sbin/makemap $RPM_BUILD_ROOT/usr/bin/makemap
|
ln -sf ../sbin/makemap $RPM_BUILD_ROOT/usr/bin/makemap
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
|
||||||
install -C $OBJDIR/smrsh
|
install -C $OBJDIR/smrsh
|
||||||
|
|
||||||
|
|
||||||
# install docs by hand
|
# install docs by hand
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/sendmail
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/sendmail
|
||||||
cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $RPM_BUILD_ROOT%{_docdir}/sendmail
|
cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $RPM_BUILD_ROOT%{_docdir}/sendmail
|
||||||
@ -147,16 +148,20 @@ cp cf/README $RPM_BUILD_ROOT%{_docdir}/sendmail/README.cf
|
|||||||
|
|
||||||
# install the cf files
|
# install the cf files
|
||||||
pushd cf
|
pushd cf
|
||||||
cp -ar * $RPM_BUILD_ROOT/usr/lib/sendmail-cf
|
cp -ar * $RPM_BUILD_ROOT/usr/share/sendmail-cf
|
||||||
rm -f $RPM_BUILD_ROOT/usr/lib/sendmail-cf/*/*.m4path
|
rm -f $RPM_BUILD_ROOT/usr/share/sendmail-cf/*/*.m4path
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/mail
|
mkdir -p $RPM_BUILD_ROOT/etc/mail
|
||||||
|
|
||||||
|
|
||||||
install -m 644 cf/cf/redhat.cf $RPM_BUILD_ROOT/etc/sendmail.cf
|
install -m 644 cf/cf/redhat.cf $RPM_BUILD_ROOT/etc/sendmail.cf
|
||||||
sed -e 's|@@PATH@@|/usr/lib/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc
|
sed -e 's|@@PATH@@|/usr/share/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc
|
||||||
echo "# local-host-names - include all aliases for your machine here." > $RPM_BUILD_ROOT/etc/mail/local-host-names
|
echo "# local-host-names - include all aliases for your machine here." > $RPM_BUILD_ROOT/etc/mail/local-host-names
|
||||||
|
( echo "# trusted-users - users that can send mail as others without a warning"
|
||||||
|
echo "# apache, mailman, majordomo, uucp, are good candidates" ) \
|
||||||
|
> $RPM_BUILD_ROOT/etc/mail/trusted-users
|
||||||
|
|
||||||
|
|
||||||
ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
|
ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
|
||||||
install -d -m755 $RPM_BUILD_ROOT/var/spool/mqueue
|
install -d -m755 $RPM_BUILD_ROOT/var/spool/mqueue
|
||||||
@ -169,9 +174,9 @@ for f in hoststat mailq newaliases purgestat
|
|||||||
mkdir -p $RPM_BUILD_ROOT/etc/smrsh
|
mkdir -p $RPM_BUILD_ROOT/etc/smrsh
|
||||||
|
|
||||||
cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access
|
cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access
|
||||||
# Check the /usr/doc/sendmail-%{version}/README.cf file for a description
|
# Check the /usr/share/doc/sendmail-%{version}/README.cf file for a description
|
||||||
# of the format of this file. (search for access_db in that file)
|
# of the format of this file. (search for access_db in that file)
|
||||||
# The /usr/doc/sendmail-%{version}/README.cf is part of the sendmail-doc
|
# The /usr/share/doc/sendmail-%{version}/README.cf is part of the sendmail-doc
|
||||||
# package.
|
# package.
|
||||||
#
|
#
|
||||||
# by default we allow relaying from localhost...
|
# by default we allow relaying from localhost...
|
||||||
@ -203,6 +208,7 @@ strip $RPM_BUILD_ROOT/usr/bin/rmail
|
|||||||
|
|
||||||
install -m755 -d $RPM_BUILD_ROOT%{_libdir}/sasl
|
install -m755 -d $RPM_BUILD_ROOT%{_libdir}/sasl
|
||||||
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf
|
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf
|
||||||
|
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -232,7 +238,7 @@ for oldfile in relay_allow ip_allow name_allow ; do
|
|||||||
if [ -f /etc/mail/$oldfile ] ; then
|
if [ -f /etc/mail/$oldfile ] ; then
|
||||||
cat /etc/mail/$oldfile | \
|
cat /etc/mail/$oldfile | \
|
||||||
awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \
|
awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \
|
||||||
{ print $1\" RELAY\" }" >> /etc/mail/access
|
{ print \$1\" RELAY\" }" >> /etc/mail/access
|
||||||
cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
|
cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -290,6 +296,7 @@ fi
|
|||||||
%{_mandir}/man8/mailstats.8*
|
%{_mandir}/man8/mailstats.8*
|
||||||
%{_mandir}/man8/makemap.8*
|
%{_mandir}/man8/makemap.8*
|
||||||
%{_mandir}/man8/sendmail.8*
|
%{_mandir}/man8/sendmail.8*
|
||||||
|
%{_mandir}/man8/smrsh.8*
|
||||||
%{_mandir}/man5/aliases.5*
|
%{_mandir}/man5/aliases.5*
|
||||||
%{_mandir}/man1/newaliases.1*
|
%{_mandir}/man1/newaliases.1*
|
||||||
%{_mandir}/man1/mailq.1*
|
%{_mandir}/man1/mailq.1*
|
||||||
@ -297,10 +304,10 @@ fi
|
|||||||
/var/log/statistics
|
/var/log/statistics
|
||||||
# XXX can't do noreplace here or new sendmail will not deliver.
|
# XXX can't do noreplace here or new sendmail will not deliver.
|
||||||
%config /etc/sendmail.cf
|
%config /etc/sendmail.cf
|
||||||
%attr(0644,root,root) %config /etc/mail/sendmail.mc
|
%attr(0644,root,root) %config(noreplace) /etc/mail/sendmail.mc
|
||||||
%config(noreplace) /etc/mail/local-host-names
|
%config(noreplace) /etc/mail/local-host-names
|
||||||
%config(noreplace) /etc/aliases
|
%config(noreplace) /etc/aliases
|
||||||
%attr(0644,root,mail) %ghost /etc/aliases.db
|
%attr(0644,root,root) %ghost /etc/aliases.db
|
||||||
%attr(0755,root,mail) %dir /var/spool/mqueue
|
%attr(0755,root,mail) %dir /var/spool/mqueue
|
||||||
%dir /etc/smrsh
|
%dir /etc/smrsh
|
||||||
%dir /etc/mail
|
%dir /etc/mail
|
||||||
@ -319,22 +326,90 @@ fi
|
|||||||
%attr(0644,root,root) %config(noreplace) /etc/mail/mailertable
|
%attr(0644,root,root) %config(noreplace) /etc/mail/mailertable
|
||||||
|
|
||||||
%attr(0644,root,root) %config(noreplace) /etc/mail/helpfile
|
%attr(0644,root,root) %config(noreplace) /etc/mail/helpfile
|
||||||
|
%attr(0644,root,root) %config(noreplace) /etc/mail/trusted-users
|
||||||
|
|
||||||
%config /etc/sysconfig/sendmail
|
%config(noreplace) /etc/sysconfig/sendmail
|
||||||
|
|
||||||
%config %{initdir}/sendmail
|
%config %{initdir}/sendmail
|
||||||
|
|
||||||
%config %{_libdir}/sasl/Sendmail.conf
|
%config %{_libdir}/sasl/Sendmail.conf
|
||||||
|
/etc/pam.d/smtp
|
||||||
|
|
||||||
%files cf
|
%files cf
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/lib/sendmail-cf
|
/usr/share/sendmail-cf
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_docdir}/sendmail
|
%{_docdir}/sendmail
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
|
* Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc
|
||||||
|
|
||||||
|
* Wed Feb 21 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- add changes from Christopher McCrory <chrismcc@pricegrabber.com>:
|
||||||
|
- prepare /etc/mail/Makefile for more maps not shipped with this rpm
|
||||||
|
- changed sendmail.mc to include some more commented out options,
|
||||||
|
so that people are directly pointed at important options
|
||||||
|
- add /etc/pam.d/smtp for AUTH
|
||||||
|
- add FEATURE(use_ct_file) and /etc/mail/trusted-users
|
||||||
|
|
||||||
|
* Fri Feb 16 2001 Tim Powers <timp@redhat.com>
|
||||||
|
- don't obsolete postfix and exim, only conflict (for RHN purposes)
|
||||||
|
|
||||||
|
* Thu Feb 15 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- obsolete and conflict with exim and postfix
|
||||||
|
|
||||||
|
* Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- fix devision by zero bug in #20395
|
||||||
|
- mv /usr/lib/sendmail-cf /usr/share/sendmail-cf
|
||||||
|
|
||||||
|
* Wed Feb 7 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- i18n tweaks to initscript
|
||||||
|
|
||||||
|
* Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- aliases.db should be owned by group root
|
||||||
|
|
||||||
|
* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- prepare for startup-script translation
|
||||||
|
|
||||||
|
* Tue Jan 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- enable daemon mode again, but only listen to the loopback device
|
||||||
|
instead of all devices.
|
||||||
|
- do not include check.tar with old anti-spam rules
|
||||||
|
|
||||||
|
* Fri Jan 12 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- fix configuration of /etc/aliases
|
||||||
|
|
||||||
|
* Mon Jan 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- fix interoperation problems with communigate pro
|
||||||
|
- disable msa
|
||||||
|
|
||||||
|
* Thu Jan 04 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to (security release) 8.11.2
|
||||||
|
- build also on RHL 6.x #16061
|
||||||
|
- include smrsh man-page #17901
|
||||||
|
- use the "-f" flag for makemap to preserve case for virtusertable
|
||||||
|
and userdb in /etc/mail/Makefile - suggested by Harald Hoyer
|
||||||
|
- fix /usr/doc -> usr/share/doc in docu #20611
|
||||||
|
- wrong path in sendmail.mc #20691
|
||||||
|
- tcp-wrapper support wasn't enabled correctly #21642
|
||||||
|
- do not expose user "root" when masquerading like in older releases #21643
|
||||||
|
- disable the VRFY and EXPN smtp commands #21801
|
||||||
|
- disable queue-runs for normal users (restrictqrun privacy flag)
|
||||||
|
- fix typo in sendmail.mc #21880, #22682
|
||||||
|
- disable daemon mode to see what needs fixing
|
||||||
|
|
||||||
|
* Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to 8.11.1
|
||||||
|
|
||||||
|
* Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
|
* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
- apply fixes for LDAP maps being closed too soon
|
- apply fixes for LDAP maps being closed too soon
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user