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