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 epoll # disable epoll for 2.4 kernels
12 Summary: Postfix Mail Transport Agent
13 Summary(cs.UTF-8): Postfix - program pro přepravu pošty (MTA)
14 Summary(es.UTF-8): Postfix - Un MTA (Mail Transport Agent) de alto desempeño
15 Summary(fr.UTF-8): Agent de transport de courrier Postfix
16 Summary(pl.UTF-8): Serwer SMTP Postfix
17 Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho
18 Summary(sk.UTF-8): Agent prenosu pošty Postfix
23 License: distributable
24 Group: Networking/Daemons/SMTP
25 Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
26 # Source0-md5: b29ab85e8f6ef7fae132b004e777671b
27 Source1: %{name}.aliases
30 Source4: %{name}.sysconfig
33 Source7: %{name}-bounce.cf.pl
34 # http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
35 Source8: %{name}-bounce.cf.de
36 Source9: %{name}.monitrc
37 # -ource11-md5: d46103195b43ec5784ea2c166b238f71
38 Patch0: %{name}-config.patch
39 Patch1: %{name}-conf_msg.patch
40 Patch2: %{name}-master.cf_cyrus.patch
41 Patch3: %{name}-conf.patch
42 Patch4: %{name}-link.patch
43 Patch5: %{name}-scache_clnt.patch
44 Patch6: glibc-2.30.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_mysql:BuildRequires: mysql-devel}
51 %{?with_ldap:BuildRequires: openldap-devel >= 2.0.12}
52 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7l}
53 BuildRequires: pcre-devel
54 BuildRequires: perl-base
55 %{?with_pgsql:BuildRequires: postgresql-devel}
56 BuildRequires: rpm >= 4.4.9-56
57 BuildRequires: rpmbuild(macros) >= 1.644
58 BuildRequires: sed >= 4.0
59 %{?with_sqlite:BuildRequires: sqlite3-devel}
60 %{?with_cdb:BuildRequires: tinycdb-devel}
61 %{?with_mysql:BuildRequires: zlib-devel}
62 Requires(post): /bin/hostname
63 Requires(post,postun): /sbin/ldconfig
64 Requires(post,preun): /sbin/chkconfig
65 Requires(postun): /usr/sbin/groupdel
66 Requires(postun): /usr/sbin/userdel
67 Requires(pre): /bin/id
68 Requires(pre): /usr/bin/getgid
69 Requires(pre): /usr/sbin/groupadd
70 Requires(pre): /usr/sbin/useradd
71 Requires: /sbin/chkconfig
76 %{?with_cdb:Requires:tinycdb}
77 Suggests: cyrus-sasl-saslauthd
78 Provides: group(postfix)
80 Provides: user(postfix)
82 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 Postfix is attempt to provide an alternative to the widely-used
86 Sendmail program. Postfix attempts to be fast, easy to administer, and
87 hopefully secure, while at the same time being sendmail compatible
88 enough to not upset your users. This version has IPv6 support.
90 %description -l es.UTF-8
91 Postfix es una alternativa para el mundialmente utilizado sendmail. Si
92 desea tener un servidor SMTP *rápido*, debe instalar este paquete.
94 %description -l fr.UTF-8
95 Postfix (voir http://www.postfix.org/) se veut une alternative à
96 sendmail, responsable de l'acheminement de 70% des courriers
97 électroniques sur Internet. IBM en a suppotré le développement, mais
98 ne contrôle pas son évolution. Le but est d'installer Postfix sur le
99 plus grand nombre de systèmes possible. Dans cette optique, il a été
100 écrit pour être totalement sous le contrôle de l'utilisateur.
102 %description -l it.UTF-8
103 Postfix (http://www.postfix.org/) e' un'alternativa al programma
104 sendmail utilizzato per la gestione del 70 per cento della posta
107 Seppur IBM supporti lo sviluppo di Postfix, non controlla la sua
110 Consultate la pagine web http://www.moongroup.com/how-to.phtml nella
111 quale troverete le indicazioni per una corretta installazione e
112 configurazione di questo programma.
114 %description -l pl.UTF-8
115 Postfix jest próbą dostarczenia alternatywnego MTA w stosunku do
116 szeroko używanego sendmaila. Postfix w zamierzeniu ma być szybki,
117 łatwy w administrowaniu, bezpieczny oraz ma być na tyle kompatybilny z
118 sendmailem by nie denerwować użytkowników. Ta wersja obsługuje IPv6.
120 %description -l pt_BR.UTF-8
121 O Postfix é uma alternativa para o mundialmente utilizado sendmail. Se
122 você deseja um servidor SMTP *rápido*, instale este pacote.
124 %description -l sk.UTF-8
125 Postfix (pozri http://www.postfix.org/) má za cieľ byť alternatívou k
126 široko rozšírenému programu sendmail, zodpovednému za 70% všetkej
127 elektronickej pošty doručenej na Internete.
129 Aj keď IBM podporovala vývoj Postfixu, zdržiava sa vplyvu na jeho
130 vývoj. Cieľom je inštalácia Postfixu na čo najväčšom počte systémov.
131 Do tohoto momentu je softvér poskytovaný bez ovplyvňovania, takže sa
132 môže vyvíjať podľa jeho používateľov.
134 Určite si prečítajte http://www.moongroup.com/how-to.phtml, kde sú
135 popísané kroky potrebné pred a po inštalácii Postfixu.
138 Summary: Postfix loadable modules development package
139 Summary(pl.UTF-8): Pakiet dla programistów ładowanych modułów do postfiksa
140 Group: Development/Libraries
141 Requires: %{name} = %{epoch}:%{version}-%{release}
144 Header files to build additional map types for Postfix.
146 %description devel -l pl.UTF-8
147 Pliki nagłówkowe do tworzenia dodatkowych typów map dla Postfiksa.
150 Summary: LDAP map support for Postfix
151 Summary(pl.UTF-8): Obsługa map LDAP dla Postfiksa
152 Group: Networking/Daemons/SMTP
153 Requires: %{name} = %{epoch}:%{version}-%{release}
154 Requires: openldap >= 2.3.6
156 %description dict-ldap
157 This package provides support for LDAP maps in Postfix.
159 %description dict-ldap -l pl.UTF-8
160 Ten pakiet dodaje obsługę map LDAP do Postfiksa.
163 Summary: MySQL map support for Postfix
164 Summary(pl.UTF-8): Obsługa map MySQL dla Postfiksa
165 Group: Networking/Daemons/SMTP
166 Requires: %{name} = %{epoch}:%{version}-%{release}
168 %description dict-mysql
169 This package provides support for MySQL maps in Postfix.
171 %description dict-mysql -l pl.UTF-8
172 Ten pakiet dodaje obsługę map MySQL do Postfiksa.
175 Summary: PCRE map support for Postfix
176 Summary(pl.UTF-8): Obsługa map PCRE dla Postfiksa
177 Group: Networking/Daemons/SMTP
178 Requires: %{name} = %{epoch}:%{version}-%{release}
180 %description dict-pcre
181 This package provides support for PCRE maps in Postfix.
183 %description dict-pcre -l pl.UTF-8
184 Ten pakiet dodaje obsługę map PCRE do Postfiksa.
187 Summary: PostgreSQL map support for Postfix
188 Summary(pl.UTF-8): Obsługa map PostgreSQL dla Postfiksa
189 Group: Networking/Daemons/SMTP
190 Requires: %{name} = %{epoch}:%{version}-%{release}
192 %description dict-pgsql
193 This package provides support for PostgreSQL maps in Postfix.
195 %description dict-pgsql -l pl.UTF-8
196 Ten pakiet dodaje obsługę map PostgreSQL do Postfiksa.
199 Summary: SQLite map support for Postfix
200 Summary(pl.UTF-8): Obsługa map SQLite dla Postfiksa
201 Group: Networking/Daemons/SMTP
202 Requires: %{name} = %{epoch}:%{version}-%{release}
204 %description dict-sqlite
205 This package provides support for SQLite maps in Postfix.
207 %description dict-sqlite -l pl.UTF-8
208 Ten pakiet dodaje obsługę map SQLite do Postfiksa.
211 Summary: qshape - Print Postfix queue domain and age distribution
212 Summary(pl.UTF-8): qshape - wypisywanie rozkładu domen i wieku z kolejki Postfiksa
213 Group: Networking/Daemons/SMTP
214 Requires: %{name} = %{epoch}:%{version}-%{release}
217 The qshape program helps the administrator understand the Postfix
218 queue message distribution in time and by sender domain or recipient
219 domain. The program needs read access to the queue directories and
220 queue files, so it must run as the superuser or the mail_owner
221 specified in main.cf (typically postfix).
223 %description qshape -l pl.UTF-8
224 Program qshape pomaga administratorowi zrozumieć rozkład kolejki
225 wiadomości Postfiksa w czasie i w zależności od domeny nadawcy lub
226 adresata. Program wymaga prawa odczytu do katalogów kolejki i plików
227 kolejki, więc musi być uruchamiany przez superużytkownika lub
228 użytkownika mail_owner podanego w main.cf (zwykle nazywającego się
231 %package -n monit-rc-%{name}
232 Summary: monit support for Postfix
233 Summary(pl.UTF-8): Wsparcie monita dla Postfiksa
234 Group: Applications/System
235 Requires: %{name} = %{epoch}:%{version}-%{release}
238 %description -n monit-rc-%{name}
239 monitrc file for monitoring Postfix.
241 %description -n monit-rc-%{name} -l pl.UTF-8
242 Plik monitrc do monitorowania serwera Postfix.
249 sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt.c
256 %{__make} -f Makefile.init makefiles
263 shlib_directory=%{_libdir}/postfix \
265 OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" \
266 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} %{?with_cdb:-DHAS_CDB} %{?with_sqlite:-DHAS_SQLITE}" \
267 %{?with_cdb:AUXLIBS_CDB="-lcdb"} \
268 %{?with_ldap:AUXLIBS_LDAP="-lldap -llber"} \
269 %{?with_mysql:AUXLIBS_MYSQL="-lmysqlclient"} \
270 AUXLIBS_PCRE="-lpcre" \
271 %{?with_pgsql:AUXLIBS_PGSQL="-lpq"} \
272 %{?with_sqlite:AUXLIBS_SQLITE="-lsqlite3 -lpthread"} \
273 AUXLIBS="%{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto}"
276 rm -rf $RPM_BUILD_ROOT
277 install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security,monit} \
278 $RPM_BUILD_ROOT%{_sysconfdir}/{postfix,sasl} \
279 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,/usr/lib}\
280 $RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
281 $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public} \
282 $RPM_BUILD_ROOT%{_var}/lib/postfix
284 %{__rm} -f html/Makefile.in conf/{LICENSE,main.cf.default}
286 install -p bin/* $RPM_BUILD_ROOT%{_sbindir}
287 install -p libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
288 ln $RPM_BUILD_ROOT%{_libdir}/postfix/smtp $RPM_BUILD_ROOT%{_libdir}/postfix/lmtp
289 ln $RPM_BUILD_ROOT%{_libdir}/postfix/qmgr $RPM_BUILD_ROOT%{_libdir}/postfix/nqmgr
290 cp -a conf/* $RPM_BUILD_ROOT%{_sysconfdir}/postfix
291 sed -e's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix,' \
292 conf/main.cf > $RPM_BUILD_ROOT%{_sysconfdir}/postfix/main.cf
294 sed -e 's,${LIB_PREFIX},%{_libdir}/postfix/postfix-,g;s,${LIB_SUFFIX},.so,g' \
295 conf/dynamicmaps.cf > $RPM_BUILD_ROOT%{_sysconfdir}/postfix/dynamicmaps.cf
297 for f in dns global master util tls; do
298 cp -a lib/libpostfix-${f}.so $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so.1
299 ln -sf lib${f}.so.1 $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so
301 for f in cdb mysql ldap pcre pgsql sqlite; do
302 install -p lib/postfix-${f}.so $RPM_BUILD_ROOT%{_libdir}/postfix
304 cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
306 cp -a man/man* $RPM_BUILD_ROOT%{_mandir}
308 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
309 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
310 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix
311 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/postfix
312 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sasl/smtpd.conf
313 cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
314 cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.pl
315 cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.de
316 cp -a %{SOURCE9} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
317 install -p auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
318 install -p auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
320 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
321 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
322 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
324 touch $RPM_BUILD_ROOT%{_sysconfdir}/postfix/\
325 {aliases,access,canonical,relocated,transport,virtual}{,.db}
327 touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
329 > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
331 %{__rm} -rf $RPM_BUILD_ROOT%{_sysconfdir}/postfix/makedefs.out
332 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/TLS_LICENSE
334 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{postfix-script,postfix-tls-script,postfix-wrapper,post-install,postmulti-script}
337 rm -rf $RPM_BUILD_ROOT
340 %groupadd -g 62 postfix
341 %groupadd -g 63 maildrop
342 %useradd -u 62 -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix
346 if ! grep -q "^postmaster:" %{_sysconfdir}/postfix/aliases; then
347 echo "Adding Entry for postmaster in %{_sysconfdir}/postfix/aliases" >&2
348 echo "postmaster: root" >>%{_sysconfdir}/postfix/aliases
350 if [ "$1" = "1" ]; then
351 # only on installation, not upgrade; set sane defaults
352 # postfix expects gethostname() to return FQDN, which is obviously wrong
353 if ! grep -qE "^my(domain|hostname)" %{_sysconfdir}/postfix/main.cf; then
354 domain=$(/bin/hostname -d 2>/dev/null)
355 [ -n "$domain" -a "$domain" != 'localdomain' ] && \
356 postconf -e mydomain="$domain"
359 %{_sbindir}/postfix upgrade-configuration
362 %{_bindir}/newaliases
363 /sbin/chkconfig --add postfix
364 %service postfix restart "Postfix Daemon"
367 if [ "$1" = "0" ]; then
368 %service postfix stop
369 /sbin/chkconfig --del postfix
374 if [ "$1" = "0" ]; then
375 %groupremove maildrop
380 %triggerun -- %{name} < 2:3.4.6-2
381 if [ $1 -le 1 ]; then
384 [ -d /etc/postfix ] || mkdir /etc/postfix 2>/dev/null || :
385 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
387 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" "/etc/postfix/$f" 2>/dev/null || :
389 find /etc/postfix -type f 2>/dev/null | xargs sed -i -e 's|/etc/mail|/etc/postfix|g' 2>/dev/null
390 for f in /etc/mail/*.db; do
392 [ "$f" = "*.db" ] && break
393 [ -f "/etc/mail/$f" ] && rm "/etc/mail/$f" 2>/dev/null || :
395 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" /etc/postfix 2>/dev/null || :
396 if [ "$f" = "aliases" ]; then
397 /usr/sbin/postalias "/etc/postfix/aliases" 2>/dev/null || :
399 /usr/sbin/postmap "/etc/postfix/$f" 2>/dev/null || :
402 [ -n "$(find /etc/mail -type d -empty 2>/dev/null)" ] && rmdir /etc/mail 2>/dev/null || :
404 %triggerpostun -- %{name} < 2:3.4.6-2
406 echo "Warning! Configuration has been migrated to /etc/postfix."
407 echo "It may be required to move some files manually from /etc/mail"
408 echo "to /etc/postfix and/or run postmap on some files in /etc/postfix."
412 %defattr(644,root,root,755)
413 %doc html COMPATIBILITY HISTORY LICENSE RELEASE_NOTES* TLS_*
414 %doc README_FILES/*README
415 %doc examples/smtpd-policy
416 %dir %{_sysconfdir}/postfix
417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/access
418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/aliases
419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.default
420 %lang(de) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.de
421 %lang(pl) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.pl
422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/canonical
423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/generic
424 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/regexp_table
425 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/relocated
426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/transport
427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/virtual
428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/header_checks
429 #%ghost %{_sysconfdir}/postfix/*.db
430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/dynamicmaps.cf
431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/main.cf
432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/master.cf
433 %{_sysconfdir}/postfix/postfix-files
434 %attr(740,root,root) /etc/cron.daily/postfix
435 %attr(754,root,root) /etc/rc.d/init.d/postfix
436 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postfix
437 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
438 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
439 %{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
440 %attr(755,root,root) %{_libdir}/libpostfix-*.so.*
441 %attr(755,root,root) %{_bindir}/mailq
442 %attr(755,root,root) %{_bindir}/newaliases
443 %attr(755,root,root) %{_bindir}/rmail
444 %attr(755,root,root) %{_sbindir}/s*
445 %attr(755,root,root) %{_sbindir}/postfix
446 %attr(755,root,root) %{_sbindir}/postalias
447 %attr(2755,root,maildrop) %{_sbindir}/postdrop
448 %attr(755,root,root) %{_sbindir}/postkick
449 %attr(755,root,root) %{_sbindir}/postl*
450 %attr(755,root,root) %{_sbindir}/postc*
451 %attr(755,root,root) %{_sbindir}/postmap
452 %attr(755,root,root) %{_sbindir}/postmulti
453 %attr(2755,root,maildrop) %{_sbindir}/postqueue
454 %attr(755,root,root) %{_sbindir}/postsuper
455 %attr(755,root,root) %{_sbindir}/posttls-finger
456 %attr(755,root,root) %{_sbindir}/qmqp-sink
457 %attr(755,root,root) %{_sbindir}/qmqp-source
458 %attr(755,root,root) /usr/lib/sendmail
459 %dir %{_libdir}/postfix
460 %attr(755,root,root) %{_libdir}/postfix/[!d]*
461 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-ldap.so
462 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-mysql.so
463 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pcre.so
464 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pgsql.so
465 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-sqlite.so
466 %attr(755,root,root) %{_libdir}/postfix/discard
467 %attr(755,root,root) %{_libdir}/postfix/dnsblog
468 %attr(755,root,root) %dir %{_var}/spool/postfix
469 %attr(700,postfix,root) %dir %{_var}/spool/postfix/active
470 %attr(700,postfix,root) %dir %{_var}/spool/postfix/bounce
471 %attr(700,postfix,root) %dir %{_var}/spool/postfix/corrupt
472 %attr(700,postfix,root) %dir %{_var}/spool/postfix/defer
473 %attr(700,postfix,root) %dir %{_var}/spool/postfix/deferred
474 %attr(700,postfix,root) %dir %{_var}/spool/postfix/incoming
475 %attr(1730,postfix,maildrop) %dir %{_var}/spool/postfix/maildrop
476 %attr(755,root,root) %dir %{_var}/spool/postfix/pid
477 %attr(700,postfix,root) %dir %{_var}/spool/postfix/private
478 %attr(710,postfix,maildrop) %dir %{_var}/spool/postfix/public
479 %attr(700,postfix,root) %dir %{_var}/spool/postfix/saved
480 %attr(644,postfix,root) %{_var}/spool/postfix/.nofinger
481 %attr(700,postfix,root) %{_var}/lib/postfix
482 %{_mandir}/man1/mailq.1*
483 %{_mandir}/man1/newaliases.1*
484 %{_mandir}/man1/post*.1*
485 %{_mandir}/man1/qmqp-*.1*
486 %{_mandir}/man1/sendmail.1*
487 %{_mandir}/man1/smtp-*.1*
488 %{_mandir}/man5/access.5*
489 %{_mandir}/man5/aliases.5*
490 %{_mandir}/man5/body_checks.5*
491 %{_mandir}/man5/bounce.5*
492 %{_mandir}/man5/canonical.5*
493 %{_mandir}/man5/cidr_table.5*
494 %{_mandir}/man5/generic.5*
495 %{_mandir}/man5/header_checks.5*
496 %{_mandir}/man5/lmdb_table.5*
497 %{_mandir}/man5/master.5*
498 %{_mandir}/man5/memcache_table.5*
499 %{_mandir}/man5/nisplus_table.5*
500 %{_mandir}/man5/postconf.5*
501 %{_mandir}/man5/postfix-wrapper.5*
502 %{_mandir}/man5/regexp_table.5*
503 %{_mandir}/man5/relocated.5*
504 %{_mandir}/man5/socketmap_table.5*
505 %{_mandir}/man5/tcp_table.5*
506 %{_mandir}/man5/transport.5*
507 %{_mandir}/man5/virtual.5*
511 %defattr(644,root,root,755)
512 %attr(755,root,root) %{_libdir}/libpostfix-*.so
513 %{_includedir}/postfix
517 %defattr(644,root,root,755)
518 %attr(755,root,root) %{_libdir}/postfix/postfix-ldap.so
519 %{_mandir}/man5/ldap_table.5*
524 %defattr(644,root,root,755)
525 %attr(755,root,root) %{_libdir}/postfix/postfix-mysql.so
526 %{_mandir}/man5/mysql_table.5*
530 %defattr(644,root,root,755)
531 %attr(755,root,root) %{_libdir}/postfix/postfix-pcre.so
532 %{_mandir}/man5/pcre_table.5*
536 %defattr(644,root,root,755)
537 %attr(755,root,root) %{_libdir}/postfix/postfix-pgsql.so
538 %{_mandir}/man5/pgsql_table.5*
543 %defattr(644,root,root,755)
544 %attr(755,root,root) %{_libdir}/postfix/postfix-sqlite.so
545 %{_mandir}/man5/sqlite_table.5*
549 %defattr(644,root,root,755)
550 %attr(755,root,root) %{_bindir}/qshape
551 %{_mandir}/man1/qshape.1*
553 %files -n monit-rc-%{name}
554 %defattr(644,root,root,755)
555 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc