[521] | 1 | # Build options |
---|
| 2 | %define with_ldap 0 |
---|
| 3 | %define with_sasl 0 |
---|
| 4 | %define with_sasl2 1 |
---|
| 5 | %define with_tls 1 |
---|
| 6 | |
---|
| 7 | %define initdir /etc/rc.d/init.d |
---|
| 8 | |
---|
| 9 | Summary: A widely used Mail Transport Agent (MTA). |
---|
| 10 | Summary(ja): 広く使用されているメール配送エージェント (MTA)。 |
---|
| 11 | Name: sendmail |
---|
| 12 | Version: 8.14.2 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
| 14 | URL: http://www.sendmail.org/ |
---|
| 15 | License: Sendmail |
---|
| 16 | Group: System Environment/Daemons |
---|
| 17 | Provides: smtpdaemon |
---|
| 18 | Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz |
---|
| 19 | Source1: sendmail.init |
---|
| 20 | Source2: site.config.m4.vine |
---|
| 21 | Source3: sendmail.aliases |
---|
| 22 | Source4: sendmail.sysconfig |
---|
| 23 | Source5: sendmail.etc-mail-Makefile |
---|
| 24 | Source6: sendmail-vine.mc |
---|
| 25 | Source7: Sendmail-sasl.conf |
---|
| 26 | Source8: sendmail.pam |
---|
| 27 | Source9: sendmail-8.12.5-newconfig.readme |
---|
| 28 | Source10: makecert.sh |
---|
| 29 | Source11: Sendmail-sasl2.conf |
---|
| 30 | #Patch: sendmail-8.12.2-makemapman.patch |
---|
| 31 | #Patch1: sendmail-8.12.11-smrsh-paths.patch |
---|
| 32 | Patch2: sendmail-8.12.10-movefiles.patch |
---|
| 33 | Patch3: sendmail-8.13.7-pid.vine.patch |
---|
| 34 | Patch4: sendmail-8.12.7-manpage.patch |
---|
| 35 | #Patch5: sendmail-8.13.0-dynamic.patch |
---|
| 36 | Patch6: sendmail-8.13.0-cyrus.patch |
---|
| 37 | #Patch7: sendmail-8.13.1-parseaddr.c.cataddr.8.379.patch |
---|
| 38 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 39 | BuildRequires: db4-devel, tcp_wrappers |
---|
| 40 | #Provides: %{_sbindir}/sendmail %{_bindir}/mailq %{_bindir}/newaliases |
---|
| 41 | #Provides: %{_bindir}/rmail %{_mandir}/man1/mailq.1.gz |
---|
| 42 | #Provides: %{_mandir}/man1/newaliases.1.gz %{_mandir}/man5/aliases.5.gz |
---|
| 43 | Prereq: /sbin/chkconfig /usr/sbin/useradd /bin/mktemp fileutils gawk sed sh-utils |
---|
| 44 | Conflicts: postfix exim |
---|
| 45 | Requires: procmail, bash >= 2.0 |
---|
| 46 | |
---|
| 47 | %if %{with_ldap} |
---|
| 48 | BuildRequires: openldap-devel openssl-devel |
---|
| 49 | Prereq: openldap openssl |
---|
| 50 | %endif |
---|
| 51 | |
---|
| 52 | %if %{with_sasl} || %{with_sasl2} |
---|
| 53 | BuildRequires: cyrus-sasl-devel openssl-devel |
---|
| 54 | Prereq: cyrus-sasl openssl |
---|
| 55 | %endif |
---|
| 56 | |
---|
| 57 | %if %{with_tls} |
---|
| 58 | BuildRequires: openssl-devel |
---|
| 59 | Prereq: openssl |
---|
| 60 | %endif |
---|
| 61 | |
---|
| 62 | Vendor: Project Vine |
---|
| 63 | Distribution: Vine Linux |
---|
| 64 | |
---|
| 65 | %description |
---|
| 66 | The Sendmail program is a very widely used Mail Transport Agent (MTA). |
---|
| 67 | MTAs send mail from one machine to another. Sendmail is not a client |
---|
| 68 | program, which you use to read your email. Sendmail is a |
---|
| 69 | behind-the-scenes program which actually moves your email over |
---|
| 70 | networks or the Internet to where you want it to go. |
---|
| 71 | |
---|
| 72 | If you ever need to reconfigure Sendmail, you will also need to have |
---|
| 73 | the sendmail.cf package installed. If you need documentation on |
---|
| 74 | Sendmail, you can install the sendmail-doc package. |
---|
| 75 | |
---|
| 76 | %description -l ja |
---|
| 77 | Sendmailプログラムはとても広く使われているメール配送エージェント (MTA) |
---|
| 78 | です。MTAはメールをマシンから別のマシンに送ります。 Sendmailはメールを |
---|
| 79 | 読む時に使うクライアントプログラムではありません。Sendmailはメールをネ |
---|
| 80 | ットワークやインターネット経由で送りたい所に実際に送っている裏方のプロ |
---|
| 81 | グラムです。 |
---|
| 82 | |
---|
| 83 | Sendmailを再設定する必要がある場合には sendmail.cfパッケージもインスト |
---|
| 84 | ールされている必要があります。Sendmailに関するドキュメントが必要な場合 |
---|
| 85 | はsendmail-docパッケージをインストールして下さい。 |
---|
| 86 | |
---|
| 87 | %package doc |
---|
| 88 | Summary: Documentation about the Sendmail Mail Transport Agent program. |
---|
| 89 | Summary(ja): Sendmailメール配送エージェントプログラムに関するドキュメント。 |
---|
| 90 | Group: Applications/Documentation |
---|
| 91 | |
---|
| 92 | %description doc |
---|
| 93 | The sendmail-doc package contains documentation about the Sendmail |
---|
| 94 | Mail Transport Agent (MTA) program, including release notes, the |
---|
| 95 | Sendmail FAQ, and a few papers written about Sendmail. The papers are |
---|
| 96 | provided in PostScript(TM) and troff formats. |
---|
| 97 | |
---|
| 98 | %description doc -l ja |
---|
| 99 | sendmail-docパッケージはSendmailメール配送エージェント (MTA)プログラム |
---|
| 100 | に関するドキュメントです。 リリースノート、Sendmailに関するFAQ、そして |
---|
| 101 | いくつかのSendmailに関する文書を含んでいます。この文書はPostScript(TM) |
---|
| 102 | とtroff形式で提供されています。 |
---|
| 103 | |
---|
| 104 | %package devel |
---|
| 105 | Summary: Extra development include files and development files. |
---|
| 106 | Summary(ja): 特別な開発のためのインクルードファイルと開発のためのファイル。 |
---|
| 107 | Group: Development/Libraries |
---|
| 108 | |
---|
| 109 | %description devel |
---|
| 110 | Include files and devel libraries for e.g. the milter addons as part |
---|
| 111 | of sendmail. |
---|
| 112 | |
---|
| 113 | %description devel -l ja |
---|
| 114 | 開発のためのインクルードファイルとライブラリです。例をあげればmilterは |
---|
| 115 | sendmailの一部として追加されています。 |
---|
| 116 | |
---|
| 117 | %package cf |
---|
| 118 | Summary: The files needed to reconfigure Sendmail. |
---|
| 119 | Summary(ja): Sendmailの再設定に必要なファイル |
---|
| 120 | Group: System Environment/Daemons |
---|
| 121 | Requires: m4 |
---|
| 122 | |
---|
| 123 | %description cf |
---|
| 124 | This package includes the configuration files you need to generate the |
---|
| 125 | sendmail.cf file distributed with the sendmail package. You will need |
---|
| 126 | the sendmail-cf package if you ever need to reconfigure and rebuild |
---|
| 127 | your sendmail.cf file. |
---|
| 128 | |
---|
| 129 | %description cf -l ja |
---|
| 130 | このパッケージはsendmailパッケージと共に配布されている sendmail.cfファ |
---|
| 131 | イルの生成に必要な設定ファイルを含んでいます。 sendmail.cfファイルを再 |
---|
| 132 | 設定し生成する必要がある場合、sendmail-cfパッケージが必要になります。 |
---|
| 133 | |
---|
| 134 | %prep |
---|
| 135 | %setup -q |
---|
| 136 | #%patch -p1 -b .makemapman |
---|
| 137 | #%patch1 -p1 -b .smrsh_paths |
---|
| 138 | %patch2 -p1 -b .movestuff |
---|
| 139 | %patch3 -p1 -b .pid |
---|
| 140 | %patch4 -p1 -b .manpage |
---|
| 141 | #%patch5 -p1 -b .dynamic |
---|
| 142 | %patch6 -p1 -b .cyrus |
---|
| 143 | #%patch7 -p1 -b .cataddr |
---|
| 144 | |
---|
| 145 | %build |
---|
| 146 | cp %{SOURCE2} devtools/Site/site.config.m4 |
---|
| 147 | |
---|
| 148 | %if %{with_ldap} |
---|
| 149 | cat >> devtools/Site/site.config.m4 << EOF |
---|
| 150 | APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')dnl |
---|
| 151 | APPENDDEF(\`confENVDEF', \`-DSM_CONF_LDAP_MEMFREE=1')dnl |
---|
| 152 | APPENDDEF(\`confLIBS', \`-lldap -llber -lssl -lcrypto')dnl |
---|
| 153 | EOF |
---|
| 154 | %endif |
---|
| 155 | |
---|
| 156 | %if %{with_sasl2} |
---|
| 157 | cat >> devtools/Site/site.config.m4 << EOF |
---|
| 158 | APPENDDEF(\`confENVDEF', \`-DSASL=2 -D_FFR_UNSAFE_SASL')dnl |
---|
| 159 | APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl |
---|
| 160 | EOF |
---|
| 161 | %elseif %{with_sasl} |
---|
| 162 | cat >> devtools/Site/site.config.m4 << EOF |
---|
| 163 | APPENDDEF(\`confENVDEF', \`-DSASL=1 -D_FFR_UNSAFE_SASL')dnl |
---|
| 164 | APPENDDEF(\`confLIBS', \`-lsasl -lcrypto')dnl |
---|
| 165 | EOF |
---|
| 166 | %endif |
---|
| 167 | |
---|
| 168 | %if %{with_tls} |
---|
| 169 | cat >> devtools/Site/site.config.m4 << EOF |
---|
| 170 | APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl |
---|
| 171 | APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl |
---|
| 172 | EOF |
---|
| 173 | %endif |
---|
| 174 | |
---|
| 175 | for i in libmilter libsmutil sendmail mailstats rmail praliases \ |
---|
| 176 | smrsh makemap ; do |
---|
| 177 | pushd $i |
---|
| 178 | sh Build |
---|
| 179 | popd |
---|
| 180 | done |
---|
| 181 | |
---|
| 182 | %install |
---|
| 183 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 184 | mkdir -p $RPM_BUILD_ROOT |
---|
| 185 | |
---|
| 186 | cd $RPM_BUILD_ROOT |
---|
| 187 | mkdir -p etc/sysconfig .%{initdir} etc/pam.d |
---|
| 188 | mkdir -p usr/bin usr/include/libmilter usr/lib .%{_mandir}/man{1,5,8} |
---|
| 189 | mkdir -p usr/sbin var/log var/spool .%{_datadir}/sendmail-cf |
---|
| 190 | cd - |
---|
| 191 | |
---|
| 192 | OBJDIR=obj.$(uname -s).$(uname -r).$(arch) |
---|
| 193 | nameuser=`id -nu` |
---|
| 194 | namegroup=`id -ng` |
---|
| 195 | |
---|
| 196 | Make() { |
---|
| 197 | make $@ \ |
---|
| 198 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
| 199 | MANROOT=%{_mandir}/man \ |
---|
| 200 | SBINOWN=${nameuser} SBINGRP=${namegroup} \ |
---|
| 201 | UBINOWN=${nameuser} UBINGRP=${namegroup} \ |
---|
| 202 | MANOWN=${nameuser} MANGRP=${namegroup} \ |
---|
| 203 | INCOWN=${nameuser} INCGRP=${namegroup} \ |
---|
| 204 | LIBOWN=${nameuser} LIBGRP=${namegroup} \ |
---|
| 205 | GBINOWN=${nameuser} GBINGRP=${namegroup} \ |
---|
| 206 | CFOWN=${nameuser} CFGRP=${namegroup} \ |
---|
| 207 | MSPQOWN=${nameuser} |
---|
| 208 | } |
---|
| 209 | |
---|
| 210 | Make install -C $OBJDIR/libmilter |
---|
| 211 | Make install -C $OBJDIR/libsmutil |
---|
| 212 | Make install -C $OBJDIR/sendmail |
---|
| 213 | Make install -C $OBJDIR/mailstats |
---|
| 214 | Make force-install -C $OBJDIR/rmail |
---|
| 215 | Make install -C $OBJDIR/praliases |
---|
| 216 | Make install -C $OBJDIR/smrsh |
---|
| 217 | Make install -C $OBJDIR/makemap |
---|
| 218 | |
---|
| 219 | touch $RPM_BUILD_ROOT/rootfile |
---|
| 220 | root=.. |
---|
| 221 | while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do |
---|
| 222 | root=${root}/.. |
---|
| 223 | done |
---|
| 224 | ln -sf ${root}%{_sbindir}/makemap $RPM_BUILD_ROOT%{_bindir}/makemap |
---|
| 225 | |
---|
| 226 | # Install docs by hand for the sendmail-doc package. |
---|
| 227 | DOC=$RPM_BUILD_ROOT%{_docdir}/sendmail |
---|
| 228 | mkdir -p $DOC |
---|
| 229 | cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $DOC |
---|
| 230 | cp sendmail/README $DOC/README.sendmail |
---|
| 231 | cp sendmail/SECURITY $DOC/SECURITY |
---|
| 232 | cp smrsh/README $DOC/README.smrsh |
---|
| 233 | cp libmilter/README $DOC/README.libmilter |
---|
| 234 | cp cf/README $DOC/README.cf |
---|
| 235 | cp %{SOURCE9} $DOC/README.vine |
---|
| 236 | cp %{SOURCE10} $DOC/makecert.sh |
---|
| 237 | |
---|
| 238 | # Install the cf files for the sendmail-cf package. |
---|
| 239 | cp -ar cf/* $RPM_BUILD_ROOT%{_datadir}/sendmail-cf |
---|
| 240 | |
---|
| 241 | install -d -m 755 $RPM_BUILD_ROOT/etc/mail |
---|
| 242 | |
---|
| 243 | sed -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc |
---|
| 244 | sed -e 's|%{_datadir}/sendmail-cf|\.\.|' < $RPM_BUILD_ROOT/etc/mail/sendmail.mc > cf/cf/vine.mc |
---|
| 245 | (cd cf/cf && m4 vine.mc > vine.cf) |
---|
| 246 | install -m 644 cf/cf/vine.cf $RPM_BUILD_ROOT/etc/mail/sendmail.cf |
---|
| 247 | install -m 644 cf/cf/submit.mc $RPM_BUILD_ROOT/etc/mail/submit.mc |
---|
| 248 | |
---|
| 249 | echo "# local-host-names - include all aliases for your machine here." \ |
---|
| 250 | > $RPM_BUILD_ROOT/etc/mail/local-host-names |
---|
| 251 | ( echo "# trusted-users - users that can send mail as others without a warning" |
---|
| 252 | echo "# apache, mailman, majordomo, uucp, are good candidates" ) \ |
---|
| 253 | > $RPM_BUILD_ROOT/etc/mail/trusted-users |
---|
| 254 | |
---|
| 255 | touch $RPM_BUILD_ROOT/rootfile |
---|
| 256 | root=.. |
---|
| 257 | while [ ! -r $RPM_BUILD_ROOT%{_libdir}/${root}/rootfile ]; do |
---|
| 258 | root=${root}/.. |
---|
| 259 | done |
---|
| 260 | #ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail |
---|
| 261 | ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail |
---|
| 262 | install -d -m 775 $RPM_BUILD_ROOT/var/spool/mqueue |
---|
| 263 | install -d -m 755 $RPM_BUILD_ROOT/var/spool/clientmqueue |
---|
| 264 | |
---|
| 265 | # dangling symlinks |
---|
| 266 | touch $RPM_BUILD_ROOT/rootfile |
---|
| 267 | root=.. |
---|
| 268 | while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do |
---|
| 269 | root=${root}/.. |
---|
| 270 | done |
---|
| 271 | for f in hoststat mailq newaliases purgestat ; do |
---|
| 272 | ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/${f} |
---|
| 273 | done |
---|
| 274 | install -d -m 755 $RPM_BUILD_ROOT/etc/smrsh |
---|
| 275 | |
---|
| 276 | cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access |
---|
| 277 | # Check the /usr/share/doc/sendmail/README.cf file for a description |
---|
| 278 | # of the format of this file. (search for access_db in that file) |
---|
| 279 | # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc |
---|
| 280 | # package. |
---|
| 281 | # |
---|
| 282 | # by default we allow relaying from localhost... |
---|
| 283 | localhost.localdomain RELAY |
---|
| 284 | localhost RELAY |
---|
| 285 | 127.0.0.1 RELAY |
---|
| 286 | |
---|
| 287 | EOF |
---|
| 288 | for map in virtusertable access domaintable mailertable ; do |
---|
| 289 | touch $RPM_BUILD_ROOT/etc/mail/${map} |
---|
| 290 | chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map} |
---|
| 291 | $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/mail/${map}.db < $RPM_BUILD_ROOT/etc/mail/${map} |
---|
| 292 | chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db |
---|
| 293 | done |
---|
| 294 | install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases |
---|
| 295 | $RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3} |
---|
| 296 | |
---|
| 297 | install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/sendmail |
---|
| 298 | install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{initdir}/sendmail |
---|
| 299 | |
---|
| 300 | install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/mail/Makefile |
---|
| 301 | |
---|
| 302 | chmod u+w $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases} |
---|
| 303 | chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail |
---|
| 304 | |
---|
| 305 | %if %{with_sasl2} |
---|
| 306 | install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl2 |
---|
| 307 | install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/sasl2/Sendmail.conf |
---|
| 308 | %elseif %{with_sasl} |
---|
| 309 | install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl |
---|
| 310 | install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf |
---|
| 311 | %endif |
---|
| 312 | |
---|
| 313 | install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp |
---|
| 314 | |
---|
| 315 | install -m 755 -d $RPM_BUILD_ROOT%{_libdir} |
---|
| 316 | install -m 644 $OBJDIR/libmilter/libmilter.a $RPM_BUILD_ROOT%{_libdir} |
---|
| 317 | install -m 644 $OBJDIR/libsmutil/libsmutil.a $RPM_BUILD_ROOT%{_libdir} |
---|
| 318 | install -m 644 $OBJDIR/libsm/libsm.a $RPM_BUILD_ROOT%{_libdir} |
---|
| 319 | |
---|
| 320 | %clean |
---|
| 321 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 322 | |
---|
| 323 | %pre |
---|
| 324 | /usr/sbin/useradd -u 47 -d /var/spool/mqueue -r -s /sbin/nologin mailnull >/dev/null 2>&1 |
---|
| 325 | /usr/sbin/useradd -u 51 -d /var/spool/mqueue -r -s /sbin/nologin smmsp >/dev/null 2>&1 |
---|
| 326 | exit 0 |
---|
| 327 | |
---|
| 328 | %postun |
---|
| 329 | if [ "$1" -ge "1" ]; then |
---|
| 330 | %{initdir}/sendmail condrestart >/dev/null 2>&1 |
---|
| 331 | fi |
---|
| 332 | exit 0 |
---|
| 333 | |
---|
| 334 | %post |
---|
| 335 | # |
---|
| 336 | # Convert old format to new |
---|
| 337 | # |
---|
| 338 | if [ -f /etc/mail/deny ]; then |
---|
| 339 | cat /etc/mail/deny | \ |
---|
| 340 | awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \ |
---|
| 341 | {print $1" REJECT"}' >> /etc/mail/access |
---|
| 342 | cp /etc/mail/deny /etc/mail/deny.rpmorig |
---|
| 343 | fi |
---|
| 344 | for oldfile in relay_allow ip_allow name_allow ; do |
---|
| 345 | if [ -f /etc/mail/$oldfile ]; then |
---|
| 346 | cat /etc/mail/$oldfile | \ |
---|
| 347 | awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \ |
---|
| 348 | { print \$1\" RELAY\" }" >> /etc/mail/access |
---|
| 349 | cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig |
---|
| 350 | fi |
---|
| 351 | done |
---|
| 352 | |
---|
| 353 | # |
---|
| 354 | # Remove deprecated config flags which are probably harmless to remove |
---|
| 355 | # |
---|
| 356 | cf=`/bin/mktemp /etc/mail/sendmail.cf.XXXXXX` |
---|
| 357 | if [ "$cf" != "" ]; then |
---|
| 358 | sed 's/^O AutoRebuildAliases$/#&/g' /etc/mail/sendmail.cf > ${cf} && \ |
---|
| 359 | cat ${cf} > /etc/mail/sendmail.cf |
---|
| 360 | rm ${cf} |
---|
| 361 | fi |
---|
| 362 | |
---|
| 363 | /sbin/chkconfig --add sendmail |
---|
| 364 | |
---|
| 365 | # |
---|
| 366 | # Oops, these files moved |
---|
| 367 | # |
---|
| 368 | if [ -f /etc/sendmail.cw ]; then |
---|
| 369 | cat /etc/sendmail.cw | \ |
---|
| 370 | awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \ |
---|
| 371 | { print $1 }' >> /etc/mail/local-host-names |
---|
| 372 | cp /etc/sendmail.cw /etc/sendmail.cw.rpmorig |
---|
| 373 | fi |
---|
| 374 | |
---|
| 375 | # |
---|
| 376 | # Rebuild maps (next reboot will rebuild also) |
---|
| 377 | # |
---|
| 378 | { |
---|
| 379 | chown root /etc/aliases.db /etc/mail/access.db /etc/mail/mailertable.db \ |
---|
| 380 | /etc/mail/domaintable.db /etc/mail/virtusertable.db |
---|
| 381 | /usr/bin/newaliases |
---|
| 382 | for map in virtusertable access domaintable mailertable ; do |
---|
| 383 | if [ -f /etc/mail/${map} ]; then |
---|
| 384 | /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map} |
---|
| 385 | fi |
---|
| 386 | done |
---|
| 387 | } > /dev/null 2>&1 |
---|
| 388 | |
---|
| 389 | %preun |
---|
| 390 | if [ $1 = 0 ]; then |
---|
| 391 | %{initdir}/sendmail stop >/dev/null 2>&1 |
---|
| 392 | /sbin/chkconfig --del sendmail |
---|
| 393 | fi |
---|
| 394 | exit 0 |
---|
| 395 | |
---|
| 396 | %triggerpostun -- sendmail < 8.10.0 |
---|
| 397 | /sbin/chkconfig --add sendmail |
---|
| 398 | |
---|
| 399 | %files |
---|
| 400 | %defattr(-,root,root) |
---|
| 401 | /usr/bin/hoststat |
---|
| 402 | /usr/bin/makemap |
---|
| 403 | /usr/bin/purgestat |
---|
| 404 | /usr/sbin/mailstats |
---|
| 405 | /usr/sbin/makemap |
---|
| 406 | /usr/sbin/praliases |
---|
| 407 | %attr(2755,root,smmsp)/usr/sbin/sendmail |
---|
| 408 | /usr/bin/rmail |
---|
| 409 | /usr/bin/newaliases |
---|
| 410 | /usr/bin/mailq |
---|
| 411 | /usr/sbin/smrsh |
---|
| 412 | /usr/lib/sendmail |
---|
| 413 | |
---|
| 414 | %{_mandir}/man8/rmail.8* |
---|
| 415 | %{_mandir}/man8/praliases.8* |
---|
| 416 | %{_mandir}/man8/mailstats.8* |
---|
| 417 | %{_mandir}/man8/makemap.8* |
---|
| 418 | %{_mandir}/man8/sendmail.8* |
---|
| 419 | %{_mandir}/man8/smrsh.8* |
---|
| 420 | %{_mandir}/man5/aliases.5* |
---|
| 421 | %{_mandir}/man1/newaliases.1* |
---|
| 422 | %{_mandir}/man1/mailq.1* |
---|
| 423 | |
---|
| 424 | %config(noreplace) /etc/mail/statistics |
---|
| 425 | %config(noreplace) /etc/mail/sendmail.cf |
---|
| 426 | %config(noreplace) /etc/mail/submit.cf |
---|
| 427 | %attr(0644,root,root) %config(noreplace) /etc/mail/sendmail.mc |
---|
| 428 | %attr(0644,root,root) %config(noreplace) /etc/mail/submit.mc |
---|
| 429 | %config(noreplace) /etc/mail/local-host-names |
---|
| 430 | %config(noreplace) /etc/aliases |
---|
| 431 | %attr(0644,root,root) %ghost /etc/aliases.db |
---|
| 432 | %attr(0770,smmsp,smmsp) %dir /var/spool/clientmqueue |
---|
| 433 | %attr(0700,root,mail) %dir /var/spool/mqueue |
---|
| 434 | %dir /etc/smrsh |
---|
| 435 | %dir /etc/mail |
---|
| 436 | |
---|
| 437 | %config /etc/mail/Makefile |
---|
| 438 | %attr(0644,root,root) %ghost /etc/mail/virtusertable.db |
---|
| 439 | %attr(0644,root,root) %config(noreplace) /etc/mail/virtusertable |
---|
| 440 | |
---|
| 441 | %attr(0644,root,root) %ghost /etc/mail/access.db |
---|
| 442 | %attr(0644,root,root) %config(noreplace) /etc/mail/access |
---|
| 443 | |
---|
| 444 | %attr(0644,root,root) %ghost /etc/mail/domaintable.db |
---|
| 445 | %attr(0644,root,root) %config(noreplace) /etc/mail/domaintable |
---|
| 446 | |
---|
| 447 | %attr(0644,root,root) %ghost /etc/mail/mailertable.db |
---|
| 448 | %attr(0644,root,root) %config(noreplace) /etc/mail/mailertable |
---|
| 449 | |
---|
| 450 | %attr(0644,root,root) %config(noreplace) /etc/mail/helpfile |
---|
| 451 | %attr(0644,root,root) %config(noreplace) /etc/mail/trusted-users |
---|
| 452 | |
---|
| 453 | %config(noreplace) /etc/sysconfig/sendmail |
---|
| 454 | |
---|
| 455 | %config %{initdir}/sendmail |
---|
| 456 | /etc/pam.d/smtp |
---|
| 457 | %if %{with_sasl2} |
---|
| 458 | %config %{_libdir}/sasl2/Sendmail.conf |
---|
| 459 | %elseif %{with_sasl} |
---|
| 460 | %config %{_libdir}/sasl/Sendmail.conf |
---|
| 461 | %endif |
---|
| 462 | |
---|
| 463 | %files cf |
---|
| 464 | %defattr(-,root,root) |
---|
| 465 | %{_datadir}/sendmail-cf |
---|
| 466 | |
---|
| 467 | %files devel |
---|
| 468 | %defattr(-,root,root) |
---|
| 469 | %{_includedir}/libmilter/*.h |
---|
| 470 | %{_libdir}/libmilter.a |
---|
| 471 | %{_libdir}/libsmutil.a |
---|
| 472 | %{_libdir}/libsm.a |
---|
| 473 | |
---|
| 474 | %files doc |
---|
| 475 | %defattr(-,root,root) |
---|
| 476 | %{_docdir}/sendmail |
---|
| 477 | |
---|
| 478 | %changelog |
---|
| 479 | * Sat Jun 21 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.14.2-1 |
---|
| 480 | - rebuilt against db4-4.6.21 |
---|
| 481 | - new versioning policy with spec in UTF-8 |
---|
| 482 | |
---|
| 483 | * Thu Nov 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.2-0vl3 |
---|
| 484 | - rebuilt 8.14.2-0vl1 for VineSeed |
---|
| 485 | |
---|
| 486 | * Thu Nov 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.2-0vl2 |
---|
| 487 | - rebuilt 8.14.2-0vl1 for VinePlus/4.0 |
---|
| 488 | * Tue Nov 13 2007 yamamoto <yamamoto@yu.vinelinux.org> 8.14.2-0vl1 |
---|
| 489 | - update to 8.14.2 |
---|
| 490 | |
---|
| 491 | * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.1-0vl2 |
---|
| 492 | - rebuilt for VinePlus/4.x |
---|
| 493 | - changed doc Group to Applications/Documentation |
---|
| 494 | - changed devel Group to Development/Libraries |
---|
| 495 | |
---|
| 496 | * Sun Jun 10 2007 yamamoto <yamamoto@yu.vinelinux.org> 8.14.1-0vl1 |
---|
| 497 | - update to 8.14.1 |
---|
| 498 | |
---|
| 499 | * Wed Sep 6 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.8-0vl1 |
---|
| 500 | - update to 8.13.8 |
---|
| 501 | |
---|
| 502 | * Sat Jul 1 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.7-0vl1 |
---|
| 503 | - update to 8.13.7 |
---|
| 504 | |
---|
| 505 | * Sun Apr 9 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.6-0vl1 |
---|
| 506 | - update to 8.13.6 |
---|
| 507 | |
---|
| 508 | * Sun Feb 5 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.5-0vl1 |
---|
| 509 | - update to 8.13.5 |
---|
| 510 | |
---|
| 511 | * Sun May 15 2005 yamamoto <yamamoto@yu.vinelinux.org> 8.13.4-0vl1 |
---|
| 512 | - update to 8.13.4 |
---|
| 513 | |
---|
| 514 | * Mon Sep 13 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl3 |
---|
| 515 | - rebuild for Vine 3.0 |
---|
| 516 | |
---|
| 517 | * Mon Sep 13 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl2 |
---|
| 518 | - add parseaddr.c.cataddr.8.379 patch |
---|
| 519 | |
---|
| 520 | * Mon Aug 16 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl1 |
---|
| 521 | - update to 8.13.1 |
---|
| 522 | |
---|
| 523 | * Sat Jul 24 2004 Masaki Suzuki <masaki@btree.org> 8.13.0-0vl2 |
---|
| 524 | - rebuild for Vine 3.0 |
---|
| 525 | |
---|
| 526 | * Sat Jul 24 2004 Masaki Suzuki <masaki@btree.org> 8.13.0-0vl1 |
---|
| 527 | - update to 8.13.0 |
---|
| 528 | - add milter.c.8.224 patch |
---|
| 529 | |
---|
| 530 | * Wed Feb 25 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl4 |
---|
| 531 | - fix Sendmail.conf for cyrus-sasl-1 |
---|
| 532 | - add build option for SASL2 |
---|
| 533 | - build with cyrus-sasl-2 support |
---|
| 534 | |
---|
| 535 | * Sun Feb 22 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl3 |
---|
| 536 | - update site.config.m4.vine |
---|
| 537 | - some fix sepc file |
---|
| 538 | |
---|
| 539 | * Thu Feb 19 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl2 |
---|
| 540 | - rebuild for VineSeed |
---|
| 541 | - build with cyrus-sasl support |
---|
| 542 | |
---|
| 543 | * Tue Feb 17 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl1 |
---|
| 544 | - update to 8.12.11 |
---|
| 545 | - adjust rpm license tag to say "Sendmail" |
---|
| 546 | - add build options for LDAP, SASL and TLS |
---|
| 547 | - update sendmail-vine.mc |
---|
| 548 | - update initscript |
---|
| 549 | - clean up spec file |
---|
| 550 | |
---|
| 551 | * Fri Sep 19 2003 Masaki Suzuki <masaki@btree.org> 8.12.10-0vl1 |
---|
| 552 | - update to 8.12.10 |
---|
| 553 | |
---|
| 554 | * Thu Apr 3 2003 Masaki Suzuki <masaki@btree.org> 8.12.9-0vl1 |
---|
| 555 | - update to 8.12.9 |
---|
| 556 | |
---|
| 557 | * Tue Mar 4 2003 Masaki Suzuki <masaki@btree.org> 8.12.8-0vl1 |
---|
| 558 | - update to 8.12.8 |
---|
| 559 | |
---|
| 560 | * Fri Jan 10 2003 Masaki Suzuki <masaki@btree.org> 8.12.7-0vl2 |
---|
| 561 | - add proto.m4.8.649.2.14 patch |
---|
| 562 | |
---|
| 563 | * Tue Dec 31 2002 Masaki Suzuki <masaki@btree.org> 8.12.7-0vl1 |
---|
| 564 | - update to 8.12.7 |
---|
| 565 | |
---|
| 566 | * Sun Dec 8 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl3 |
---|
| 567 | - fix Summary(ja) and %description -l ja sections in spec file |
---|
| 568 | |
---|
| 569 | * Thu Dec 5 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl2 |
---|
| 570 | - add proto.m4.8.649.2.13 patch for access restrictions imposed |
---|
| 571 | via check_relay. |
---|
| 572 | |
---|
| 573 | * Wed Oct 23 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl1 |
---|
| 574 | - 8.12.6 |
---|
| 575 | - add smrsh-20020924.patch for smrsh bypass vulnerabilities |
---|
| 576 | - initial RPM for Vine Linux based on 8.12.5-7 of RHL |
---|
| 577 | |
---|
| 578 | * Thu Aug 29 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 579 | - clean up some specfile cruft |
---|
| 580 | - add more pseudo accounts to /etc/aliases |
---|
| 581 | |
---|
| 582 | * Thu Jul 25 2002 Phil Knirsch <pknirsch@redhat.com> |
---|
| 583 | - Only generate new cf files if the /usr/share/sendmail-cf/m4/cf.m4 exists. |
---|
| 584 | |
---|
| 585 | * Wed Jul 24 2002 Phil Knirsch <pknirsch@redhat.com> |
---|
| 586 | - Changed the behaviour in /etc/mail/Makefile to generate the sendmail.cf and |
---|
| 587 | submit.cf from the mc files if they changed. |
---|
| 588 | - Added a small README.redhat that descibed the new mc file behaviour and the |
---|
| 589 | split into sendmail.cf and submit.cf. |
---|
| 590 | |
---|
| 591 | * Wed Jul 24 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 592 | - suggestions form Stephane Lentz: |
---|
| 593 | - add correct include statement into submit.mc (like sendmail.mc) |
---|
| 594 | - add commented out further suggestions into submit.mc |
---|
| 595 | - disable ident lookups |
---|
| 596 | |
---|
| 597 | * Thu Jul 11 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 598 | - fix initscript for the second daemon and pidfile location #67910 |
---|
| 599 | |
---|
| 600 | * Mon Jul 01 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 601 | - update to 8.12.5 |
---|
| 602 | |
---|
| 603 | * Thu Jun 27 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 604 | - add further queue runs, slight spec-file cleanups |
---|
| 605 | |
---|
| 606 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 607 | - automated rebuild |
---|
| 608 | |
---|
| 609 | * Tue Jun 11 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 610 | - update to 8.12.4, adjust smrsh patch |
---|
| 611 | |
---|
| 612 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 613 | - automated rebuild |
---|
| 614 | |
---|
| 615 | * Sat Apr 13 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 616 | - update to 8.12.3 |
---|
| 617 | |
---|
| 618 | * Tue Mar 26 2002 Tim Powers <timp@redhat.com> |
---|
| 619 | - rebuilt |
---|
| 620 | |
---|
| 621 | * Mon Mar 25 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 622 | - fix alternatives --remove #61737 |
---|
| 623 | - add sendmail/SECURITY as docu #61870, #61545 |
---|
| 624 | |
---|
| 625 | * Wed Mar 20 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 626 | - add libsm.a #61270 |
---|
| 627 | - change from /etc/sendmail.cf to /etc/mail/sendmail.cf |
---|
| 628 | - add milter patch |
---|
| 629 | |
---|
| 630 | * Wed Mar 13 2002 Bill Nottingham <notting@redhat.com> |
---|
| 631 | - ignore DAEMON=no; that configuration no longer functions |
---|
| 632 | |
---|
| 633 | * Wed Mar 13 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 634 | - make sure more version information is in the cf file #54418 |
---|
| 635 | - do not use "-b" flag when patching in spec file |
---|
| 636 | - require newer chkconfig version #61035 |
---|
| 637 | - fix preun script #60880 |
---|
| 638 | - add TMPF to access file creation #60956 |
---|
| 639 | |
---|
| 640 | * Sat Mar 09 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 641 | - mv include files to /usr/include/libmilter/ #60795 |
---|
| 642 | - do not use "-f" option to virtusertable #60196 |
---|
| 643 | - ad an example smarthost entry to config file #58298 |
---|
| 644 | |
---|
| 645 | * Fri Mar 8 2002 Bill Nottingham <notting@redhat.com> 8.12.2-5 |
---|
| 646 | - use alternatives --initscript support |
---|
| 647 | - run chkconfig --add before alternatives |
---|
| 648 | |
---|
| 649 | * Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 8.12.2-3 |
---|
| 650 | - run alternatives --remove in %preun |
---|
| 651 | - add some prereqs |
---|
| 652 | |
---|
| 653 | * Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-2 |
---|
| 654 | - fix smmsp useradd invocation in %%pre |
---|
| 655 | - switch back to db3 for storing db files |
---|
| 656 | |
---|
| 657 | * Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-1 |
---|
| 658 | - update to 8.12.2 (adds STARTTLS support without need for sfio) |
---|
| 659 | - don't forcibly strip binaries; let the build root handle it |
---|
| 660 | - add creation of the smmsp account (51/51) in %%pre |
---|
| 661 | - enable hesiod map support |
---|
| 662 | - modify default config to use an MSP |
---|
| 663 | - comment out 'O AutoRebuildAliases' in %%post, otherwise sendmail will |
---|
| 664 | fail to restart on upgrades |
---|
| 665 | |
---|
| 666 | * Wed Feb 20 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 667 | - add proper ifdefs around new alternative stuff to also be able |
---|
| 668 | to build this for older releases |
---|
| 669 | |
---|
| 670 | * Fri Feb 1 2002 Bill Nottingham <notting@redhat.com> 8.11.6-12 |
---|
| 671 | - %triggerpostun on older versions to make sure alternatives work on |
---|
| 672 | upgrades |
---|
| 673 | |
---|
| 674 | * Thu Jan 31 2002 Bill Nottingham <notting@redhat.com> 8.11.6-11 |
---|
| 675 | - clean up alternatives somewhat, provide /usr/sbin/sendmail & friends |
---|
| 676 | |
---|
| 677 | * Thu Jan 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 8.11.6-10 |
---|
| 678 | - Use alternatives |
---|
| 679 | |
---|
| 680 | * Tue Jan 22 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 681 | - fix quotation in spec-file |
---|
| 682 | |
---|
| 683 | * Thu Jan 10 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 684 | - integrate ugly logic to compile this src.rpm also on older Red Hat |
---|
| 685 | Linux releases |
---|
| 686 | - clean up spec file and patches a bit |
---|
| 687 | - add db4 support |
---|
| 688 | |
---|
| 689 | * Wed Jan 09 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 690 | - fix another path to correct docu |
---|
| 691 | - include sendmail/README in the docu |
---|
| 692 | - compile with -D_FFR_WORKAROUND_BROKEN_NAMESERVERS, but do not |
---|
| 693 | enable this at runtime |
---|
| 694 | - devel subpackage files owned by root now |
---|
| 695 | |
---|
| 696 | * Fri Dec 07 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 697 | - change "-q" to "-s" as option to make #57216 |
---|
| 698 | - move milter lib into separate "devel" sub-package |
---|
| 699 | - add include files to devel sub-package #56064 |
---|
| 700 | - fix pointer in access file to docu #54351 |
---|
| 701 | |
---|
| 702 | * Mon Sep 10 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 703 | - add libmilter docu |
---|
| 704 | - add support for userdb to /etc/mail/Makefile |
---|
| 705 | - use "btree" database files if a userdb is used |
---|
| 706 | - buildrequires tcp_wrappers |
---|
| 707 | |
---|
| 708 | * Fri Aug 31 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 709 | - fix libmilter support |
---|
| 710 | - fix init script to use /etc/mail/Makefile #52932 |
---|
| 711 | |
---|
| 712 | * Sat Aug 25 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 713 | - add libmilter library |
---|
| 714 | |
---|
| 715 | * Thu Aug 23 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 716 | - update to 8.11.6 |
---|
| 717 | - correctly use /etc/mail/statistics |
---|
| 718 | |
---|
| 719 | * Thu Aug 09 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 720 | - change init script back to older conventions #51297 |
---|
| 721 | - remove DoS patch, not needed anymore #51247 |
---|
| 722 | |
---|
| 723 | * Mon Aug 06 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 724 | - add option '-t' to procmail for local mail delivery |
---|
| 725 | |
---|
| 726 | * Tue Jul 24 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 727 | - point to the map files in sendmail.cf as pointed out by |
---|
| 728 | David Beveridge <David@beveridge.com> |
---|
| 729 | |
---|
| 730 | * Mon Jul 23 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 731 | - add build requires #49695 |
---|
| 732 | - do not call "userdel" |
---|
| 733 | |
---|
| 734 | * Tue Jul 10 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 735 | - change sendmail.cf to "noreplace" |
---|
| 736 | |
---|
| 737 | * Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 738 | - update to 8.11.4 |
---|
| 739 | |
---|
| 740 | * Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 741 | - update to 8.11.3 |
---|
| 742 | - add "localhost.localdomain" to the list of hostnames accepted |
---|
| 743 | for local delivery "Cw" in /etc/mail/sendmail.mc |
---|
| 744 | - add patches from Pekka Savola <pekkas@netcore.fi> |
---|
| 745 | - Enable IPv6 at compile time, patch for glibc 2.2 from PLD |
---|
| 746 | - Add a commented-out IPv6 daemon .mc line to sendmail.mc |
---|
| 747 | - buildrequire: openldap-devel, cyrus-sasl-devel |
---|
| 748 | |
---|
| 749 | * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 750 | - rebuild in new environment |
---|
| 751 | |
---|
| 752 | * Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 753 | - add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc |
---|
| 754 | |
---|
| 755 | * Wed Feb 21 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 756 | - add changes from Christopher McCrory <chrismcc@pricegrabber.com>: |
---|
| 757 | - prepare /etc/mail/Makefile for more maps not shipped with this rpm |
---|
| 758 | - changed sendmail.mc to include some more commented out options, |
---|
| 759 | so that people are directly pointed at important options |
---|
| 760 | - add /etc/pam.d/smtp for AUTH |
---|
| 761 | - add FEATURE(use_ct_file) and /etc/mail/trusted-users |
---|
| 762 | |
---|
| 763 | * Fri Feb 16 2001 Tim Powers <timp@redhat.com> |
---|
| 764 | - don't obsolete postfix and exim, only conflict (for RHN purposes) |
---|
| 765 | |
---|
| 766 | * Thu Feb 15 2001 Trond Eivind Glomsr <teg@redhat.com> |
---|
| 767 | - obsolete and conflict with exim and postfix |
---|
| 768 | |
---|
| 769 | * Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 770 | - fix devision by zero bug in #20395 |
---|
| 771 | - mv /usr/lib/sendmail-cf /usr/share/sendmail-cf |
---|
| 772 | |
---|
| 773 | * Wed Feb 7 2001 Trond Eivind Glomsr <teg@redhat.com> |
---|
| 774 | - i18n tweaks to initscript |
---|
| 775 | |
---|
| 776 | * Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 777 | - aliases.db should be owned by group root |
---|
| 778 | |
---|
| 779 | * Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 780 | - prepare for startup-script translation |
---|
| 781 | |
---|
| 782 | * Tue Jan 23 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 783 | - enable daemon mode again, but only listen to the loopback device |
---|
| 784 | instead of all devices. |
---|
| 785 | - do not include check.tar with old anti-spam rules |
---|
| 786 | |
---|
| 787 | * Fri Jan 12 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 788 | - fix configuration of /etc/aliases |
---|
| 789 | |
---|
| 790 | * Mon Jan 08 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 791 | - fix interoperation problems with communigate pro |
---|
| 792 | - disable msa |
---|
| 793 | |
---|
| 794 | * Thu Jan 04 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 795 | - update to (security release) 8.11.2 |
---|
| 796 | - build also on RHL 6.x #16061 |
---|
| 797 | - include smrsh man-page #17901 |
---|
| 798 | - use the "-f" flag for makemap to preserve case for virtusertable |
---|
| 799 | and userdb in /etc/mail/Makefile - suggested by Harald Hoyer |
---|
| 800 | - fix /usr/doc -> usr/share/doc in docu #20611 |
---|
| 801 | - wrong path in sendmail.mc #20691 |
---|
| 802 | - tcp-wrapper support wasn't enabled correctly #21642 |
---|
| 803 | - do not expose user "root" when masquerading like in older releases #21643 |
---|
| 804 | - disable the VRFY and EXPN smtp commands #21801 |
---|
| 805 | - disable queue-runs for normal users (restrictqrun privacy flag) |
---|
| 806 | - fix typo in sendmail.mc #21880, #22682 |
---|
| 807 | - disable daemon mode to see what needs fixing |
---|
| 808 | |
---|
| 809 | * Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 810 | - update to 8.11.1 |
---|
| 811 | |
---|
| 812 | * Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 813 | - rebuild in new environment |
---|
| 814 | |
---|
| 815 | * Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 816 | - apply fixes for LDAP maps being closed too soon |
---|
| 817 | |
---|
| 818 | * Mon Aug 14 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 819 | - provide /usr/lib/sasl/Sendmail.conf so that people know we can use it (#16064) |
---|
| 820 | |
---|
| 821 | * Mon Aug 7 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 822 | - enable listening on the smtp port again |
---|
| 823 | |
---|
| 824 | * Fri Aug 4 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 825 | - fix "missing find_m4.sh" problem by defining M4=/usr/bin/m4 (#14767) |
---|
| 826 | |
---|
| 827 | * Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 828 | - okay, enable LDAP support again |
---|
| 829 | - enable SMTP auth support via Cyrus SASL |
---|
| 830 | |
---|
| 831 | * Tue Jul 25 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 832 | - disable the LDAP support until we can remove the sendmail->OpenLDAP->perl dep |
---|
| 833 | - fix prereq |
---|
| 834 | |
---|
| 835 | * Tue Jul 25 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 836 | - update to sendmail 8.11.0 |
---|
| 837 | - add LDAP support |
---|
| 838 | |
---|
| 839 | * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com> |
---|
| 840 | - move initscript back |
---|
| 841 | |
---|
| 842 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 843 | - automatic rebuild |
---|
| 844 | |
---|
| 845 | * Sun Jul 9 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 846 | - require procmail |
---|
| 847 | - add further aliases |
---|
| 848 | |
---|
| 849 | * Sat Jul 8 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 850 | - prereq init.d |
---|
| 851 | - fix typo |
---|
| 852 | |
---|
| 853 | * Tue Jul 4 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 854 | - ignore error from useradd |
---|
| 855 | |
---|
| 856 | * Fri Jun 30 2000 Than Ngo <than@redhat.de> |
---|
| 857 | - FHS fixes |
---|
| 858 | - /etc/rc.d/init.d -> /etc/init.d |
---|
| 859 | - fix initscript |
---|
| 860 | |
---|
| 861 | * Fri Jun 23 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 862 | - change to /usr/share/man |
---|
| 863 | |
---|
| 864 | * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com> |
---|
| 865 | - turn off daemon behaviour by default |
---|
| 866 | |
---|
| 867 | * Mon Jun 18 2000 Bill Nottingham <notting@redhat.com> |
---|
| 868 | - rebuild, fix dependencies |
---|
| 869 | |
---|
| 870 | * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> |
---|
| 871 | - prereq /usr/sbin/useradd |
---|
| 872 | |
---|
| 873 | * Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 874 | - enable MAP_REGEX |
---|
| 875 | - enable tcp_wrapper support |
---|
| 876 | |
---|
| 877 | * Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 878 | - fix etc/mail/aliases -> /etc/aliases in sendmail-redhat.mc |
---|
| 879 | |
---|
| 880 | * Wed May 3 2000 Bill Nottingham <notting@redhat.com> |
---|
| 881 | - update to 8.10.1 |
---|
| 882 | - fix build without sendmail installed |
---|
| 883 | - add 'mailnull' user |
---|
| 884 | |
---|
| 885 | * Wed Mar 15 2000 Bill Nottingham <notting@redhat.com> |
---|
| 886 | - update to 8.10.0 |
---|
| 887 | - remove compatiblity chkconfig links |
---|
| 888 | - add a mailnull user for sendmail to use |
---|
| 889 | |
---|
| 890 | * Thu Feb 17 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 891 | - break the hard link for makemap and create it as a symlnk (#8223) |
---|
| 892 | |
---|
| 893 | * Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 894 | - Fix location of mailertable (Bug #6035) |
---|
| 895 | |
---|
| 896 | * Sat Feb 5 2000 Bill Nottingham <notting@redhat.com> |
---|
| 897 | - fixes for non-root builds (#8178) |
---|
| 898 | |
---|
| 899 | * Wed Feb 2 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 900 | - change perms on /etc/sysconfig/sendmail from 0755 to 0644 |
---|
| 901 | - allow compressed man-pages |
---|
| 902 | |
---|
| 903 | * Thu Dec 02 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 904 | - add patch to prevent the DoS when rebuilding aliases |
---|
| 905 | |
---|
| 906 | * Wed Sep 1 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 907 | - install man pages, not groff output (#3746). |
---|
| 908 | - use dnl not '#' in m4 comment (#3749). |
---|
| 909 | - add FEATURE(mailtertable) to the config -- example file needs this (#4649). |
---|
| 910 | - use db2 not db1. |
---|
| 911 | |
---|
| 912 | * Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 913 | - add 127.0.0.1 to /etc/mail/access to avoid IDENT: relay problem (#3178). |
---|
| 914 | |
---|
| 915 | * Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> |
---|
| 916 | - chkconfig --del in preun, not postun (#3982) |
---|
| 917 | |
---|
| 918 | * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> |
---|
| 919 | - initscript munging |
---|
| 920 | |
---|
| 921 | * Fri Jul 02 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 922 | - fixed typo bug in comment in the default .mc file (#2812) |
---|
| 923 | |
---|
| 924 | * Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 925 | - fox the awk scripts in the postinstall |
---|
| 926 | - enable FEATURE(accept_unresolvable_domains) by default to make laptop |
---|
| 927 | users happy. |
---|
| 928 | |
---|
| 929 | * Sun Apr 18 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 930 | - make the redhat.mc be a separate source files. Sanitize patches that used |
---|
| 931 | to touch it. |
---|
| 932 | - install redhat.mc as /etc/sendmail.mc so that people can easily modify |
---|
| 933 | their sendmail.cf configurations. |
---|
| 934 | |
---|
| 935 | * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 936 | - fixed virtusertable patch |
---|
| 937 | - make smrsh look into /etc/smrsh |
---|
| 938 | |
---|
| 939 | * Mon Mar 29 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 940 | - remove noreplace attr from sednmail.cf. |
---|
| 941 | |
---|
| 942 | * Thu Mar 25 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 943 | - provide a more sane /etc/mail/access default config file |
---|
| 944 | - use makemap to initializa the empty databases, not touch |
---|
| 945 | - added a small, but helpful /etc/mail/Makefile |
---|
| 946 | |
---|
| 947 | * Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 948 | - correxct dangling symlinks. |
---|
| 949 | - check for map file existence in %post. |
---|
| 950 | |
---|
| 951 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 952 | - auto rebuild in the new build environment (release 3) |
---|
| 953 | |
---|
| 954 | * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 955 | - improved 8.9.3 config from Mike McHenry <mmchen@minn.net> |
---|
| 956 | |
---|
| 957 | * Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 958 | - version 8.9.3 |
---|
| 959 | |
---|
| 960 | * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 961 | - build for 6.0 |
---|
| 962 | - use the libdb1 stuff correctly |
---|
| 963 | |
---|
| 964 | * Mon Sep 21 1998 Michael K. Johnson <johnsonm@redhat.com> |
---|
| 965 | - Allow empty QUEUE in /etc/sysconfig/sendmail for those who |
---|
| 966 | want to run sendmail in daemon mode without processing the |
---|
| 967 | queue regularly. |
---|
| 968 | |
---|
| 969 | * Thu Sep 17 1998 Michael K. Johnson <johnsonm@redhat.com> |
---|
| 970 | - /etc/sysconfig/sendmail |
---|
| 971 | |
---|
| 972 | * Fri Aug 28 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 973 | - recompile statically linked binary for 5.2/sparc |
---|
| 974 | |
---|
| 975 | * Tue May 05 1998 Prospector System <bugs@redhat.com> |
---|
| 976 | - translations modified for de, fr, tr |
---|
| 977 | |
---|
| 978 | * Sat May 02 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 979 | - enhanced initscripts |
---|
| 980 | |
---|
| 981 | * Fri May 01 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 982 | - added a rmail patch |
---|
| 983 | |
---|
| 984 | * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com> |
---|
| 985 | - argh! Fixed some of the db1 handling that had to be added for glibc 2.1 |
---|
| 986 | |
---|
| 987 | * Fri Oct 24 1997 Donnie Barnes <djb@redhat.com> |
---|
| 988 | - added support for db1 on SPARC |
---|
| 989 | |
---|
| 990 | * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com> |
---|
| 991 | - added chkconfig support |
---|
| 992 | - various spec file cleanups |
---|
| 993 | - changed group to Networking/Daemons (from Daemons). Sure, it runs on |
---|
| 994 | non networked systems, but who really *needs* it then? |
---|
| 995 | |
---|
| 996 | * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com> |
---|
| 997 | - made /etc/mail/deny.db a ghost |
---|
| 998 | - removed preun that used to remove deny.db (ghost handles that now) |
---|
| 999 | - NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly |
---|
| 1000 | 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You |
---|
| 1001 | may need to do a makemap in /etc/mail and a newaliases after upgrading |
---|
| 1002 | from those packages. Upgrading from 4.2 or prior should be fine. |
---|
| 1003 | |
---|
| 1004 | * Mon Oct 06 1997 Erik Troan <ewt@redhat.com> |
---|
| 1005 | - made aliases.db a ghost |
---|
| 1006 | |
---|
| 1007 | * Tue Sep 23 1997 Donnie Barnes <djb@redhat.com> |
---|
| 1008 | - fixed preuninstall script to handle aliases.db on upgrades properly |
---|
| 1009 | |
---|
| 1010 | * Mon Sep 15 1997 Donnie Barnes <djb@redhat.com> |
---|
| 1011 | - fixed post-install output and changed /var/spool/mqueue to 755 |
---|
| 1012 | |
---|
| 1013 | * Thu Sep 11 1997 Donnie Barnes <djb@redhat.com> |
---|
| 1014 | - fixed /usr/lib/sendmail-cf paths |
---|
| 1015 | |
---|
| 1016 | * Tue Sep 09 1997 Donnie Barnes <djb@redhat.com> |
---|
| 1017 | - updated to 8.8.7 |
---|
| 1018 | - added some spam filtration |
---|
| 1019 | - combined some makefile patches |
---|
| 1020 | - added BuildRoot support |
---|
| 1021 | |
---|
| 1022 | * Wed Sep 03 1997 Erik Troan <ewt@redhat.com> |
---|
| 1023 | - marked initscript symlinks as missingok |
---|
| 1024 | - run newalises after creating /var/spool/mqueue |
---|
| 1025 | |
---|
| 1026 | * Thu Jun 12 1997 Erik Troan <ewt@redhat.com> |
---|
| 1027 | - built against glibc, udated release to -6 (skipped -5!) |
---|
| 1028 | |
---|
| 1029 | * Tue Apr 01 1997 Erik Troan <ewt@redhat.com> |
---|
| 1030 | - Added -nsl on the Alpha (for glibc to provide NIS functions). |
---|
| 1031 | |
---|
| 1032 | * Mon Mar 03 1997 Erik Troan <ewt@redhat.com> |
---|
| 1033 | - Added nis support. |
---|