]> git.pld-linux.org Git - packages/sendmail.git/blame - sendmail.spec
- revert r1.206
[packages/sendmail.git] / sendmail.spec
CommitLineData
e7f443ca 1# TODO:
b0d90d5e
PG
2# - make sid-milter support:
3# http://sourceforge.net/projects/sid-milter/
4# http://www.sendmail.net/
380f4f9a 5# - http://blue-labs.org/clue/bluelabs.patch-8.12.3 has been updated upstream
1782298e 6# - move compilation from install to build section, fix re-entrancy of install
6a8e33fc 7# - add tests bcond and/or disable tests tha fail on (AC-)builders
27e830f8
JB
8#
9# Conditional build:
cd0a03f5
JB
10%bcond_without ldap # without LDAP support
11%bcond_without tls # without TLS (SSL) support
cd0a03f5 12%bcond_with pgsql # with PostgreSQL support (bluelabs)
a67bd7a2 13
3c3d8557 14Summary: A widely used Mail Transport Agent (MTA)
2eecc50c
ER
15Summary(de.UTF-8): sendmail-Mail-Übertragungsagent
16Summary(es.UTF-8): Sendmail - agente de transporte de mail
17Summary(fr.UTF-8): Agent de transport de courrier sendmail
18Summary(ko.UTF-8): SMTP_AUTH와 TLS를 지원하는 Mail 전송 프로그램(MTA)
19Summary(pl.UTF-8): Sendmail - serwer poczty elektronicznej
20Summary(pt_BR.UTF-8): Sendmail - agente de transporte de mail
21Summary(ru.UTF-8): Почтовый транспортный агент sendmail
22Summary(tr.UTF-8): Elektronik posta hizmetleri sunucusu
23Summary(uk.UTF-8): Поштовий транспортний агент sendmail
991115b7 24Name: sendmail
ae27bf04 25Version: 8.14.3
a67bd7a2 26Release: 4
51736bde 27License: BSD
6daff80a 28Group: Networking/Daemons/SMTP
70870392 29Source0: ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz
ae27bf04 30# Source0-md5: a5ee5d26e1f546a2da5fb9a513bd6bce
fba6af7e 31Source1: %{name}.init
a9ffb5f1 32Source2: %{name}.sysconfig
33585a8c 33Source3: %{name}.aliases
a9ffb5f1
JB
34# From http://doc.phpauction.org/sendmail/examples/
35Source4: %{name}-examples.tar.bz2
58f0209c 36# Source4-md5: d00d817cd456a947a7fc6c04072a7d68
fba6af7e
JB
37Source5: %{name}-etc-mail-Makefile
38Source6: %{name}.mc
39Source7: %{name}-config.m4
5e4bbbe3 40Source8: %{name}.sasl
f09d9a92
ŁJM
41Source9: %{name}.access
42Source10: %{name}.mailertable
43Source11: %{name}.virtusertable
44Source12: %{name}.domaintable
33585a8c 45Source13: %{name}-smtp.pamd
7ca6cd05 46Patch0: %{name}-makemapman.patch
47Patch1: %{name}-smrsh-paths.patch
48Patch2: %{name}-rmail.patch
49Patch3: %{name}-os-paths.patch
50Patch4: %{name}-m4path.patch
969b7703 51Patch5: %{name}-redirect.patch
52Patch6: %{name}-hprescan-dos.patch
5e025aed 53Patch7: http://blue-labs.org/clue/bluelabs.patch-8.12.3
8085d6ae 54URL: http://www.sendmail.org/
215fd019 55BuildRequires: cyrus-sasl-devel
d8b83358 56BuildRequires: db-devel >= 4.1.25
b10ff45e 57BuildRequires: man
5ac997f0 58%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
9e4e8601 59%{?with_tls:BuildRequires: openssl-devel >= 0.9.7d}
cd0a03f5 60%{?with_pgsql:BuildRequires: postgresql-devel}
9f232097 61BuildRequires: rpmbuild(macros) >= 1.310
6a8e33fc 62BuildRequires: sed >= 4.0
5c74aed0 63%ifarch sparc
64BuildRequires: sparc32
65%endif
72d0cb54
TP
66Requires(post): awk
67Requires(post): textutils
d8b83358 68Requires(post,preun): /sbin/chkconfig
1a0572f7 69Requires(post,preun): rc-scripts >= 0.4.0.20
a3d8aa7d
TP
70Requires(postun): /usr/sbin/groupdel
71Requires(postun): /usr/sbin/userdel
1a0572f7
ER
72Requires(pre): /bin/id
73Requires(pre): /usr/bin/getgid
74Requires(pre): /usr/sbin/groupadd
75Requires(pre): /usr/sbin/useradd
36363284 76Requires: db >= 4.1.25
caf50190 77Requires: m4
03b96e7e 78Requires: pam >= 0.79.0
1a0572f7 79Requires: procmail
48fb4f19 80Provides: group(smmsp)
25e2a595 81Provides: smtpdaemon
48fb4f19 82Provides: user(smmsp)
b2c4584b 83Obsoletes: sendmail-cf
84Obsoletes: sendmail-doc
1e16136c 85Obsoletes: smtpdaemon
48fb4f19 86BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
991115b7 87
5e4bbbe3 88%define _sysconfdir /etc/mail
56f7302f 89%define specflags -fPIC
5e4bbbe3 90
51736bde 91%description
92The Sendmail program is a very widely used Mail Transport Agent (MTA).
93MTAs send mail from one machine to another. Sendmail is not a client
94program, which you use to read your e-mail. Sendmail is a
95behind-the-scenes program which actually moves your e-mail over
96networks or the Internet to where you want it to go.
97
96bbf540
JR
98%description -l de.UTF-8
99Sendmail überträgt Mails zwischen Rechnern. Es implementiert eine
100allgemeine Mail-Routing-Funktion über das Netzwerk mit Aliasing und
c9b67936 101Weiterleiten von Nachrichten, automatischem Routing an
96bbf540
JR
102Netzwerk-Gateways und flexible Konfiguration. Wenn Sie E-Mails über
103das Internet senden und empfangen möchten, brauchen Sie sendmail.
104
105%description -l es.UTF-8
106sendmail es un agente de transporte de correo electrónico, que mueve
107mensajes entre máquinas. Implementa facilidades de internetwork y
108rutado, caracterizando cambio de nombres (aliases) y envío a nuevas
109direcciones ( forwarding ), rutado automático para gateways de la red
110y configuración flexible. Necesitarás del sendmail si deseas enviar y
111recibir mensajes a través de la Internet.
112
113%description -l fr.UTF-8
c9b67936 114Sendmail est un agent de transport de courrier, qui est le programme
96bbf540
JR
115transférent le courrier d'une machine à l'autre. Sendmail implémente
116une facilité générale de routage de courrier entre les réseaux, permet
6a8e33fc 117l'"aliasing" et le "forwarding", un routage automatique sur les
96bbf540
JR
118passerelles du réseau, et une configuration flexible.
119
120%description -l ko.UTF-8
121Sendamil은 매우 널리 사용되는 Mail 전송 프로그램이다(MTA). Mail 전송
122프로그램들(MTA)은 어떠한 machine에서 다른 machine으로 메일을 보내며
123Sendmail은 e-mail을 읽기위해 사용하는 client program은 아니다.
124Sendamil은 원하는 곳으로 Internet이나 Network를 통해 e-mail을 보내는
125역할을 하는 backgrond에서 작업을 하는 프로그램이다.
126
127%description -l pl.UTF-8
128Sendmail jest programem umożliwiającym wymianę poczty elektronicznej
129między komputerami w sieci (MTA). Zajmuje się przekazywaniem poczty
130elektronicznej między bramkami pocztowymi i dostarczaniem przesyłek na
131konta docelowe. Bardzo dobrze obsługuje aliasy pocztowe a jego
132dodatkowym atutem jest prosta konfiguracja. Dzięki rozbudowanym
133możliwościom konfiguracyjnym jest w stanie dostarczać przesyłki za
134pośrednictwem protokołów: SMTP, ESMTP, UUCP, X.400 i innych.
135
136%description -l pt_BR.UTF-8
137O sendmail é um agente de transporte de correio eletrônico, que move
138mensagens entre máquinas. Ele implementa facilidades de internetwork e
f48800c7 139roteamento, caracterizando troca de nomes (aliases) e remessa a novos
96bbf540
JR
140endereços ( forwarding ), roteamento automático para gateways da rede
141e configuração flexível.
142
143%description -l ru.UTF-8
144Sendmail - это Mail Transport Agent, программа пересылающая почту с
145машины на машину. Sendmail предоставляет стандартные средства
146межсетевой маршрутизации почты, aliasing, forwarding, автоматическую
147маршрутизацию для сетевых шлюзов и гибкий механизм конфигурации.
148
149%description -l tr.UTF-8
150Sendmail, bir mektubu bir makineden diğerine taşır. Pek çok davranışı
151ayarlanabilir. Internet üzerinden mektup almak veya göndermek
152istiyorsanız bu pakete gereksiniminiz olacaktır.
153
154%description -l uk.UTF-8
155Sendmail - це Mail Transport Agent, програма що пересилає пошту з
156машини на машину. Sendmail надає стандартні засоби міжмережевої
157маршрутизації пошти, aliasing, forwarding, автоматичну маршрутизацію
158для мережевих шлюзів та гнучкий механізм маршрутизації.
969b7703 159
541fcdae 160%package -n libmilter-devel
19aabebb 161Summary: Header files and static libmilter library
2eecc50c 162Summary(pl.UTF-8): Pliki nagłówkowe i statyczna biblioteka libmilter
06fc71d5 163Group: Development/Libraries
c2bc0e13 164Provides: sendmail-devel
165Obsoletes: sendmail-devel
06fc71d5 166
541fcdae 167%description -n libmilter-devel
19aabebb
JB
168Header files and static libmilter library.
169
96bbf540
JR
170%description -n libmilter-devel -l pl.UTF-8
171Pliki nagłówkowe i statyczna biblioteka libmilter.
06fc71d5 172
991115b7 173%prep
174%setup -q
f3b90650 175%patch0 -p1
ca3ee627 176%patch1 -p1
cf62cbce
JB
177%patch2 -p1
178%patch3 -p1
179%patch4 -p1
180%patch5 -p1
181%patch6 -p1
cd0a03f5 182%{?with_pgsql:%patch7 -p1}
991115b7 183
c3fb8dbb 184sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/pld.mc
991115b7 185
a67bd7a2 186cp -p %{SOURCE7} config.m4
0fa3694b 187
7f0a903d
ER
188# Ac-specific hack:
189# It's problem with _simultanous_ building when builders are on the same
190# machine. These are anonymous SHM tests (AFAIR) which must fail when called
191# simultanously...
192#
193# send on builders requests only for some arch - it won't fail.
194#- blues
66675973 195%ifarch i386 i586 athlon
7f0a903d 196%{__sed} -i -e 's/^\(smtest.*t-shm\)/dnl \1/' libsm/Makefile.m4
5ea6c1bb 197%{__sed} -i -e 's/^\(smtest.*t-sem\)/dnl \1/' libsm/Makefile.m4
0d2f4853
JB
198%endif
199
51736bde 200%build
969b7703 201echo "define(\`confCC', \`%{__cc}')" >> config.m4
325f3945 202%ifarch sparc sparc64
74f91cbf 203echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DSM_CONF_SEM=0 -DNETINET6')" >> config.m4
204%else
969b7703 205echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DNETINET6')" >> config.m4
74f91cbf 206%endif
668af1c9 207echo "APPENDDEF(\`confINCDIRS', \`-I/usr/include/sasl')" >> config.m4
9f232097 208echo "define(\`confLIBSEARCHPATH', \`/%{_lib} %{_prefix}/%{_lib}')" >> config.m4
84372654 209echo "define(\`confLIBSEARCH', \`db resolv')" >> config.m4
cd0a03f5 210%if 0%{!?debug:1}
aef0455c 211echo "define(\`confLDOPTS', \`-s')" >> config.m4
27e830f8 212%endif
cd0a03f5 213%if %{with ldap}
aef0455c
JB
214echo "APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')" >> config.m4
215echo "APPENDDEF(\`confLIBS', \`-lldap -llber')" >> config.m4
216%endif
cd0a03f5 217%if %{with pgsql}
00791ae1 218echo "APPENDDEF(\`confENVDEF', \`-DSASL')" >> config.m4
219echo "APPENDDEF(\`confMAPDEF', \`-DPGSQLMAP')" >> config.m4
220echo "APPENDDEF(\`confLIBS', \`-lpq -lresolv')" >> config.m4
221echo "APPENDDEF(\`confLIBS', \`-lsasl -lcrypto')" >> config.m4
222%endif
cd0a03f5 223%if %{with tls}
aef0455c 224echo "APPENDDEF(\`confENVDEF', \`-DSTARTTLS')" >> config.m4
969490ba 225echo "APPENDDEF(\`confENVDEF', \`-D_FFR_DEAL_WITH_ERROR_SSL')" >> config.m4
aef0455c 226echo "APPENDDEF(\`confLIBS', \`-lssl -lcrypto')" >> config.m4
58f0209c 227echo "APPENDDEF(\`confENVDEF', \`-D_FFR_SMTP_SSL')" >> config.m4
27e830f8
JB
228%endif
229
58f0209c 230echo "APPENDDEF(\`confENVDEF', \`-DMILTER')" >> config.m4
231
5c74aed0 232%ifarch sparc
233%define Build sparc32 sh Build
234%else
235%define Build sh Build
236%endif
237
238cd sendmail && %{Build} -f ../config.m4
239cd ../mailstats && %{Build} -f ../config.m4
240cd ../rmail && %{Build} -f ../config.m4
241cd ../makemap && %{Build} -f ../config.m4
242cd ../praliases && %{Build} -f ../config.m4
243cd ../smrsh && %{Build} -f ../config.m4
244cd ../libmilter && %{Build} -f ../config.m4
21bd6be8 245cd ../cf/cf
c3fb8dbb 246m4 pld.mc > pld.cf
991115b7 247
51736bde 248%install
249rm -rf $RPM_BUILD_ROOT
2ad9de37 250install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} \
e93be470 251 $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,monit,sysconfig,sasl,smrsh,security} \
a6d88ee0 252 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_prefix}/lib} \
253 $RPM_BUILD_ROOT{%{_datadir}/sendmail-cf,%{_libdir}} \
2ad9de37
PG
254 $RPM_BUILD_ROOT/var/{log,spool/mqueue} \
255 $RPM_BUILD_ROOT{%{_sysconfdir},%{_includedir}}
51736bde 256
325f3945 257OBJDIR=obj.$(uname -s).$(uname -r).$(\
258%ifarch sparc
259sparc32 \
260%endif
261uname -m)
51736bde 262
215fd019
JB
263IDNU=`id -nu`
264IDNG=`id -ng`
265SMINSTOPT="DESTDIR=$RPM_BUILD_ROOT SBINOWN=$IDNU SBINGRP=$IDNG \
f3b90650 266 UBINOWN=$IDNU UBINGRP=$IDNG MANOWN=$IDNU MANGRP=$IDNG \
21bd6be8 267 CFOWN=$IDNU CFGRP=$IDNG MSPQOWN=$IDNU GBINGRP=$IDNG GBINOWN=$IDNU \
06fc71d5 268 BINOWN=$IDNU BINGRP=$IDNG LIBOWN=$IDNU LIBGRP=$IDNG INCOWN=$IDNU INCGRP=$IDNG"
269
cd6ea0c9
PG
270%{__make} -C $OBJDIR/sendmail install \
271 $SMINSTOPT
272%{__make} -C $OBJDIR/mailstats install \
273 $SMINSTOPT
274%{__make} -C $OBJDIR/praliases install \
275 $SMINSTOPT
276%{__make} -C $OBJDIR/rmail force-install \
277 $SMINSTOPT
278%{__make} -C $OBJDIR/makemap install \
279 $SMINSTOPT
280%{__make} -C $OBJDIR/smrsh install \
281 $SMINSTOPT
06fc71d5 282%{__make} -C $OBJDIR/libmilter install \
485ff0c7
JB
283 $SMINSTOPT \
284 LIBDIR=%{_libdir}
51736bde 285
cd6ea0c9 286ln -sf %{_sbindir}/makemap $RPM_BUILD_ROOT%{_bindir}/makemap
1afe6f39 287
51736bde 288# install the cf files
289cd cf
a67bd7a2
ER
290rm -f cf/{Build,Makefile}
291rm -f feature/*~ feature/*.orig
32b7d288 292cp -a * $RPM_BUILD_ROOT%{_datadir}/sendmail-cf
51736bde 293cd -
294
93476486 295# sendmail.{cf,mc}
a67bd7a2 296cp -p cf/cf/pld.cf $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf
a6d88ee0 297sed -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' < %{SOURCE6} \
5e4bbbe3 298 > $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.mc
93476486 299
cd0a03f5 300%if %{with pgsql}
a67bd7a2 301cp -p bluelabs.mc $RPM_BUILD_ROOT%{_sysconfdir}/bluelabs.mc
00791ae1 302%endif
303
93476486 304# submit.mc (submit.cf is installed automatically)
a67bd7a2 305cp -p cf/cf/submit.mc $RPM_BUILD_ROOT%{_sysconfdir}
93476486 306
215fd019 307echo "# local-host-names - include all aliases for your machine here." \
5e4bbbe3 308 > $RPM_BUILD_ROOT%{_sysconfdir}/local-host-names
51736bde 309
9f232097 310ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
51736bde 311
312# dangling symlinks
9f232097
ER
313for f in hoststat mailq newaliases purgestat; do
314 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/${f}
215fd019 315done
51736bde 316
1782298e 317for map in virtusertable access domaintable mailertable; do
5e4bbbe3 318 touch $RPM_BUILD_ROOT%{_sysconfdir}/${map}
b9ffc414 319 $RPM_BUILD_ROOT%{_sbindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \
5e4bbbe3 320 $RPM_BUILD_ROOT%{_sysconfdir}/${map}.db < $RPM_BUILD_ROOT%{_sysconfdir}/${map}
215fd019 321done
51736bde 322
5e4bbbe3 323install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/aliases
b9ffc414 324$RPM_BUILD_ROOT%{_sbindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \
5e4bbbe3 325 $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db < %{SOURCE3}
51736bde 326
a67bd7a2
ER
327cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/sendmail
328install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail
329cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/Makefile
330cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sasl/Sendmail.conf
331cp -p %{SOURCE13} $RPM_BUILD_ROOT/etc/pam.d/smtp
332cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/access
333cp -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mailertable
334cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/virtusertable
335cp -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/domaintable
991115b7 336
34729a6b
JR
337touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
338
93476486
JB
339mv -f smrsh/README README.smrsh
340mv -f cf/README README.cf
341mv -f doc/op/op.me .
2a5b1ce8 342
a9ffb5f1 343bzip2 -dc %{SOURCE4} | tar xf -
b2c4584b 344
a7c38e21
ER
345# for perl-Sendmail-Milter
346install $OBJDIR/libsm/libsm.a $OBJDIR/libsmutil/libsmutil.a \
347 $RPM_BUILD_ROOT%{_libdir}
348
51736bde 349%clean
59d8b10c 350rm -rf $RPM_BUILD_ROOT
991115b7 351
93476486 352%pre
b1eedafd
ER
353%groupadd -g 25 smmsp
354%useradd -u 25 -d /var/spool/clientqueue -s /bin/false -c "Sendmail Message Submission Program" -g smmsp smmsp
93476486 355
991115b7 356%post
3a9160c0 357umask 022
51736bde 358#
359# Convert old format to new
360#
361if [ -f /etc/mail/deny ] ; then
c9b67936 362 cat /etc/mail/deny | \
363 awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \
364 {print $1" REJECT"}' >> /etc/mail/access
f8807059 365 mv -f /etc/mail/deny /etc/mail/deny.rpmorig
d8cea423 366fi
51736bde 367for oldfile in relay_allow ip_allow name_allow ; do
c9b67936 368 if [ -f /etc/mail/$oldfile ] ; then
369 cat /etc/mail/$oldfile | \
370 awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \
371 { print $1\" RELAY\" }" >> /etc/mail/access
f8807059 372 mv -f /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
c9b67936 373 fi
51736bde 374done
991115b7 375
51736bde 376#
377# Oops, these files moved
378#
379if [ -f /etc/sendmail.cw ] ; then
1cfcd94c 380 cat /etc/sendmail.cw | \
c9b67936 381 awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \
382 { print $1 }' >> /etc/mail/local-host-names
f8807059 383 mv -f /etc/sendmail.cw /etc/sendmail.cw.rpmorig
991115b7 384fi
51736bde 385#
386# Rebuild maps (next reboot will rebuild also)
387#
388{ /usr/bin/newaliases
c9b67936 389 for map in virtusertable access domaintable mailertable; do
390 if [ -f /etc/mail/${map} ] ; then
391 /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map}
392 sleep 1
393 fi
394 done
51736bde 395} > /dev/null 2>&1
991115b7 396
4426b811 397/sbin/chkconfig --add sendmail
d8b83358 398%service sendmail restart "sendmail daemon"
51736bde 399
400%preun
4426b811 401if [ "$1" = "0" ]; then
d8b83358 402 %service sendmail stop
4426b811 403 /sbin/chkconfig --del sendmail
404fi
991115b7 405
93476486
JB
406%postun
407if [ "$1" = "0" ]; then
48fb4f19 408 %userremove smmsp
409 %groupremove smmsp
93476486
JB
410fi
411
51736bde 412# removal of compatibility links
413%triggerpostun -- sendmail < 8.10.1
414/sbin/chkconfig --add sendmail
991115b7 415
416%files
417%defattr(644,root,root,755)
feeec710 418%doc FAQ KNOWNBUGS README* op.me RELEASE_NOTES examples/
51736bde 419%attr(755,root,root) %{_sbindir}/mailstats
420%attr(755,root,root) %{_sbindir}/praliases
421%attr(755,root,root) %{_bindir}/hoststat
422%attr(755,root,root) %{_bindir}/purgestat
423%attr(755,root,root) %{_bindir}/rmail
424%attr(755,root,root) %{_bindir}/makemap
425%attr(755,root,root) %{_sbindir}/makemap
93476486 426%attr(2755,root,smmsp) %{_sbindir}/sendmail
51736bde 427%attr(755,root,root) %{_bindir}/newaliases
428%attr(755,root,root) %{_bindir}/mailq
429%attr(755,root,root) %{_sbindir}/smrsh
a6d88ee0 430%{_prefix}/lib/sendmail
51736bde 431
b89cc167
JB
432%{_mandir}/man1/mailq.1*
433%{_mandir}/man1/newaliases.1*
434%{_mandir}/man5/aliases.5*
51736bde 435%{_mandir}/man8/mailstats.8*
436%{_mandir}/man8/makemap.8*
b89cc167
JB
437%{_mandir}/man8/praliases.8*
438%{_mandir}/man8/rmail.8*
51736bde 439%{_mandir}/man8/sendmail.8*
b89cc167 440%{_mandir}/man8/smrsh.8*
51736bde 441
1cfcd94c
TP
442%dir /etc/smrsh
443%dir %{_sysconfdir}
51736bde 444/var/log/statistics
1a0572f7
ER
445%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sendmail.cf
446%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sendmail.mc
447%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/submit.cf
448%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/submit.mc
449%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/local-host-names
450%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aliases
cd0a03f5 451%{?with_pgsql:%{_sysconfdir}/bluelabs.mc}
a9ffb5f1
JB
452%attr(644,root,mail) %ghost %{_sysconfdir}/aliases.db
453%attr(770,root,smmsp) %dir /var/spool/clientmqueue
454%attr(750,root,mail) %dir /var/spool/mqueue
5e4bbbe3 455
456%config %{_sysconfdir}/Makefile
1a0572f7 457%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/access
5e4bbbe3 458%ghost %{_sysconfdir}/access.db
1a0572f7 459%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/domaintable
5e4bbbe3 460%ghost %{_sysconfdir}/domaintable.db
1a0572f7 461%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mailertable
5e4bbbe3 462%ghost %{_sysconfdir}/mailertable.db
1a0572f7 463%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/virtusertable
1cfcd94c 464%ghost %{_sysconfdir}/virtusertable.db
5e4bbbe3 465%config(noreplace) %{_sysconfdir}/helpfile
51736bde 466
3c3d8557 467%attr(754,root,root) /etc/rc.d/init.d/sendmail
1a0572f7
ER
468%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sendmail
469%config(noreplace) %verify(not md5 mtime size) /etc/sasl/Sendmail.conf
470%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
34729a6b 471%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
991115b7 472
a6d88ee0 473%dir %{_datadir}/sendmail-cf
474%dir %{_datadir}/sendmail-cf/cf
475%{_datadir}/sendmail-cf/cf/pld.mc
476%{_datadir}/sendmail-cf/feature
477%{_datadir}/sendmail-cf/m4
478%{_datadir}/sendmail-cf/mailer
479%dir %{_datadir}/sendmail-cf/ostype
480%{_datadir}/sendmail-cf/ostype/linux.m4
481%dir %{_datadir}/sendmail-cf/sh
482%{_datadir}/sendmail-cf/sh/makeinfo.sh
483%{_datadir}/sendmail-cf/siteconfig
06fc71d5 484
541fcdae 485%files -n libmilter-devel
19aabebb 486%defattr(644,root,root,755)
06fc71d5 487%{_libdir}/libmilter.a
a7c38e21
ER
488%{_libdir}/libsm.a
489%{_libdir}/libsmutil.a
19aabebb 490%{_includedir}/libmilter
This page took 0.141879 seconds and 4 git commands to generate.