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
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
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: 73cce85d78a6bf0d5a0c326c23361ed1
28 Source1: %{name}.aliases
31 Source4: %{name}.sysconfig
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 BuildRequires: libnsl-devel >= 1.3.0
51 %{?with_mysql:BuildRequires: mysql-devel}
52 %{?with_ldap:BuildRequires: openldap-devel >= 2.0.12}
53 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7l}
54 BuildRequires: pcre-devel
55 BuildRequires: perl-base
56 %{?with_pgsql:BuildRequires: postgresql-devel}
57 BuildRequires: rpm >= 4.4.9-56
58 BuildRequires: rpmbuild(macros) >= 1.644
59 BuildRequires: sed >= 4.0
60 %{?with_sqlite:BuildRequires: sqlite3-devel}
61 %{?with_cdb:BuildRequires: tinycdb-devel}
62 %{?with_mysql:BuildRequires: zlib-devel}
63 Requires(post): /bin/hostname
64 Requires(post,postun): /sbin/ldconfig
65 Requires(post,preun): /sbin/chkconfig
66 Requires(postun): /usr/sbin/groupdel
67 Requires(postun): /usr/sbin/userdel
68 Requires(pre): /bin/id
69 Requires(pre): /usr/bin/getgid
70 Requires(pre): /usr/sbin/groupadd
71 Requires(pre): /usr/sbin/useradd
72 Requires: /sbin/chkconfig
77 %{?with_cdb:Requires:tinycdb}
78 Suggests: cyrus-sasl-saslauthd
79 Provides: group(postfix)
81 Provides: user(postfix)
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 Postfix is attempt to provide an alternative to the widely-used
87 Sendmail program. Postfix attempts to be fast, easy to administer, and
88 hopefully secure, while at the same time being sendmail compatible
89 enough to not upset your users. This version has IPv6 support.
91 %description -l es.UTF-8
92 Postfix es una alternativa para el mundialmente utilizado sendmail. Si
93 desea tener un servidor SMTP *rápido*, debe instalar este paquete.
95 %description -l fr.UTF-8
96 Postfix (voir http://www.postfix.org/) se veut une alternative à
97 sendmail, responsable de l'acheminement de 70% des courriers
98 électroniques sur Internet. IBM en a suppotré le développement, mais
99 ne contrôle pas son évolution. Le but est d'installer Postfix sur le
100 plus grand nombre de systèmes possible. Dans cette optique, il a été
101 écrit pour être totalement sous le contrôle de l'utilisateur.
103 %description -l it.UTF-8
104 Postfix (http://www.postfix.org/) e' un'alternativa al programma
105 sendmail utilizzato per la gestione del 70 per cento della posta
108 Seppur IBM supporti lo sviluppo di Postfix, non controlla la sua
111 Consultate la pagine web http://www.moongroup.com/how-to.phtml nella
112 quale troverete le indicazioni per una corretta installazione e
113 configurazione di questo programma.
115 %description -l pl.UTF-8
116 Postfix jest próbą dostarczenia alternatywnego MTA w stosunku do
117 szeroko używanego sendmaila. Postfix w zamierzeniu ma być szybki,
118 łatwy w administrowaniu, bezpieczny oraz ma być na tyle kompatybilny z
119 sendmailem by nie denerwować użytkowników. Ta wersja obsługuje IPv6.
121 %description -l pt_BR.UTF-8
122 O Postfix é uma alternativa para o mundialmente utilizado sendmail. Se
123 você deseja um servidor SMTP *rápido*, instale este pacote.
125 %description -l sk.UTF-8
126 Postfix (pozri http://www.postfix.org/) má za cieľ byť alternatívou k
127 široko rozšírenému programu sendmail, zodpovednému za 70% všetkej
128 elektronickej pošty doručenej na Internete.
130 Aj keď IBM podporovala vývoj Postfixu, zdržiava sa vplyvu na jeho
131 vývoj. Cieľom je inštalácia Postfixu na čo najväčšom počte systémov.
132 Do tohoto momentu je softvér poskytovaný bez ovplyvňovania, takže sa
133 môže vyvíjať podľa jeho používateľov.
135 Určite si prečítajte http://www.moongroup.com/how-to.phtml, kde sú
136 popísané kroky potrebné pred a po inštalácii Postfixu.
139 Summary: Postfix loadable modules development package
140 Summary(pl.UTF-8): Pakiet dla programistów ładowanych modułów do postfiksa
141 Group: Development/Libraries
142 Requires: %{name} = %{epoch}:%{version}-%{release}
145 Header files to build additional map types for Postfix.
147 %description devel -l pl.UTF-8
148 Pliki nagłówkowe do tworzenia dodatkowych typów map dla Postfiksa.
151 Summary: CDB map support for Postfix
152 Summary(pl.UTF-8): Obsługa map CDB dla Postfiksa
153 Group: Networking/Daemons/SMTP
154 Requires: %{name} = %{epoch}:%{version}-%{release}
156 %description dict-cdb
157 This package provides support for CDB maps in Postfix.
159 %description dict-cdb -l pl.UTF-8
160 Ten pakiet dodaje obsługę map CDB do Postfiksa.
163 Summary: LDAP map support for Postfix
164 Summary(pl.UTF-8): Obsługa map LDAP dla Postfiksa
165 Group: Networking/Daemons/SMTP
166 Requires: %{name} = %{epoch}:%{version}-%{release}
167 Requires: openldap >= 2.3.6
169 %description dict-ldap
170 This package provides support for LDAP maps in Postfix.
172 %description dict-ldap -l pl.UTF-8
173 Ten pakiet dodaje obsługę map LDAP do Postfiksa.
176 Summary: LMDB map support for Postfix
177 Summary(pl.UTF-8): Obsługa map LMDB dla Postfiksa
178 Group: Networking/Daemons/SMTP
179 Requires: %{name} = %{epoch}:%{version}-%{release}
181 %description dict-lmdb
182 This package provides support for LMDB maps in Postfix.
184 %description dict-lmdb -l pl.UTF-8
185 Ten pakiet dodaje obsługę map LMDB do Postfiksa.
188 Summary: MySQL map support for Postfix
189 Summary(pl.UTF-8): Obsługa map MySQL dla Postfiksa
190 Group: Networking/Daemons/SMTP
191 Requires: %{name} = %{epoch}:%{version}-%{release}
193 %description dict-mysql
194 This package provides support for MySQL maps in Postfix.
196 %description dict-mysql -l pl.UTF-8
197 Ten pakiet dodaje obsługę map MySQL do Postfiksa.
200 Summary: PCRE map support for Postfix
201 Summary(pl.UTF-8): Obsługa map PCRE dla Postfiksa
202 Group: Networking/Daemons/SMTP
203 Requires: %{name} = %{epoch}:%{version}-%{release}
205 %description dict-pcre
206 This package provides support for PCRE maps in Postfix.
208 %description dict-pcre -l pl.UTF-8
209 Ten pakiet dodaje obsługę map PCRE do Postfiksa.
212 Summary: PostgreSQL map support for Postfix
213 Summary(pl.UTF-8): Obsługa map PostgreSQL dla Postfiksa
214 Group: Networking/Daemons/SMTP
215 Requires: %{name} = %{epoch}:%{version}-%{release}
217 %description dict-pgsql
218 This package provides support for PostgreSQL maps in Postfix.
220 %description dict-pgsql -l pl.UTF-8
221 Ten pakiet dodaje obsługę map PostgreSQL do Postfiksa.
224 Summary: SQLite map support for Postfix
225 Summary(pl.UTF-8): Obsługa map SQLite dla Postfiksa
226 Group: Networking/Daemons/SMTP
227 Requires: %{name} = %{epoch}:%{version}-%{release}
229 %description dict-sqlite
230 This package provides support for SQLite maps in Postfix.
232 %description dict-sqlite -l pl.UTF-8
233 Ten pakiet dodaje obsługę map SQLite do Postfiksa.
236 Summary: qshape - Print Postfix queue domain and age distribution
237 Summary(pl.UTF-8): qshape - wypisywanie rozkładu domen i wieku z kolejki Postfiksa
238 Group: Networking/Daemons/SMTP
239 Requires: %{name} = %{epoch}:%{version}-%{release}
242 The qshape program helps the administrator understand the Postfix
243 queue message distribution in time and by sender domain or recipient
244 domain. The program needs read access to the queue directories and
245 queue files, so it must run as the superuser or the mail_owner
246 specified in main.cf (typically postfix).
248 %description qshape -l pl.UTF-8
249 Program qshape pomaga administratorowi zrozumieć rozkład kolejki
250 wiadomości Postfiksa w czasie i w zależności od domeny nadawcy lub
251 adresata. Program wymaga prawa odczytu do katalogów kolejki i plików
252 kolejki, więc musi być uruchamiany przez superużytkownika lub
253 użytkownika mail_owner podanego w main.cf (zwykle nazywającego się
256 %package -n monit-rc-%{name}
257 Summary: monit support for Postfix
258 Summary(pl.UTF-8): Wsparcie monita dla Postfiksa
259 Group: Applications/System
260 Requires: %{name} = %{epoch}:%{version}-%{release}
263 %description -n monit-rc-%{name}
264 monitrc file for monitoring Postfix.
266 %description -n monit-rc-%{name} -l pl.UTF-8
267 Plik monitrc do monitorowania serwera Postfix.
274 sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt.c
280 # export, as the same variables must be passed both to 'make makefiles' and 'make'
281 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"
282 export AUXLIBS="%{rpmldflags} -lsasl -lssl -lcrypto"
283 export AUXLIBS_CDB="%{?with_cdb:-lcdb}"
284 export AUXLIBS_LDAP="%{?with_ldap:-lldap -llber}"
285 export AUXLIBS_LMDB="%{?with_lmdb:-llmdb}"
286 export AUXLIBS_MYSQL="%{?with_mysql:-lmysqlclient}"
287 export AUXLIBS_PCRE="-lpcre"
288 export AUXLIBS_PGSQL="%{?with_pgsql:-lpq}"
289 export AUXLIBS_SQLITE="%{?with_sqlite:-lsqlite3}"
292 %{__make} makefiles \
295 daemon_directory="%{_libdir}/postfix/sbin" \
296 shlib_directory="%{_libdir}/postfix" \
297 manpage_directory="%{_mandir}"
301 OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
304 rm -rf $RPM_BUILD_ROOT
305 install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security,monit} \
306 $RPM_BUILD_ROOT%{_sysconfdir}/{postfix,sasl} \
307 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix/sbin,/usr/lib}\
308 $RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
309 $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public} \
310 $RPM_BUILD_ROOT%{_var}/lib/postfix
312 %{__make} non-interactive-package \
313 install_root=$RPM_BUILD_ROOT
315 cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
317 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
318 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
319 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix
320 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/postfix
321 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sasl/smtpd.conf
322 cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
323 cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.pl
324 cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.de
325 cp -a %{SOURCE9} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
326 install -p auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
327 install -p auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
328 install -p man/man1/qshape.1 $RPM_BUILD_ROOT%{_mandir}/man1
330 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
331 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
332 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
334 touch $RPM_BUILD_ROOT%{_sysconfdir}/postfix/\
335 {aliases,access,canonical,relocated,transport,virtual}{,.db}
337 touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
339 > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
341 %{__rm} -rf $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{makedefs.out,main.cf.{default,proto},master.cf.proto}
342 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{,TLS_}LICENSE
345 rm -rf $RPM_BUILD_ROOT
348 %groupadd -g 62 postfix
349 %groupadd -g 63 maildrop
350 %useradd -u 62 -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix
354 if ! grep -q "^postmaster:" %{_sysconfdir}/postfix/aliases; then
355 echo "Adding Entry for postmaster in %{_sysconfdir}/postfix/aliases" >&2
356 echo "postmaster: root" >>%{_sysconfdir}/postfix/aliases
358 if [ "$1" = "1" ]; then
359 # only on installation, not upgrade; set sane defaults
360 # postfix expects gethostname() to return FQDN, which is obviously wrong
361 if ! grep -qE "^my(domain|hostname)" %{_sysconfdir}/postfix/main.cf; then
362 domain=$(/bin/hostname -d 2>/dev/null)
363 [ -n "$domain" -a "$domain" != 'localdomain' ] && \
364 postconf -e mydomain="$domain"
367 %{_sbindir}/postfix upgrade-configuration
370 %{_bindir}/newaliases
371 /sbin/chkconfig --add postfix
372 %service postfix restart "Postfix Daemon"
375 if [ "$1" = "0" ]; then
376 %service postfix stop
377 /sbin/chkconfig --del postfix
382 if [ "$1" = "0" ]; then
383 %groupremove maildrop
388 %triggerun -- %{name} < 2:3.8.0-1
389 if [ $1 -le 1 ]; then
392 [ -f "/etc/postfix/main.cf" ] && sed -i -e 's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix/sbin,' /etc/postfix/main.cf 2>/dev/null || :
394 %triggerun -- %{name} < 2:3.4.6-2
395 if [ $1 -le 1 ]; then
398 [ -d /etc/postfix ] || mkdir /etc/postfix 2>/dev/null || :
399 for f in /etc/mail/{access,aliases,body_checks,bounce.cf.*,canonical,dynamicmaps.cf,generic,header_checks,main.cf,master.cf,postfix-files,relocated,transport,virtual}; do
401 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" "/etc/postfix/$f" 2>/dev/null || :
403 find /etc/postfix -type f 2>/dev/null | xargs sed -i -e 's|/etc/mail|/etc/postfix|g' 2>/dev/null
404 for f in /etc/mail/*.db; do
406 [ "$f" = "*.db" ] && break
407 [ -f "/etc/mail/$f" ] && rm "/etc/mail/$f" 2>/dev/null || :
409 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" /etc/postfix 2>/dev/null || :
410 if [ "$f" = "aliases" ]; then
411 /usr/sbin/postalias "/etc/postfix/aliases" 2>/dev/null || :
413 /usr/sbin/postmap "/etc/postfix/$f" 2>/dev/null || :
416 [ -n "$(find /etc/mail -type d -empty 2>/dev/null)" ] && rmdir /etc/mail 2>/dev/null || :
418 %triggerpostun -- %{name} < 2:3.8.0-1
420 echo "Warning! Option daemon_directory in file /etc/postfix/main.cf was set to"
421 echo "path %{_libdir}/postfix/sbin."
424 %triggerpostun -- %{name} < 2:3.4.6-2
426 echo "Warning! Configuration has been migrated to /etc/postfix."
427 echo "It may be required to move some files manually from /etc/mail"
428 echo "to /etc/postfix and/or run postmap on some files in /etc/postfix."
432 %defattr(644,root,root,755)
433 %doc html COMPATIBILITY HISTORY LICENSE RELEASE_NOTES* TLS_*
434 %doc README_FILES/*README
435 %doc examples/smtpd-policy
436 %dir %{_sysconfdir}/postfix
437 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/access
438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/aliases
439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.default
440 %lang(de) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.de
441 %lang(pl) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.pl
442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/canonical
443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/generic
444 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/regexp_table
445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/relocated
446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/transport
447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/virtual
448 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/header_checks
449 #%ghost %{_sysconfdir}/postfix/*.db
450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/dynamicmaps.cf
451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/main.cf
452 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/master.cf
453 %{_sysconfdir}/postfix/postfix-files
454 %attr(740,root,root) /etc/cron.daily/postfix
455 %attr(754,root,root) /etc/rc.d/init.d/postfix
456 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postfix
457 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
458 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
459 %{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
460 %attr(755,root,root) %{_bindir}/mailq
461 %attr(755,root,root) %{_bindir}/newaliases
462 %attr(755,root,root) %{_bindir}/rmail
463 %attr(755,root,root) %{_sbindir}/postalias
464 %attr(755,root,root) %{_sbindir}/postcat
465 %attr(755,root,root) %{_sbindir}/postconf
466 %attr(2755,root,maildrop) %{_sbindir}/postdrop
467 %attr(755,root,root) %{_sbindir}/postfix
468 %attr(755,root,root) %{_sbindir}/postkick
469 %attr(755,root,root) %{_sbindir}/postlock
470 %attr(755,root,root) %{_sbindir}/postlog
471 %attr(755,root,root) %{_sbindir}/postmap
472 %attr(755,root,root) %{_sbindir}/postmulti
473 %attr(2755,root,maildrop) %{_sbindir}/postqueue
474 %attr(755,root,root) %{_sbindir}/postsuper
475 %attr(755,root,root) %{_sbindir}/sendmail
476 %attr(755,root,root) /usr/lib/sendmail
477 %dir %{_libdir}/postfix
478 %attr(755,root,root) %{_libdir}/postfix/libpostfix-dns.so
479 %attr(755,root,root) %{_libdir}/postfix/libpostfix-global.so
480 %attr(755,root,root) %{_libdir}/postfix/libpostfix-master.so
481 %attr(755,root,root) %{_libdir}/postfix/libpostfix-tls.so
482 %attr(755,root,root) %{_libdir}/postfix/libpostfix-util.so
483 %dir %{_libdir}/postfix/sbin
484 %attr(755,root,root) %{_libdir}/postfix/sbin/anvil
485 %attr(755,root,root) %{_libdir}/postfix/sbin/bounce
486 %attr(755,root,root) %{_libdir}/postfix/sbin/cleanup
487 %attr(755,root,root) %{_libdir}/postfix/sbin/discard
488 %attr(755,root,root) %{_libdir}/postfix/sbin/dnsblog
489 %attr(755,root,root) %{_libdir}/postfix/sbin/error
490 %attr(755,root,root) %{_libdir}/postfix/sbin/flush
491 %attr(755,root,root) %{_libdir}/postfix/sbin/lmtp
492 %attr(755,root,root) %{_libdir}/postfix/sbin/local
493 %attr(755,root,root) %{_libdir}/postfix/sbin/master
494 %attr(755,root,root) %{_libdir}/postfix/sbin/nqmgr
495 %attr(755,root,root) %{_libdir}/postfix/sbin/oqmgr
496 %attr(755,root,root) %{_libdir}/postfix/sbin/pickup
497 %attr(755,root,root) %{_libdir}/postfix/sbin/pipe
498 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-script
499 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-tls-script
500 %attr(755,root,root) %{_libdir}/postfix/sbin/postfix-wrapper
501 %attr(755,root,root) %{_libdir}/postfix/sbin/post-install
502 %attr(755,root,root) %{_libdir}/postfix/sbin/postlogd
503 %attr(755,root,root) %{_libdir}/postfix/sbin/postmulti-script
504 %attr(755,root,root) %{_libdir}/postfix/sbin/postscreen
505 %attr(755,root,root) %{_libdir}/postfix/sbin/proxymap
506 %attr(755,root,root) %{_libdir}/postfix/sbin/qmgr
507 %attr(755,root,root) %{_libdir}/postfix/sbin/qmqpd
508 %attr(755,root,root) %{_libdir}/postfix/sbin/scache
509 %attr(755,root,root) %{_libdir}/postfix/sbin/showq
510 %attr(755,root,root) %{_libdir}/postfix/sbin/smtp
511 %attr(755,root,root) %{_libdir}/postfix/sbin/smtpd
512 %attr(755,root,root) %{_libdir}/postfix/sbin/spawn
513 %attr(755,root,root) %{_libdir}/postfix/sbin/tlsmgr
514 %attr(755,root,root) %{_libdir}/postfix/sbin/tlsproxy
515 %attr(755,root,root) %{_libdir}/postfix/sbin/trivial-rewrite
516 %attr(755,root,root) %{_libdir}/postfix/sbin/verify
517 %attr(755,root,root) %{_libdir}/postfix/sbin/virtual
518 %attr(755,root,root) %dir %{_var}/spool/postfix
519 %attr(700,postfix,root) %dir %{_var}/spool/postfix/active
520 %attr(700,postfix,root) %dir %{_var}/spool/postfix/bounce
521 %attr(700,postfix,root) %dir %{_var}/spool/postfix/corrupt
522 %attr(700,postfix,root) %dir %{_var}/spool/postfix/defer
523 %attr(700,postfix,root) %dir %{_var}/spool/postfix/deferred
524 %attr(700,postfix,root) %dir %{_var}/spool/postfix/incoming
525 %attr(1730,postfix,maildrop) %dir %{_var}/spool/postfix/maildrop
526 %attr(755,root,root) %dir %{_var}/spool/postfix/pid
527 %attr(700,postfix,root) %dir %{_var}/spool/postfix/private
528 %attr(710,postfix,maildrop) %dir %{_var}/spool/postfix/public
529 %attr(700,postfix,root) %dir %{_var}/spool/postfix/saved
530 %attr(644,postfix,root) %{_var}/spool/postfix/.nofinger
531 %attr(700,postfix,root) %{_var}/lib/postfix
532 %{_mandir}/man1/mailq.1*
533 %{_mandir}/man1/newaliases.1*
534 %{_mandir}/man1/post*.1*
535 %{_mandir}/man1/sendmail.1*
536 %{_mandir}/man5/access.5*
537 %{_mandir}/man5/aliases.5*
538 %{_mandir}/man5/body_checks.5*
539 %{_mandir}/man5/bounce.5*
540 %{_mandir}/man5/canonical.5*
541 %{_mandir}/man5/cidr_table.5*
542 %{_mandir}/man5/generic.5*
543 %{_mandir}/man5/header_checks.5*
544 %{_mandir}/man5/lmdb_table.5*
545 %{_mandir}/man5/master.5*
546 %{_mandir}/man5/memcache_table.5*
547 %{_mandir}/man5/nisplus_table.5*
548 %{_mandir}/man5/postconf.5*
549 %{_mandir}/man5/postfix-wrapper.5*
550 %{_mandir}/man5/regexp_table.5*
551 %{_mandir}/man5/relocated.5*
552 %{_mandir}/man5/socketmap_table.5*
553 %{_mandir}/man5/tcp_table.5*
554 %{_mandir}/man5/transport.5*
555 %{_mandir}/man5/virtual.5*
559 %defattr(644,root,root,755)
560 %{_includedir}/postfix
564 %attr(755,root,root) %{_libdir}/postfix/postfix-cdb.so
569 %defattr(644,root,root,755)
570 %attr(755,root,root) %{_libdir}/postfix/postfix-ldap.so
571 %{_mandir}/man5/ldap_table.5*
576 %defattr(644,root,root,755)
577 %attr(755,root,root) %{_libdir}/postfix/postfix-lmdb.so
578 %{_mandir}/man5/lmdb_table.5*
583 %defattr(644,root,root,755)
584 %attr(755,root,root) %{_libdir}/postfix/postfix-mysql.so
585 %{_mandir}/man5/mysql_table.5*
589 %defattr(644,root,root,755)
590 %attr(755,root,root) %{_libdir}/postfix/postfix-pcre.so
591 %{_mandir}/man5/pcre_table.5*
595 %defattr(644,root,root,755)
596 %attr(755,root,root) %{_libdir}/postfix/postfix-pgsql.so
597 %{_mandir}/man5/pgsql_table.5*
602 %defattr(644,root,root,755)
603 %attr(755,root,root) %{_libdir}/postfix/postfix-sqlite.so
604 %{_mandir}/man5/sqlite_table.5*
608 %defattr(644,root,root,755)
609 %attr(755,root,root) %{_bindir}/qshape
610 %{_mandir}/man1/qshape.1*
612 %files -n monit-rc-%{name}
613 %defattr(644,root,root,755)
614 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc