]> TLD Linux GIT Repositories - packages/postfix.git/blob - postfix.spec
- updated to 3.8.6
[packages/postfix.git] / postfix.spec
1 #
2 # Conditional build:
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  sqlite  # without SQLite map module
7 %bcond_without  sasl    # without SMTP AUTH support
8 %bcond_without  ssl     # without SSL/TLS support
9 %bcond_without  cdb     # without cdb map support
10 %bcond_without  lmdb    # lmdb map suppor
11 %bcond_without  epoll   # disable epoll for 2.4 kernels
12
13 Summary:        Postfix Mail Transport Agent
14 Summary(cs.UTF-8):      Postfix - program pro přepravu pošty (MTA)
15 Summary(es.UTF-8):      Postfix - Un MTA (Mail Transport Agent) de alto desempeño
16 Summary(fr.UTF-8):      Agent de transport de courrier Postfix
17 Summary(pl.UTF-8):      Serwer SMTP Postfix
18 Summary(pt_BR.UTF-8):   Postfix - Um MTA (Mail Transport Agent) de alto desempenho
19 Summary(sk.UTF-8):      Agent prenosu pošty Postfix
20 Name:           postfix
21 Version:        3.8.6
22 Release:        1
23 Epoch:          2
24 License:        distributable
25 Group:          Networking/Daemons/SMTP
26 Source0:        ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
27 # Source0-md5:  6a04fb70afead55f6ca106dc87a3a9db
28 Source1:        %{name}.aliases
29 Source2:        %{name}.cron
30 Source3:        %{name}.init
31 Source4:        %{name}.sysconfig
32 Source5:        %{name}.sasl
33 Source6:        %{name}.pamd
34 Source7:        %{name}-bounce.cf.pl
35 # http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
36 Source8:        %{name}-bounce.cf.de
37 Source9:        %{name}.monitrc
38 # -ource11-md5: d46103195b43ec5784ea2c166b238f71
39 Patch0:         %{name}-config.patch
40 Patch1:         %{name}-conf_msg.patch
41 Patch2:         %{name}-master.cf_cyrus.patch
42 Patch3:         %{name}-conf.patch
43 Patch4:         %{name}-link.patch
44 Patch5:         %{name}-scache_clnt.patch
45 URL:            http://www.postfix.org/
46 %{?with_sasl:BuildRequires:     cyrus-sasl-devel}
47 BuildRequires:  db-devel
48 # getifaddrs() with IPv6 support
49 BuildRequires:  glibc-devel >= 6:2.3.4
50 %{?with_lmdb:BuildRequires:     lmdb-devel}
51 BuildRequires:  libnsl-devel >= 1.3.0
52 %{?with_mysql:BuildRequires:    mysql-devel}
53 %{?with_ldap:BuildRequires:     openldap-devel >= 2.0.12}
54 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7l}
55 BuildRequires:  pcre-devel
56 BuildRequires:  perl-base
57 %{?with_pgsql:BuildRequires:    postgresql-devel}
58 BuildRequires:  rpm >= 4.4.9-56
59 BuildRequires:  rpmbuild(macros) >= 1.644
60 BuildRequires:  sed >= 4.0
61 %{?with_sqlite:BuildRequires:   sqlite3-devel}
62 %{?with_cdb:BuildRequires:      tinycdb-devel}
63 %{?with_mysql:BuildRequires:    zlib-devel}
64 Requires(post): /bin/hostname
65 Requires(post,postun):  /sbin/ldconfig
66 Requires(post,preun):   /sbin/chkconfig
67 Requires(postun):       /usr/sbin/groupdel
68 Requires(postun):       /usr/sbin/userdel
69 Requires(pre):  /bin/id
70 Requires(pre):  /usr/bin/getgid
71 Requires(pre):  /usr/sbin/groupadd
72 Requires(pre):  /usr/sbin/useradd
73 Requires:       /sbin/chkconfig
74 Requires:       diffutils
75 Requires:       findutils
76 Requires:       rc-scripts
77 Requires:       sed
78 %{?with_cdb:Requires:tinycdb}
79 Suggests:       cyrus-sasl-saslauthd
80 Provides:       group(postfix)
81 Provides:       smtpdaemon
82 Provides:       user(postfix)
83 Obsoletes:      smtpdaemon
84 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85
86 %description
87 Postfix is attempt to provide an alternative to the widely-used
88 Sendmail program. Postfix attempts to be fast, easy to administer, and
89 hopefully secure, while at the same time being sendmail compatible
90 enough to not upset your users. This version has IPv6 support.
91
92 %description -l es.UTF-8
93 Postfix es una alternativa para el mundialmente utilizado sendmail. Si
94 desea tener un servidor SMTP *rápido*, debe instalar este paquete.
95
96 %description -l fr.UTF-8
97 Postfix (voir http://www.postfix.org/) se veut une alternative à
98 sendmail, responsable de l'acheminement de 70% des courriers
99 électroniques sur Internet. IBM en a suppotré le développement, mais
100 ne contrôle pas son évolution. Le but est d'installer Postfix sur le
101 plus grand nombre de systèmes possible. Dans cette optique, il a été
102 écrit pour être totalement sous le contrôle de l'utilisateur.
103
104 %description -l it.UTF-8
105 Postfix (http://www.postfix.org/) e' un'alternativa al programma
106 sendmail utilizzato per la gestione del 70 per cento della posta
107 Internet.
108
109 Seppur IBM supporti lo sviluppo di Postfix, non controlla la sua
110 evoluzione.
111
112 Consultate la pagine web http://www.moongroup.com/how-to.phtml nella
113 quale troverete le indicazioni per una corretta installazione e
114 configurazione di questo programma.
115
116 %description -l pl.UTF-8
117 Postfix jest próbą dostarczenia alternatywnego MTA w stosunku do
118 szeroko używanego sendmaila. Postfix w zamierzeniu ma być szybki,
119 łatwy w administrowaniu, bezpieczny oraz ma być na tyle kompatybilny z
120 sendmailem by nie denerwować użytkowników. Ta wersja obsługuje IPv6.
121
122 %description -l pt_BR.UTF-8
123 O Postfix é uma alternativa para o mundialmente utilizado sendmail. Se
124 você deseja um servidor SMTP *rápido*, instale este pacote.
125
126 %description -l sk.UTF-8
127 Postfix (pozri http://www.postfix.org/) má za cieľ byť alternatívou k
128 široko rozšírenému programu sendmail, zodpovednému za 70% všetkej
129 elektronickej pošty doručenej na Internete.
130
131 Aj keď IBM podporovala vývoj Postfixu, zdržiava sa vplyvu na jeho
132 vývoj. Cieľom je inštalácia Postfixu na čo najväčšom počte systémov.
133 Do tohoto momentu je softvér poskytovaný bez ovplyvňovania, takže sa
134 môže vyvíjať podľa jeho používateľov.
135
136 Určite si prečítajte http://www.moongroup.com/how-to.phtml, kde sú
137 popísané kroky potrebné pred a po inštalácii Postfixu.
138
139 %package devel
140 Summary:        Postfix loadable modules development package
141 Summary(pl.UTF-8):      Pakiet dla programistów ładowanych modułów do postfiksa
142 Group:          Development/Libraries
143 Requires:       %{name} = %{epoch}:%{version}-%{release}
144
145 %description devel
146 Header files to build additional map types for Postfix.
147
148 %description devel -l pl.UTF-8
149 Pliki nagłówkowe do tworzenia dodatkowych typów map dla Postfiksa.
150
151 %package dict-cdb
152 Summary:        CDB map support for Postfix
153 Summary(pl.UTF-8):      Obsługa map CDB dla Postfiksa
154 Group:          Networking/Daemons/SMTP
155 Requires:       %{name} = %{epoch}:%{version}-%{release}
156
157 %description dict-cdb
158 This package provides support for CDB maps in Postfix.
159
160 %description dict-cdb -l pl.UTF-8
161 Ten pakiet dodaje obsługę map CDB do Postfiksa.
162
163 %package dict-ldap
164 Summary:        LDAP map support for Postfix
165 Summary(pl.UTF-8):      Obsługa map LDAP dla Postfiksa
166 Group:          Networking/Daemons/SMTP
167 Requires:       %{name} = %{epoch}:%{version}-%{release}
168 Requires:       openldap >= 2.3.6
169
170 %description dict-ldap
171 This package provides support for LDAP maps in Postfix.
172
173 %description dict-ldap -l pl.UTF-8
174 Ten pakiet dodaje obsługę map LDAP do Postfiksa.
175
176 %package dict-lmdb
177 Summary:        LMDB map support for Postfix
178 Summary(pl.UTF-8):      Obsługa map LMDB dla Postfiksa
179 Group:          Networking/Daemons/SMTP
180 Requires:       %{name} = %{epoch}:%{version}-%{release}
181
182 %description dict-lmdb
183 This package provides support for LMDB maps in Postfix.
184
185 %description dict-lmdb -l pl.UTF-8
186 Ten pakiet dodaje obsługę map LMDB do Postfiksa.
187
188 %package dict-mysql
189 Summary:        MySQL map support for Postfix
190 Summary(pl.UTF-8):      Obsługa map MySQL dla Postfiksa
191 Group:          Networking/Daemons/SMTP
192 Requires:       %{name} = %{epoch}:%{version}-%{release}
193
194 %description dict-mysql
195 This package provides support for MySQL maps in Postfix.
196
197 %description dict-mysql -l pl.UTF-8
198 Ten pakiet dodaje obsługę map MySQL do Postfiksa.
199
200 %package dict-pcre
201 Summary:        PCRE map support for Postfix
202 Summary(pl.UTF-8):      Obsługa map PCRE dla Postfiksa
203 Group:          Networking/Daemons/SMTP
204 Requires:       %{name} = %{epoch}:%{version}-%{release}
205
206 %description dict-pcre
207 This package provides support for PCRE maps in Postfix.
208
209 %description dict-pcre -l pl.UTF-8
210 Ten pakiet dodaje obsługę map PCRE do Postfiksa.
211
212 %package dict-pgsql
213 Summary:        PostgreSQL map support for Postfix
214 Summary(pl.UTF-8):      Obsługa map PostgreSQL dla Postfiksa
215 Group:          Networking/Daemons/SMTP
216 Requires:       %{name} = %{epoch}:%{version}-%{release}
217
218 %description dict-pgsql
219 This package provides support for PostgreSQL maps in Postfix.
220
221 %description dict-pgsql -l pl.UTF-8
222 Ten pakiet dodaje obsługę map PostgreSQL do Postfiksa.
223
224 %package dict-sqlite
225 Summary:        SQLite map support for Postfix
226 Summary(pl.UTF-8):      Obsługa map SQLite dla Postfiksa
227 Group:          Networking/Daemons/SMTP
228 Requires:       %{name} = %{epoch}:%{version}-%{release}
229
230 %description dict-sqlite
231 This package provides support for SQLite maps in Postfix.
232
233 %description dict-sqlite -l pl.UTF-8
234 Ten pakiet dodaje obsługę map SQLite do Postfiksa.
235
236 %package qshape
237 Summary:        qshape - Print Postfix queue domain and age distribution
238 Summary(pl.UTF-8):      qshape - wypisywanie rozkładu domen i wieku z kolejki Postfiksa
239 Group:          Networking/Daemons/SMTP
240 Requires:       %{name} = %{epoch}:%{version}-%{release}
241
242 %description qshape
243 The qshape program helps the administrator understand the Postfix
244 queue message distribution in time and by sender domain or recipient
245 domain. The program needs read access to the queue directories and
246 queue files, so it must run as the superuser or the mail_owner
247 specified in main.cf (typically postfix).
248
249 %description qshape -l pl.UTF-8
250 Program qshape pomaga administratorowi zrozumieć rozkład kolejki
251 wiadomości Postfiksa w czasie i w zależności od domeny nadawcy lub
252 adresata. Program wymaga prawa odczytu do katalogów kolejki i plików
253 kolejki, więc musi być uruchamiany przez superużytkownika lub
254 użytkownika mail_owner podanego w main.cf (zwykle nazywającego się
255 postfix).
256
257 %package -n monit-rc-%{name}
258 Summary:        monit support for Postfix
259 Summary(pl.UTF-8):      Wsparcie monita dla Postfiksa
260 Group:          Applications/System
261 Requires:       %{name} = %{epoch}:%{version}-%{release}
262 Requires:       monit
263
264 %description -n monit-rc-%{name}
265 monitrc file for monitoring Postfix.
266
267 %description -n monit-rc-%{name} -l pl.UTF-8
268 Plik monitrc do monitorowania serwera Postfix.
269
270 %prep
271 %setup -q
272 %patch0 -p1
273 %patch1 -p1
274 %patch2 -p1
275 sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt.c
276 %patch3 -p1
277 %patch4 -p1
278 %patch5 -p1
279
280 %build
281 # export, as the same variables must be passed both to 'make makefiles' and 'make'
282 export CCARGS="%{!?with_epoll:-DNO_EPOLL} %{?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} %{?with_sqlite:-DHAS_SQLITE} %{?with_lmdb:-DHAS_LMDB} -LHAS_SDBM"
283 export AUXLIBS="%{rpmldflags} -lsasl -lssl -lcrypto"
284 export AUXLIBS_CDB="%{?with_cdb:-lcdb}"
285 export AUXLIBS_LDAP="%{?with_ldap:-lldap -llber}"
286 export AUXLIBS_LMDB="%{?with_lmdb:-llmdb}"
287 export AUXLIBS_MYSQL="%{?with_mysql:-lmysqlclient}"
288 export AUXLIBS_PCRE="-lpcre"
289 export AUXLIBS_PGSQL="%{?with_pgsql:-lpq}"
290 export AUXLIBS_SQLITE="%{?with_sqlite:-lsqlite3}"
291
292 export CC="%{__cc}"
293 %{__make} makefiles \
294     shared=yes \
295     dynamicmaps=yes \
296     daemon_directory="%{_libdir}/postfix/sbin" \
297     shlib_directory="%{_libdir}/postfix" \
298     manpage_directory="%{_mandir}"
299
300 %{__make} -j1 \
301     DEBUG="" \
302     OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
303
304 %install
305 rm -rf $RPM_BUILD_ROOT
306 install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security,monit} \
307         $RPM_BUILD_ROOT%{_sysconfdir}/{postfix,sasl} \
308         $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix/sbin,/usr/lib}\
309         $RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
310         $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public} \
311         $RPM_BUILD_ROOT%{_var}/lib/postfix
312
313 %{__make} non-interactive-package \
314         install_root=$RPM_BUILD_ROOT
315
316 cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
317
318 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
319 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
320 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix
321 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/postfix
322 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sasl/smtpd.conf
323 cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
324 cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.pl
325 cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.de
326 cp -a %{SOURCE9} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
327 install -p auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
328 install -p auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
329 install -p man/man1/qshape.1 $RPM_BUILD_ROOT%{_mandir}/man1
330
331 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
332 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
333 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
334
335 touch $RPM_BUILD_ROOT%{_sysconfdir}/postfix/\
336         {aliases,access,canonical,relocated,transport,virtual}{,.db}
337
338 touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
339
340 > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
341
342 %{__rm} -rf $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{makedefs.out,main.cf.default}
343 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{,TLS_}LICENSE
344
345 %clean
346 rm -rf $RPM_BUILD_ROOT
347
348 %pre
349 %groupadd -g 62 postfix
350 %groupadd -g 63 maildrop
351 %useradd -u 62 -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix
352
353 %post
354 /sbin/ldconfig
355 if ! grep -q "^postmaster:" %{_sysconfdir}/postfix/aliases; then
356         echo "Adding Entry for postmaster in %{_sysconfdir}/postfix/aliases" >&2
357         echo "postmaster: root" >>%{_sysconfdir}/postfix/aliases
358 fi
359 if [ "$1" = "1" ]; then
360         # only on installation, not upgrade; set sane defaults
361         # postfix expects gethostname() to return FQDN, which is obviously wrong
362         if ! grep -qE "^my(domain|hostname)" %{_sysconfdir}/postfix/main.cf; then
363                 domain=$(/bin/hostname -d 2>/dev/null)
364                 [ -n "$domain" -a "$domain" != 'localdomain' ] && \
365                         postconf -e mydomain="$domain"
366         fi
367 else
368         %{_sbindir}/postfix upgrade-configuration
369 fi
370
371 %{_bindir}/newaliases
372 /sbin/chkconfig --add postfix
373 %service postfix restart "Postfix Daemon"
374
375 %preun
376 if [ "$1" = "0" ]; then
377         %service postfix stop
378         /sbin/chkconfig --del postfix
379 fi
380
381 %postun
382 /sbin/ldconfig
383 if [ "$1" = "0" ]; then
384         %groupremove maildrop
385         %userremove postfix
386         %groupremove postfix
387 fi
388
389 %triggerun -- %{name} < 2:3.8.0-1
390 if [ $1 -le 1 ]; then
391         exit 0
392 fi
393 [ -f "/etc/postfix/main.cf" ] && sed -i -e 's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix/sbin,' /etc/postfix/main.cf 2>/dev/null || :
394
395 %triggerpostun -- %{name} < 2:3.8.0-1
396 echo
397 echo "Warning! Option daemon_directory in file /etc/postfix/main.cf was set to"
398 echo "path %{_libdir}/postfix/sbin."
399 echo
400
401 %files
402 %defattr(644,root,root,755)
403 %doc html COMPATIBILITY HISTORY LICENSE RELEASE_NOTES* TLS_*
404 %doc README_FILES/*README
405 %doc examples/smtpd-policy
406 %dir %{_sysconfdir}/postfix
407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/access
408 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/aliases
409 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.default
410 %lang(de) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.de
411 %lang(pl) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.pl
412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/canonical
413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/generic
414 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/regexp_table
415 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/relocated
416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/transport
417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/virtual
418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/header_checks
419 #%ghost %{_sysconfdir}/postfix/*.db
420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/dynamicmaps.cf
421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/main.cf
422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/main.cf.proto
423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/master.cf
424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/master.cf.proto
425 %{_sysconfdir}/postfix/postfix-files
426 %attr(740,root,root) /etc/cron.daily/postfix
427 %attr(754,root,root) /etc/rc.d/init.d/postfix
428 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postfix
429 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
430 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
431 %{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
432 %attr(755,root,root) %{_bindir}/mailq
433 %attr(755,root,root) %{_bindir}/newaliases
434 %attr(755,root,root) %{_bindir}/rmail
435 %attr(755,root,root) %{_sbindir}/postalias
436 %attr(755,root,root) %{_sbindir}/postcat
437 %attr(755,root,root) %{_sbindir}/postconf
438 %attr(2755,root,maildrop) %{_sbindir}/postdrop
439 %attr(755,root,root) %{_sbindir}/postfix
440 %attr(755,root,root) %{_sbindir}/postkick
441 %attr(755,root,root) %{_sbindir}/postlock
442 %attr(755,root,root) %{_sbindir}/postlog
443 %attr(755,root,root) %{_sbindir}/postmap
444 %attr(755,root,root) %{_sbindir}/postmulti
445 %attr(2755,root,maildrop) %{_sbindir}/postqueue
446 %attr(755,root,root) %{_sbindir}/postsuper
447 %attr(755,root,root) %{_sbindir}/sendmail
448 %attr(755,root,root) /usr/lib/sendmail
449 %dir %{_libdir}/postfix
450 %attr(755,root,root) %{_libdir}/postfix/libpostfix-dns.so
451 %attr(755,root,root) %{_libdir}/postfix/libpostfix-global.so
452 %attr(755,root,root) %{_libdir}/postfix/libpostfix-master.so
453 %attr(755,root,root) %{_libdir}/postfix/libpostfix-tls.so
454 %attr(755,root,root) %{_libdir}/postfix/libpostfix-util.so
455 %dir %{_libdir}/postfix/sbin
456 %attr(755,root,root) %{_libdir}/postfix/sbin/anvil
457 %attr(755,root,root) %{_libdir}/postfix/sbin/bounce
458 %attr(755,root,root) %{_libdir}/postfix/sbin/cleanup
459 %attr(755,root,root) %{_libdir}/postfix/sbin/discard
460 %attr(755,root,root) %{_libdir}/postfix/sbin/dnsblog
461 %attr(755,root,root) %{_libdir}/postfix/sbin/error
462 %attr(755,root,root) %{_libdir}/postfix/sbin/flush
463 %attr(755,root,root) %{_libdir}/postfix/sbin/lmtp
464 %attr(755,root,root) %{_libdir}/postfix/sbin/local
465 %attr(755,root,root) %{_libdir}/postfix/sbin/master
466 %attr(755,root,root) %{_libdir}/postfix/sbin/nqmgr
467 %attr(755,root,root) %{_libdir}/postfix/sbin/oqmgr
468 %attr(755,root,root) %{_libdir}/postfix/sbin/pickup
469 %attr(755,root,root) %{_libdir}/postfix/sbin/pipe
470 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-script
471 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-tls-script
472 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-wrapper
473 %attr(755,root,root) %{_libdir}/postfix/sbin/post-install
474 %attr(755,root,root) %{_libdir}/postfix/sbin/postlogd
475 %attr(755,root,root) %{_libdir}/postfix/sbin/postmulti-script
476 %attr(755,root,root) %{_libdir}/postfix/sbin/postscreen
477 %attr(755,root,root) %{_libdir}/postfix/sbin/proxymap
478 %attr(755,root,root) %{_libdir}/postfix/sbin/qmgr
479 %attr(755,root,root) %{_libdir}/postfix/sbin/qmqpd
480 %attr(755,root,root) %{_libdir}/postfix/sbin/scache
481 %attr(755,root,root) %{_libdir}/postfix/sbin/showq
482 %attr(755,root,root) %{_libdir}/postfix/sbin/smtp
483 %attr(755,root,root) %{_libdir}/postfix/sbin/smtpd
484 %attr(755,root,root) %{_libdir}/postfix/sbin/spawn
485 %attr(755,root,root) %{_libdir}/postfix/sbin/tlsmgr
486 %attr(755,root,root) %{_libdir}/postfix/sbin/tlsproxy
487 %attr(755,root,root) %{_libdir}/postfix/sbin/trivial-rewrite
488 %attr(755,root,root) %{_libdir}/postfix/sbin/verify
489 %attr(755,root,root) %{_libdir}/postfix/sbin/virtual
490 %attr(755,root,root) %dir %{_var}/spool/postfix
491 %attr(700,postfix,root) %dir %{_var}/spool/postfix/active
492 %attr(700,postfix,root) %dir %{_var}/spool/postfix/bounce
493 %attr(700,postfix,root) %dir %{_var}/spool/postfix/corrupt
494 %attr(700,postfix,root) %dir %{_var}/spool/postfix/defer
495 %attr(700,postfix,root) %dir %{_var}/spool/postfix/deferred
496 %attr(700,postfix,root) %dir %{_var}/spool/postfix/incoming
497 %attr(1730,postfix,maildrop) %dir %{_var}/spool/postfix/maildrop
498 %attr(755,root,root) %dir %{_var}/spool/postfix/pid
499 %attr(700,postfix,root) %dir %{_var}/spool/postfix/private
500 %attr(710,postfix,maildrop) %dir %{_var}/spool/postfix/public
501 %attr(700,postfix,root) %dir %{_var}/spool/postfix/saved
502 %attr(644,postfix,root) %{_var}/spool/postfix/.nofinger
503 %attr(700,postfix,root) %{_var}/lib/postfix
504 %{_mandir}/man1/mailq.1*
505 %{_mandir}/man1/newaliases.1*
506 %{_mandir}/man1/post*.1*
507 %{_mandir}/man1/sendmail.1*
508 %{_mandir}/man5/access.5*
509 %{_mandir}/man5/aliases.5*
510 %{_mandir}/man5/body_checks.5*
511 %{_mandir}/man5/bounce.5*
512 %{_mandir}/man5/canonical.5*
513 %{_mandir}/man5/cidr_table.5*
514 %{_mandir}/man5/generic.5*
515 %{_mandir}/man5/header_checks.5*
516 %{_mandir}/man5/lmdb_table.5*
517 %{_mandir}/man5/master.5*
518 %{_mandir}/man5/memcache_table.5*
519 %{_mandir}/man5/nisplus_table.5*
520 %{_mandir}/man5/postconf.5*
521 %{_mandir}/man5/postfix-wrapper.5*
522 %{_mandir}/man5/regexp_table.5*
523 %{_mandir}/man5/relocated.5*
524 %{_mandir}/man5/socketmap_table.5*
525 %{_mandir}/man5/tcp_table.5*
526 %{_mandir}/man5/transport.5*
527 %{_mandir}/man5/virtual.5*
528 %{_mandir}/man8/*.8*
529
530 %files devel
531 %defattr(644,root,root,755)
532 %{_includedir}/postfix
533
534 %if %{with cdb}
535 %files dict-cdb
536 %attr(755,root,root) %{_libdir}/postfix/postfix-cdb.so
537 %endif
538
539 %if %{with ldap}
540 %files dict-ldap
541 %defattr(644,root,root,755)
542 %attr(755,root,root) %{_libdir}/postfix/postfix-ldap.so
543 %{_mandir}/man5/ldap_table.5*
544 %endif
545
546 %if %{with lmdb}
547 %files dict-lmdb
548 %defattr(644,root,root,755)
549 %attr(755,root,root) %{_libdir}/postfix/postfix-lmdb.so
550 %{_mandir}/man5/lmdb_table.5*
551 %endif
552
553 %if %{with mysql}
554 %files dict-mysql
555 %defattr(644,root,root,755)
556 %attr(755,root,root) %{_libdir}/postfix/postfix-mysql.so
557 %{_mandir}/man5/mysql_table.5*
558 %endif
559
560 %files dict-pcre
561 %defattr(644,root,root,755)
562 %attr(755,root,root) %{_libdir}/postfix/postfix-pcre.so
563 %{_mandir}/man5/pcre_table.5*
564
565 %if %{with pgsql}
566 %files dict-pgsql
567 %defattr(644,root,root,755)
568 %attr(755,root,root) %{_libdir}/postfix/postfix-pgsql.so
569 %{_mandir}/man5/pgsql_table.5*
570 %endif
571
572 %if %{with sqlite}
573 %files dict-sqlite
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{_libdir}/postfix/postfix-sqlite.so
576 %{_mandir}/man5/sqlite_table.5*
577 %endif
578
579 %files qshape
580 %defattr(644,root,root,755)
581 %attr(755,root,root) %{_bindir}/qshape
582 %{_mandir}/man1/qshape.1*
583
584 %files -n monit-rc-%{name}
585 %defattr(644,root,root,755)
586 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc