]> git.pld-linux.org Git - packages/postfix.git/blame - postfix.spec
- monitrc monitoring for postfix
[packages/postfix.git] / postfix.spec
CommitLineData
c41ca9c7 1#
6c202c7c 2# Conditional build:
a675fe53 3%bcond_without ldap # without LDAP map module
4%bcond_without mysql # without MySQL map module
5%bcond_without pgsql # without PostgreSQL map module
6%bcond_without sasl # without SMTP AUTH support
7%bcond_without ssl # without SSL/TLS support
d2e5a200 8%bcond_without cdb # without cdb map support
afeeeec7 9%bcond_without vda # without VDA patch
91c5f300 10%bcond_with hir # with Beeth's header_if_reject patch
b21ac01c 11%bcond_with tcp # with unofficial tcp: lookup table
a675fe53 12#
aed7eb18 13Summary: Postfix Mail Transport Agent
2fb1717c
ER
14Summary(cs.UTF-8): Postfix - program pro přepravu pošty (MTA)
15Summary(es.UTF-8): Postfix - Un MTA (Mail Transport Agent) de alto desempeño
16Summary(fr.UTF-8): Agent de transport de courrier Postfix
17Summary(pl.UTF-8): Serwer SMTP Postfix
18Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho
19Summary(sk.UTF-8): Agent prenosu pošty Postfix
aed7eb18 20Name: postfix
87c7eadd
JR
21Version: 2.4.5
22%define vda_ver 2.4.5
3fa55af3 23Release: 1
9e330f14 24Epoch: 2
4e46d0a4 25License: distributable
88cb24db 26Group: Networking/Daemons
9e330f14 27Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
87c7eadd 28# Source0-md5: ceba0cde05d12baa0ba2ed69fbb96b42
a6206693 29Source1: %{name}.aliases
30Source2: %{name}.cron
31Source3: %{name}.init
efbd5023
JB
32Source4: %{name}.sysconfig
33Source5: %{name}.sasl
34Source6: %{name}.pamd
87c7eadd
JR
35Source7: http://vda.sourceforge.net/VDA/%{name}-%{vda_ver}-vda-ng.patch.gz
36# Source7-md5: 35fa62c93091d42ab02f67d0614d7086
afeeeec7 37Source8: %{name}-bounce.cf.pl
53387d60
TP
38# http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
39Source9: %{name}-bounce.cf.de
39f13daf
TO
40Patch0: %{name}-config.patch
41Patch1: %{name}-conf_msg.patch
42Patch2: %{name}-dynamicmaps.patch
8a65cb50 43Patch3: %{name}-master.cf_cyrus.patch
d9d74ec2 44# from http://akson.sgh.waw.pl/~chopin/unix/postfix-2.1.5-header_if_reject.diff
8a65cb50 45Patch4: %{name}-header_if_reject.patch
8961886a
JR
46Patch5: %{name}-log-proxy-rejects.patch
47Patch6: %{name}-ident.patch
48Patch7: %{name}-lib64.patch
49Patch8: %{name}-conf.patch
50Patch9: %{name}-dictname.patch
7003f448 51URL: http://www.postfix.org/
a675fe53 52%{?with_sasl:BuildRequires: cyrus-sasl-devel}
f5be0c4f 53BuildRequires: db-devel
435fe1e7
JB
54# getifaddrs() with IPv6 support
55BuildRequires: glibc-devel >= 6:2.3.4
a675fe53 56%{?with_mysql:BuildRequires: mysql-devel}
f9b0803c 57%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
e5d6ba8a 58%{?with_ssl:BuildRequires: openssl-devel >= 0.9.8b}
9e330f14 59BuildRequires: pcre-devel
a675fe53 60%{?with_pgsql:BuildRequires: postgresql-devel}
88cb24db 61BuildRequires: rpmbuild(macros) >= 1.268
cc227ab6 62BuildRequires: sed >= 4.0
a675fe53 63%{?with_cdb:BuildRequires: tinycdb-devel}
cc227ab6 64%{?with_mysql:BuildRequires: zlib-devel}
6c202c7c 65Requires(post): /bin/hostname
04eda2b3
ER
66Requires(post,postun): /sbin/ldconfig
67Requires(post,preun): /sbin/chkconfig
68Requires(postun): /usr/sbin/groupdel
69Requires(postun): /usr/sbin/userdel
36d09b56 70Requires(pre): /bin/id
71Requires(pre): /usr/bin/getgid
72Requires(pre): /usr/sbin/groupadd
73Requires(pre): /usr/sbin/useradd
6193959a 74Requires: /sbin/chkconfig
760324a9
PG
75Requires: diffutils
76Requires: findutils
04eda2b3
ER
77Requires: rc-scripts
78Requires: sed
760324a9 79%{?with_cdb:Requires:tinycdb}
6383ad40 80Suggests: cyrus-sasl-saslauthd
36d09b56 81Provides: group(postfix)
6c202c7c 82Provides: smtpdaemon
36d09b56 83Provides: user(postfix)
760324a9 84Obsoletes: smtpdaemon
1b5a7762 85BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0effd84f
AM
86
87%description
9d1e23e4 88Postfix is attempt to provide an alternative to the widely-used
89Sendmail program. Postfix attempts to be fast, easy to administer, and
90hopefully secure, while at the same time being sendmail compatible
5e7152ef 91enough to not upset your users. This version has IPv6 support.
07119450 92
23264879 93%description -l es.UTF-8
d6c39c23 94Postfix es una alternativa para el mundialmente utilizado sendmail. Si
23264879 95desea tener un servidor SMTP *rápido*, debe instalar este paquete.
d6c39c23 96
23264879
JR
97%description -l fr.UTF-8
98Postfix (voir http://www.postfix.org/) se veut une alternative à
07119450 99sendmail, responsable de l'acheminement de 70% des courriers
23264879
JR
100électroniques sur Internet. IBM en a suppotré le développement, mais
101ne contrôle pas son évolution. Le but est d'installer Postfix sur le
102plus grand nombre de systèmes possible. Dans cette optique, il a été
103écrit pour être totalement sous le contrôle de l'utilisateur.
07119450 104
23264879 105%description -l it.UTF-8
9e330f14 106Postfix (http://www.postfix.org/) e' un'alternativa al programma
07119450 107sendmail utilizzato per la gestione del 70 per cento della posta
108Internet.
109
110Seppur IBM supporti lo sviluppo di Postfix, non controlla la sua
111evoluzione.
112
113Consultate la pagine web http://www.moongroup.com/how-to.phtml nella
114quale troverete le indicazioni per una corretta installazione e
115configurazione di questo programma.
116
23264879
JR
117%description -l pl.UTF-8
118Postfix jest próbą dostarczenia alternatywnego MTA w stosunku do
119szeroko używanego sendmaila. Postfix w zamierzeniu ma być szybki,
120łatwy w administrowaniu, bezpieczny oraz ma być na tyle kompatybilny z
121sendmailem by nie denerwować użytkowników. Ta wersja obsługuje IPv6.
07119450 122
23264879
JR
123%description -l pt_BR.UTF-8
124O Postfix é uma alternativa para o mundialmente utilizado sendmail. Se
125você deseja um servidor SMTP *rápido*, instale este pacote.
d6c39c23 126
23264879
JR
127%description -l sk.UTF-8
128Postfix (pozri http://www.postfix.org/) má za cieľ byť alternatívou k
129široko rozšírenému programu sendmail, zodpovednému za 70% všetkej
130elektronickej pošty doručenej na Internete.
07119450 131
23264879
JR
132Aj keď IBM podporovala vývoj Postfixu, zdržiava sa vplyvu na jeho
133vývoj. Cieľom je inštalácia Postfixu na čo najväčšom počte systémov.
134Do tohoto momentu je softvér poskytovaný bez ovplyvňovania, takže sa
135môže vyvíjať podľa jeho používateľov.
07119450 136
23264879
JR
137Určite si prečítajte http://www.moongroup.com/how-to.phtml, kde sú
138popísané kroky potrebné pred a po inštalácii Postfixu.
07119450 139
9e330f14 140%package devel
141Summary: Postfix loadable modules development package
2fb1717c 142Summary(pl.UTF-8): Pakiet dla programistów ładowanych modułów do postfiksa
9e330f14 143Group: Development/Libraries
68087f44 144Requires: %{name} = %{epoch}:%{version}-%{release}
9e330f14 145
146%description devel
147Header files to build additional map types for Postfix.
148
23264879
JR
149%description devel -l pl.UTF-8
150Pliki nagłówkowe do tworzenia dodatkowych typów map dla Postfiksa.
9e330f14 151
152%package dict-ldap
153Summary: LDAP map support for Postfix
2fb1717c 154Summary(pl.UTF-8): Obsługa map LDAP dla Postfiksa
9e330f14 155Group: Networking/Daemons
68087f44 156Requires: %{name} = %{epoch}:%{version}-%{release}
f9b0803c 157Requires: openldap >= 2.3.0
9e330f14 158
159%description dict-ldap
160This package provides support for LDAP maps in Postfix.
161
23264879
JR
162%description dict-ldap -l pl.UTF-8
163Ten pakiet dodaje obsługę map LDAP do Postfiksa.
9e330f14 164
165%package dict-mysql
166Summary: MySQL map support for Postfix
2fb1717c 167Summary(pl.UTF-8): Obsługa map MySQL dla Postfiksa
9e330f14 168Group: Networking/Daemons
68087f44 169Requires: %{name} = %{epoch}:%{version}-%{release}
9e330f14 170
171%description dict-mysql
172This package provides support for MySQL maps in Postfix.
173
23264879
JR
174%description dict-mysql -l pl.UTF-8
175Ten pakiet dodaje obsługę map MySQL do Postfiksa.
9e330f14 176
9e330f14 177%package dict-pcre
178Summary: PCRE map support for Postfix
2fb1717c 179Summary(pl.UTF-8): Obsługa map PCRE dla Postfiksa
9e330f14 180Group: Networking/Daemons
68087f44 181Requires: %{name} = %{epoch}:%{version}-%{release}
9e330f14 182
183%description dict-pcre
184This package provides support for PCRE maps in Postfix.
185
23264879
JR
186%description dict-pcre -l pl.UTF-8
187Ten pakiet dodaje obsługę map PCRE do Postfiksa.
0effd84f 188
8016f71d
JB
189%package dict-pgsql
190Summary: PostgreSQL map support for Postfix
2fb1717c 191Summary(pl.UTF-8): Obsługa map PostgreSQL dla Postfiksa
8016f71d 192Group: Networking/Daemons
68087f44 193Requires: %{name} = %{epoch}:%{version}-%{release}
8016f71d
JB
194
195%description dict-pgsql
196This package provides support for PostgreSQL maps in Postfix.
197
23264879
JR
198%description dict-pgsql -l pl.UTF-8
199Ten pakiet dodaje obsługę map PostgreSQL do Postfiksa.
8016f71d 200
fad0c92b
ER
201%package qshape
202Summary: qshape - Print Postfix queue domain and age distribution
a5051c15 203Summary(pl.UTF-8): qshape - wypisywanie rozkładu domen i wieku z kolejki Postfiksa
fad0c92b
ER
204Group: Networking/Daemons
205Requires: %{name} = %{epoch}:%{version}-%{release}
206
207%description qshape
208The qshape program helps the administrator understand the Postfix
209queue message distribution in time and by sender domain or recipient
210domain. The program needs read access to the queue directories and
211queue files, so it must run as the superuser or the mail_owner
212specified in main.cf (typically postfix).
213
a5051c15
JB
214%description qshape -l pl.UTF-8
215Program qshape pomaga administratorowi zrozumieć rozkład kolejki
216wiadomości Postfiksa w czasie i w zależności od domeny nadawcy lub
217adresata. Program wymaga prawa odczytu do katalogów kolejki i plików
218kolejki, więc musi być uruchamiany przez superużytkownika lub
219użytkownika mail_owner podanego w main.cf (zwykle nazywającego się
220postfix).
221
0effd84f 222%prep
8a65cb50 223%setup -q
3522e8d4 224%{?with_vda:zcat %{SOURCE7} | patch -p1 -s}
87c7eadd
JR
225
226find -type f | xargs sed -i -e 's|/etc/postfix|/etc/mail|g'
227
54206e36 228%patch0 -p1
cc227ab6 229%patch1 -p0
759823fd 230%patch2 -p1
8a65cb50
JB
231%patch3 -p1
232%{?with_hir:%patch4 -p0}
8961886a
JR
233%patch5 -p1
234%patch6 -p1
cc227ab6 235sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt.c
99356d6f 236%if "%{_lib}" == "lib64"
8961886a 237%patch7 -p1
d9d74ec2 238%endif
8961886a
JR
239%patch8 -p1
240%patch9 -p1
0effd84f 241
b21ac01c 242%if %{with tcp}
243sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
244%endif
245
0effd84f 246%build
254543a9 247%{__make} -f Makefile.init makefiles
248%{__make} tidy
8eb680c0 249CC="%{__cc}"
250export CC
435fe1e7
JB
251%{__make} \
252 DEBUG="" \
63044aca 253 OPT="%{rpmcflags} -D_FILE_OFFSET_BITS=64" \
a675fe53 254 %{!?with_ldap:LDAPSO=""} \
255 %{!?with_mysql:MYSQLSO=""} \
256 %{!?with_pgsql:PGSQLSO=""} \
8eb680c0 257 CCARGS="%{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
258 AUXLIBS="-ldb -lresolv %{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto} %{?with_cdb:-lcdb} -lpcre"
0effd84f
AM
259
260%install
261rm -rf $RPM_BUILD_ROOT
e31194a0 262install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security} \
1bf3b45d 263 $RPM_BUILD_ROOT%{_sysconfdir}/{mail,sasl} \
996fb42e
JB
264 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,/usr/lib}\
265 $RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
8a65cb50 266 $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public}
8d5f7ded 267
996fb42e 268rm -f html/Makefile.in conf/{LICENSE,main.cf.default}
38f90f82 269
38f90f82 270install bin/* $RPM_BUILD_ROOT%{_sbindir}
271install libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
f52f40b7
JB
272ln $RPM_BUILD_ROOT%{_libdir}/postfix/smtp $RPM_BUILD_ROOT%{_libdir}/postfix/lmtp
273ln $RPM_BUILD_ROOT%{_libdir}/postfix/qmgr $RPM_BUILD_ROOT%{_libdir}/postfix/nqmgr
7003f448 274install conf/* $RPM_BUILD_ROOT%{_sysconfdir}/mail
7ffb4b69
JK
275sed -e's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix,' \
276 conf/main.cf > $RPM_BUILD_ROOT%{_sysconfdir}/mail/main.cf
7003f448 277
9e330f14 278for f in dns global master util ; do
279 install lib/lib${f}.a $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so.1
280 ln -sf lib${f}.so.1 $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so
281done
282install lib/dict*.so $RPM_BUILD_ROOT%{_libdir}/postfix
283install include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
284
996fb42e 285cp -a man/man* $RPM_BUILD_ROOT%{_mandir}
8d5f7ded 286
7003f448 287install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mail/aliases
1bf3b45d 288install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
289install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix
efbd5023
JB
290install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/postfix
291install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sasl/smtpd.conf
292install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
afeeeec7 293install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mail/bounce.cf.pl
53387d60 294install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mail/bounce.cf.de
0b930ef4 295install auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
c4d27094 296install auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
8d5f7ded 297
cc227ab6 298ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
299ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
300ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
8d5f7ded 301
9d5846cd 302touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/\
a6206693 303 {aliases,access,canonical,relocated,transport,virtual}{,.db}
0effd84f 304
876f5025
JR
305touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
306
6c202c7c 307> $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
0effd84f 308
996fb42e 309rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/mail/makedefs.out
bf21c84b 310
ce5ea51e
JB
311%clean
312rm -rf $RPM_BUILD_ROOT
313
0effd84f 314%pre
38ee7751
ER
315%groupadd -g 62 postfix
316%groupadd -g 63 maildrop
317%useradd -u 62 -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix
92df9354 318
0effd84f 319%post
9e330f14 320/sbin/ldconfig
cc227ab6 321if ! grep -q "^postmaster:" %{_sysconfdir}/mail/aliases; then
322echo "Adding Entry for postmaster in %{_sysconfdir}/mail/aliases" >&2
323echo "postmaster: root" >>%{_sysconfdir}/mail/aliases
0effd84f 324fi
4e11d284 325if [ "$1" = "1" ]; then
38ee7751 326 # only on installation, not upgrade
5f30162e 327 if ! grep -q "^myhostname" %{_sysconfdir}/mail/main.cf; then
4e11d284
JB
328 postconf -e myhostname=`/bin/hostname -f`
329 fi
bf21c84b
JK
330else
331 postfix upgrade-configuration
13f4eff0
AF
332fi
333
0effd84f 334newaliases
c9643bf8 335/sbin/chkconfig --add postfix
88cb24db 336%service postfix restart "postfix daemon"
0effd84f 337
0effd84f 338%preun
c9643bf8 339if [ "$1" = "0" ]; then
88cb24db 340 %service postfix stop
c9643bf8 341 /sbin/chkconfig --del postfix
342fi
0effd84f 343
9d5846cd 344%postun
9e330f14 345/sbin/ldconfig
346if [ "$1" = "0" ]; then
36d09b56 347 %groupremove maildrop
348 %userremove postfix
349 %groupremove postfix
c9643bf8 350fi
9d5846cd 351
0effd84f
AM
352%files
353%defattr(644,root,root,755)
8a65cb50 354%doc html *README COMPATIBILITY HISTORY LICENSE RELEASE_NOTES TLS_*
bd7c0cf3 355%doc README_FILES/*README
bf21c84b 356%doc examples/smtpd-policy
0c1674c9 357%dir %{_sysconfdir}/mail
9a9b0b98
JB
358%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/access
359%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/aliases
afeeeec7 360%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/bounce.cf.default
53387d60 361%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/bounce.cf.de
afeeeec7 362%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/bounce.cf.pl
9a9b0b98
JB
363%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/canonical
364%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/generic
9a9b0b98
JB
365#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/regexp_table
366%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/relocated
367%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/transport
368%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/virtual
369%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/header_checks
3ccfe138 370#%ghost %{_sysconfdir}/mail/*.db
9a9b0b98
JB
371%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/dynamicmaps.cf
372%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/main.cf
373%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/master.cf
374%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/postfix-script
9e330f14 375%attr(755,root,root) %{_sysconfdir}/mail/post-install
376%{_sysconfdir}/mail/postfix-files
1bf3b45d 377%attr(740,root,root) /etc/cron.daily/postfix
378%attr(754,root,root) /etc/rc.d/init.d/postfix
9a9b0b98 379%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postfix
04eda2b3 380%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
876f5025 381%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
9a9b0b98 382%{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
9e330f14 383%attr(755,root,root) %{_libdir}/libpostfix-*.so.*
573c93c6
JB
384%attr(755,root,root) %{_bindir}/mailq
385%attr(755,root,root) %{_bindir}/newaliases
fad0c92b 386%attr(755,root,root) %{_bindir}/rmail
9d5846cd 387%attr(755,root,root) %{_sbindir}/s*
9e330f14 388%attr(755,root,root) %{_sbindir}/postfix
6694854c
GS
389%attr(755,root,root) %{_sbindir}/postalias
390%attr(755,root,root) %{_sbindir}/postkick
9d5846cd
AM
391%attr(755,root,root) %{_sbindir}/postl*
392%attr(755,root,root) %{_sbindir}/postc*
393%attr(755,root,root) %{_sbindir}/postmap
9e330f14 394%attr(2755,root,maildrop) %{_sbindir}/postqueue
9d5846cd
AM
395%attr(755,root,root) %{_sbindir}/postsuper
396%attr(2755,root,maildrop) %{_sbindir}/postdrop
8a65cb50 397%attr(755,root,root) %{_sbindir}/qmqp-sink
9e330f14 398%attr(755,root,root) %{_sbindir}/qmqp-source
09055bff 399%attr(755,root,root) /usr/lib/sendmail
9e330f14 400%dir %{_libdir}/postfix
98693d0a 401%attr(755,root,root) %{_libdir}/postfix/[!d]*
8a65cb50 402%attr(755,root,root) %{_libdir}/postfix/discard
9d5846cd 403%attr(755,root,root) %dir %{_var}/spool/postfix
150a0aa3
JB
404%attr(700,postfix,root) %dir %{_var}/spool/postfix/active
405%attr(700,postfix,root) %dir %{_var}/spool/postfix/bounce
406%attr(700,postfix,root) %dir %{_var}/spool/postfix/corrupt
407%attr(700,postfix,root) %dir %{_var}/spool/postfix/defer
408%attr(700,postfix,root) %dir %{_var}/spool/postfix/deferred
409%attr(700,postfix,root) %dir %{_var}/spool/postfix/incoming
9d5846cd 410%attr(1730,postfix,maildrop) %dir %{_var}/spool/postfix/maildrop
150a0aa3
JB
411%attr(755,postfix,root) %dir %{_var}/spool/postfix/pid
412%attr(700,postfix,root) %dir %{_var}/spool/postfix/private
413%attr(710,postfix,maildrop) %dir %{_var}/spool/postfix/public
414%attr(700,postfix,root) %dir %{_var}/spool/postfix/saved
415%attr(644,postfix,root) %{_var}/spool/postfix/.nofinger
996fb42e
JB
416%{_mandir}/man1/mailq.1*
417%{_mandir}/man1/newaliases.1*
418%{_mandir}/man1/post*.1*
419%{_mandir}/man1/qmqp-*.1*
420%{_mandir}/man1/sendmail.1*
421%{_mandir}/man1/smtp-*.1*
422%{_mandir}/man5/access.5*
423%{_mandir}/man5/aliases.5*
424%{_mandir}/man5/body_checks.5*
425%{_mandir}/man5/bounce.5*
426%{_mandir}/man5/canonical.5*
427%{_mandir}/man5/cidr_table.5*
428%{_mandir}/man5/generic.5*
429%{_mandir}/man5/header_checks.5*
430%{_mandir}/man5/master.5*
431%{_mandir}/man5/nisplus_table.5*
432%{_mandir}/man5/postconf.5*
433%{_mandir}/man5/regexp_table.5*
434%{_mandir}/man5/relocated.5*
435%{_mandir}/man5/tcp_table.5*
436%{_mandir}/man5/transport.5*
437%{_mandir}/man5/virtual.5*
438%{_mandir}/man8/*.8*
9e330f14 439
440%files devel
441%defattr(644,root,root,755)
442%attr(755,root,root) %{_libdir}/libpostfix-*.so
443%{_includedir}/postfix
444
a675fe53 445%if %{with ldap}
9e330f14 446%files dict-ldap
447%defattr(644,root,root,755)
448%attr(755,root,root) %{_libdir}/postfix/dict_ldap.so
996fb42e 449%{_mandir}/man5/ldap_table.5*
a853cfe3 450%endif
9e330f14 451
a675fe53 452%if %{with mysql}
9e330f14 453%files dict-mysql
454%defattr(644,root,root,755)
455%attr(755,root,root) %{_libdir}/postfix/dict_mysql.so
996fb42e 456%{_mandir}/man5/mysql_table.5*
8acc733a 457%endif
9e330f14 458
459%files dict-pcre
460%defattr(644,root,root,755)
461%attr(755,root,root) %{_libdir}/postfix/dict_pcre.so
996fb42e
JB
462#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/pcre_table
463%{_mandir}/man5/pcre_table.5*
8016f71d 464
a675fe53 465%if %{with pgsql}
8016f71d
JB
466%files dict-pgsql
467%defattr(644,root,root,755)
468%attr(755,root,root) %{_libdir}/postfix/dict_pgsql.so
996fb42e 469%{_mandir}/man5/pgsql_table.5*
a853cfe3 470%endif
fad0c92b
ER
471
472%files qshape
473%defattr(644,root,root,755)
474%attr(755,root,root) %{_bindir}/qshape
996fb42e 475%{_mandir}/man1/qshape.1*
This page took 0.140194 seconds and 4 git commands to generate.