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: e970e8723e1b114643dc37e436bd5937
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 URL: http://www.postfix.org/
45 %{?with_sasl:BuildRequires: cyrus-sasl-devel}
46 BuildRequires: db-devel
47 # getifaddrs() with IPv6 support
48 BuildRequires: glibc-devel >= 6:2.3.4
49 BuildRequires: libnsl-devel >= 1.3.0
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
255 %{__make} -f Makefile.init makefiles
262 shlib_directory=%{_libdir}/postfix \
264 OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" \
265 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}" \
266 %{?with_cdb:AUXLIBS_CDB="-lcdb"} \
267 %{?with_ldap:AUXLIBS_LDAP="-lldap -llber"} \
268 %{?with_mysql:AUXLIBS_MYSQL="-lmysqlclient"} \
269 AUXLIBS_PCRE="-lpcre" \
270 %{?with_pgsql:AUXLIBS_PGSQL="-lpq"} \
271 %{?with_sqlite:AUXLIBS_SQLITE="-lsqlite3 -lpthread"} \
272 AUXLIBS="%{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto}"
275 rm -rf $RPM_BUILD_ROOT
276 install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security,monit} \
277 $RPM_BUILD_ROOT%{_sysconfdir}/{postfix,sasl} \
278 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,/usr/lib}\
279 $RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
280 $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public} \
281 $RPM_BUILD_ROOT%{_var}/lib/postfix
283 %{__rm} -f html/Makefile.in conf/{LICENSE,main.cf.default}
285 install -p bin/* $RPM_BUILD_ROOT%{_sbindir}
286 install -p libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
287 ln $RPM_BUILD_ROOT%{_libdir}/postfix/smtp $RPM_BUILD_ROOT%{_libdir}/postfix/lmtp
288 ln $RPM_BUILD_ROOT%{_libdir}/postfix/qmgr $RPM_BUILD_ROOT%{_libdir}/postfix/nqmgr
289 cp -a conf/* $RPM_BUILD_ROOT%{_sysconfdir}/postfix
290 sed -e's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix,' \
291 conf/main.cf > $RPM_BUILD_ROOT%{_sysconfdir}/postfix/main.cf
293 sed -e 's,${LIB_PREFIX},%{_libdir}/postfix/postfix-,g;s,${LIB_SUFFIX},.so,g' \
294 conf/dynamicmaps.cf > $RPM_BUILD_ROOT%{_sysconfdir}/postfix/dynamicmaps.cf
296 for f in dns global master util tls; do
297 cp -a lib/libpostfix-${f}.so $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so.1
298 ln -sf lib${f}.so.1 $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so
300 for f in cdb mysql ldap pcre pgsql sqlite; do
301 install -p lib/postfix-${f}.so $RPM_BUILD_ROOT%{_libdir}/postfix
303 cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
305 cp -a man/man* $RPM_BUILD_ROOT%{_mandir}
307 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
308 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
309 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix
310 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/postfix
311 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sasl/smtpd.conf
312 cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
313 cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.pl
314 cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/bounce.cf.de
315 cp -a %{SOURCE9} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
316 install -p auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
317 install -p auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
319 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
320 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
321 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
323 touch $RPM_BUILD_ROOT%{_sysconfdir}/postfix/\
324 {aliases,access,canonical,relocated,transport,virtual}{,.db}
326 touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
328 > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
330 %{__rm} -rf $RPM_BUILD_ROOT%{_sysconfdir}/postfix/makedefs.out
331 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/TLS_LICENSE
333 %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/postfix/{postfix-script,postfix-tls-script,postfix-wrapper,post-install,postmulti-script}
336 rm -rf $RPM_BUILD_ROOT
339 %groupadd -g 62 postfix
340 %groupadd -g 63 maildrop
341 %useradd -u 62 -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix
345 if ! grep -q "^postmaster:" %{_sysconfdir}/postfix/aliases; then
346 echo "Adding Entry for postmaster in %{_sysconfdir}/postfix/aliases" >&2
347 echo "postmaster: root" >>%{_sysconfdir}/postfix/aliases
349 if [ "$1" = "1" ]; then
350 # only on installation, not upgrade; set sane defaults
351 # postfix expects gethostname() to return FQDN, which is obviously wrong
352 if ! grep -qE "^my(domain|hostname)" %{_sysconfdir}/postfix/main.cf; then
353 domain=$(/bin/hostname -d 2>/dev/null)
354 [ -n "$domain" -a "$domain" != 'localdomain' ] && \
355 postconf -e mydomain="$domain"
358 %{_sbindir}/postfix upgrade-configuration
361 %{_bindir}/newaliases
362 /sbin/chkconfig --add postfix
363 %service postfix restart "Postfix Daemon"
366 if [ "$1" = "0" ]; then
367 %service postfix stop
368 /sbin/chkconfig --del postfix
373 if [ "$1" = "0" ]; then
374 %groupremove maildrop
379 %triggerun -- %{name} < 2:3.4.6-2
380 if [ $1 -le 1 ]; then
383 [ -d /etc/postfix ] || mkdir /etc/postfix 2>/dev/null || :
384 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
386 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" "/etc/postfix/$f" 2>/dev/null || :
388 find /etc/postfix -type f 2>/dev/null | xargs sed -i -e 's|/etc/mail|/etc/postfix|g' 2>/dev/null
389 for f in /etc/mail/*.db; do
391 [ "$f" = "*.db" ] && break
392 [ -f "/etc/mail/$f" ] && rm "/etc/mail/$f" 2>/dev/null || :
394 [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" /etc/postfix 2>/dev/null || :
395 if [ "$f" = "aliases" ]; then
396 /usr/sbin/postalias "/etc/postfix/aliases" 2>/dev/null || :
398 /usr/sbin/postmap "/etc/postfix/$f" 2>/dev/null || :
401 [ -n "$(find /etc/mail -type d -empty 2>/dev/null)" ] && rmdir /etc/mail 2>/dev/null || :
403 %triggerpostun -- %{name} < 2:3.4.6-2
405 echo "Warning! Configuration has been migrated to /etc/postfix."
406 echo "It may be required to move some files manually from /etc/mail"
407 echo "to /etc/postfix and/or run postmap on some files in /etc/postfix."
411 %defattr(644,root,root,755)
412 %doc html COMPATIBILITY HISTORY LICENSE RELEASE_NOTES* TLS_*
413 %doc README_FILES/*README
414 %doc examples/smtpd-policy
415 %dir %{_sysconfdir}/postfix
416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/access
417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/aliases
418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.default
419 %lang(de) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.de
420 %lang(pl) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/bounce.cf.pl
421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/canonical
422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/generic
423 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/regexp_table
424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/relocated
425 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/transport
426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/virtual
427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/header_checks
428 #%ghost %{_sysconfdir}/postfix/*.db
429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/dynamicmaps.cf
430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/main.cf
431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/postfix/master.cf
432 %{_sysconfdir}/postfix/postfix-files
433 %attr(740,root,root) /etc/cron.daily/postfix
434 %attr(754,root,root) /etc/rc.d/init.d/postfix
435 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postfix
436 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
437 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
438 %{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
439 %attr(755,root,root) %{_libdir}/libpostfix-*.so.*
440 %attr(755,root,root) %{_bindir}/mailq
441 %attr(755,root,root) %{_bindir}/newaliases
442 %attr(755,root,root) %{_bindir}/rmail
443 %attr(755,root,root) %{_sbindir}/s*
444 %attr(755,root,root) %{_sbindir}/postfix
445 %attr(755,root,root) %{_sbindir}/postalias
446 %attr(2755,root,maildrop) %{_sbindir}/postdrop
447 %attr(755,root,root) %{_sbindir}/postkick
448 %attr(755,root,root) %{_sbindir}/postl*
449 %attr(755,root,root) %{_sbindir}/postc*
450 %attr(755,root,root) %{_sbindir}/postmap
451 %attr(755,root,root) %{_sbindir}/postmulti
452 %attr(2755,root,maildrop) %{_sbindir}/postqueue
453 %attr(755,root,root) %{_sbindir}/postsuper
454 %attr(755,root,root) %{_sbindir}/posttls-finger
455 %attr(755,root,root) %{_sbindir}/qmqp-sink
456 %attr(755,root,root) %{_sbindir}/qmqp-source
457 %attr(755,root,root) /usr/lib/sendmail
458 %dir %{_libdir}/postfix
459 %attr(755,root,root) %{_libdir}/postfix/[!d]*
460 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-ldap.so
461 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-mysql.so
462 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pcre.so
463 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pgsql.so
464 %attr(755,root,root) %exclude %{_libdir}/postfix/postfix-sqlite.so
465 %attr(755,root,root) %{_libdir}/postfix/discard
466 %attr(755,root,root) %{_libdir}/postfix/dnsblog
467 %attr(755,root,root) %dir %{_var}/spool/postfix
468 %attr(700,postfix,root) %dir %{_var}/spool/postfix/active
469 %attr(700,postfix,root) %dir %{_var}/spool/postfix/bounce
470 %attr(700,postfix,root) %dir %{_var}/spool/postfix/corrupt
471 %attr(700,postfix,root) %dir %{_var}/spool/postfix/defer
472 %attr(700,postfix,root) %dir %{_var}/spool/postfix/deferred
473 %attr(700,postfix,root) %dir %{_var}/spool/postfix/incoming
474 %attr(1730,postfix,maildrop) %dir %{_var}/spool/postfix/maildrop
475 %attr(755,root,root) %dir %{_var}/spool/postfix/pid
476 %attr(700,postfix,root) %dir %{_var}/spool/postfix/private
477 %attr(710,postfix,maildrop) %dir %{_var}/spool/postfix/public
478 %attr(700,postfix,root) %dir %{_var}/spool/postfix/saved
479 %attr(644,postfix,root) %{_var}/spool/postfix/.nofinger
480 %attr(700,postfix,root) %{_var}/lib/postfix
481 %{_mandir}/man1/mailq.1*
482 %{_mandir}/man1/newaliases.1*
483 %{_mandir}/man1/post*.1*
484 %{_mandir}/man1/qmqp-*.1*
485 %{_mandir}/man1/sendmail.1*
486 %{_mandir}/man1/smtp-*.1*
487 %{_mandir}/man5/access.5*
488 %{_mandir}/man5/aliases.5*
489 %{_mandir}/man5/body_checks.5*
490 %{_mandir}/man5/bounce.5*
491 %{_mandir}/man5/canonical.5*
492 %{_mandir}/man5/cidr_table.5*
493 %{_mandir}/man5/generic.5*
494 %{_mandir}/man5/header_checks.5*
495 %{_mandir}/man5/lmdb_table.5*
496 %{_mandir}/man5/master.5*
497 %{_mandir}/man5/memcache_table.5*
498 %{_mandir}/man5/nisplus_table.5*
499 %{_mandir}/man5/postconf.5*
500 %{_mandir}/man5/postfix-wrapper.5*
501 %{_mandir}/man5/regexp_table.5*
502 %{_mandir}/man5/relocated.5*
503 %{_mandir}/man5/socketmap_table.5*
504 %{_mandir}/man5/tcp_table.5*
505 %{_mandir}/man5/transport.5*
506 %{_mandir}/man5/virtual.5*
510 %defattr(644,root,root,755)
511 %attr(755,root,root) %{_libdir}/libpostfix-*.so
512 %{_includedir}/postfix
516 %defattr(644,root,root,755)
517 %attr(755,root,root) %{_libdir}/postfix/postfix-ldap.so
518 %{_mandir}/man5/ldap_table.5*
523 %defattr(644,root,root,755)
524 %attr(755,root,root) %{_libdir}/postfix/postfix-mysql.so
525 %{_mandir}/man5/mysql_table.5*
529 %defattr(644,root,root,755)
530 %attr(755,root,root) %{_libdir}/postfix/postfix-pcre.so
531 %{_mandir}/man5/pcre_table.5*
535 %defattr(644,root,root,755)
536 %attr(755,root,root) %{_libdir}/postfix/postfix-pgsql.so
537 %{_mandir}/man5/pgsql_table.5*
542 %defattr(644,root,root,755)
543 %attr(755,root,root) %{_libdir}/postfix/postfix-sqlite.so
544 %{_mandir}/man5/sqlite_table.5*
548 %defattr(644,root,root,755)
549 %attr(755,root,root) %{_bindir}/qshape
550 %{_mandir}/man1/qshape.1*
552 %files -n monit-rc-%{name}
553 %defattr(644,root,root,755)
554 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc