3 %bcond_without fam # with fam support
5 Summary: Courier mail server
6 Summary(pl): Serwer poczty Courier
11 Group: Networking/Daemons
12 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13 # Source0-md5: 9c6c9decb33b9515978f0b1062d38923
14 Patch0: %{name}-openssl-path.patch
15 Patch1: %{name}-withoutfam.patch
16 Patch2: %{name}-maildir.patch
17 Patch3: %{name}-sendmail_dir.patch
18 Patch4: %{name}-start_scripts.patch
19 Patch5: %{name}-certs.patch
20 Patch6: %{name}-db.patch
21 Patch7: %{name}-webmail-sec_fix.patch
22 URL: http://www.courier-mta.org/
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: courier-authlib-devel
27 BuildRequires: libstdc++-devel
28 BuildRequires: libtool
29 BuildRequires: mailcap
30 BuildRequires: openssl-devel >= 0.9.7d
31 BuildRequires: openssl-tools >= 0.9.7d
32 BuildRequires: openssl-tools-perl >= 0.9.7d
33 BuildRequires: pam-devel
34 BuildRequires: perl-devel
35 BuildRequires: sed >= 4.0
36 BuildRequires: sysconftool
37 %{?with_fam:BuildRequires: fam-devel}
38 Requires(post,preun): /sbin/chkconfig
39 # only for light upgrade from old version < 0.47
40 # remove it after some time
41 Requires(post): courier-authlib-userdb
42 Requires(post): openssl-tools >= 0.9.7d
43 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
45 Obsoletes: courier-smtpauth
53 Obsoletes: sendmail-cf
54 Obsoletes: sendmail-doc
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61 %define _datadir %{_prefix}/share/courier
62 %define _mandir /usr/share/man
63 %define _libdir %{_prefix}/%{_lib}/courier
64 %define _libexecdir %{_libdir}
65 %define _localstatedir /var/spool/courier
66 %define _sysconfdir /etc/courier
67 %define _certsdir %{_sysconfdir}/certs
68 %define _initrddir /etc/rc.d/init.d
70 %define _httpdir /home/services/httpd
71 %define _cgibindir %{_httpdir}/cgi-bin
72 %define _imagedir %{_datadir}/sqwebmail/images
73 %define _imageurl /webmail
74 %define _apache1dir /etc/apache
75 %define _apache2dir /etc/httpd
78 Courier is a fully functional mail server, that can completely take
79 over the mail services normally provided by sendmail, Qmail, or any
80 other mail server. Although Courier does not support all legacy
81 features of existing mail servers, the number of obsoleted functions
82 is very small, and there are better, and more robust, alternatives
85 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
86 Courier also implements several new SMTP extensions for mailing list
87 management and spam filtering.
90 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
91 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
92 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
93 ilo¶æ nie obs³ugiwanych funkcji jest bardzo ma³a, i s± dostêpne
96 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
97 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
101 Summary: Courier Integrated POP3 server
102 Summary(pl): Zintegrowany serwer POP3 do Couriera
103 Group: Networking/Daemons
104 Requires: %{name} = %{version}-%{release}
105 Requires(post): openssl-tools >= 0.9.7d
108 This package installs Courier mail server's integrated POP3 server,
109 which allows you to download mail from your mailbox using any POP3
110 client. Courier's POP3 server can only be used to download mail from
111 maildir mailboxes. This server does not support mailbox files. If you
112 do not need the ability to download your mail using a POP3 client, you
113 do not need to install this package.
115 %description pop3d -l pl
116 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
117 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
118 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
119 obs³uguje skrzynek w postaci pojedynczych plików.
122 Summary: Courier Integrated IMAP server
123 Summary(pl): Zintegrowany serwer IMAP do Couriera
124 Group: Networking/Daemons
125 Requires: %{name} = %{version}-%{release}
126 Requires(post): openssl-tools >= 0.9.7d
127 Obsoletes: courier-imap
128 Obsoletes: courier-imap-common
131 This package installs Courier mail server's integrated IMAP server. If
132 you do not need the ability to download your mail using an IMAP mail
133 client, you do not need to install this package. Courier's IMAP server
134 can only be used to download mail from maildir mailboxes. This server
135 does not support mailbox files.
137 This package requires that Courier must be already installed, this is
138 NOT the standalone version of the Courier-IMAP server, and you cannot
139 install both this package, and the standalone version of Courier-IMAP.
140 If you have the standalone version of the Courier-IMAP server already
141 installed, installing this package will automatically remove the
144 %description imapd -l pl
145 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
146 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
147 u¿ywany tylko ze skrzynkami Maildir, nie obs³uguje skrzynek w postaci
150 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
151 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
152 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
153 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
156 Summary: Courier Integrated HTTP administraton panel
157 Summary(pl): Panel administracyjny przez HTTP dla Couriera
158 Group: Networking/Daemons
159 Requires: %{name} = %{version}-%{release}
160 Requires: %{_cgibindir}
163 %description webadmin
164 This is a web-based administration tool. Webadmin is a web CGI
167 %description webadmin -l pl
168 Webadmin jest narzêdziem administracyjnym obs³ugiwanym przez WWW.
171 Summary: Courier Integrated HTTP (webmail) server
172 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
173 Group: Networking/Daemons
174 Requires: %{name} = %{version}-%{release}
175 Requires: %{_cgibindir}
178 This package installs Courier mail server's integrated HTTP webmail
179 server. If you do not need the ability to access your mail using a web
180 browser, you do not need to install this package. Courier's webmail
181 server can only be used to download mail from maildir mailboxes. This
182 server does not support mailbox files.
184 This is the same server that's distributed separately under the name
185 of SqWebMail, however its configuration is customized for the Courier
188 %description webmail -l pl
189 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
190 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
191 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
192 nie obs³uguje skrzynek w postaci pojedynczych plików.
194 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
195 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
197 %package maildir-tools
198 Summary: Tools for mail folders in Maildir format
199 Summary(pl): Narzêdzia do zarz±dzania skrzynkami Maildir
200 Group: Applications/Mail
201 Requires: %{name} = %{version}-%{release}
203 %description maildir-tools
204 This package contains tools for mail folders in Maildir format.
206 %description maildir-tools -l pl
207 Ten pakiet zawiera narzêdzia do zarz±dzania folderami w formacie Maildir.
210 Summary: Courier Integrated Mailing List Manager
211 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
212 Group: Applications/Mail
213 Requires: %{name} = %{version}-%{release}
216 This package installs couriermlm - a mailing list manager for the
217 Courier mail server. If you do not need the ability to manage mailing
218 lists, you do not need to install this package.
220 couriermlm is used to set up, maintain, and run a mailing list.
221 couriermlm automatically processes subscription and unsubscription
222 requests, and removes undeliverable addresses from the subscription
223 rolls. Mailing lists managed by couriermlm require zero human
224 administrative oversight. couriermlm supports digests, write-only
225 posting aliases, and moderated mailing lists.
227 %description mlm -l pl
228 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
229 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
230 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
231 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
232 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
233 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
234 aliasy pocztowe tylko do wysy³ania i listy moderowane.
237 Summary: Courier Integrated mail filter
238 Summary(pl): Zintegrowany filtr poczty do Couriera
239 Group: Applications/Mail
240 Requires: %{name} = %{version}-%{release}
242 %description maildrop
243 This package installs Courier mail server's integrated mail filter.
244 You need to install this package if you want to be able to filter your
247 %description maildrop -l pl
248 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
249 potrzebny do filtrowania przychodz±cej poczty.
254 %{!?with_fam:%patch1 -p1}
263 # we don't want fax module
264 rm -rf courier/module.fax
265 cp -f /usr/share/automake/config.sub webmail
267 # Change Makefile.am files and force recreate Makefile.in's.
269 find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
270 cd "`dirname "$FILE"`"
272 if [ -f Makefile.am ]; then
273 sed -i -e '/_LDFLAGS=-static/d' Makefile.am
286 --localstatedir=%{_localstatedir} \
287 --sysconfdir=%{_sysconfdir} \
288 --mandir=%{_mandir} \
289 --enable-imagedir=%{_imagedir} \
290 --enable-imageurl=%{_imageurl} \
291 --with-certsdir=%{_certsdir} \
293 --with-mailer=%{_sbindir}/sendmail \
294 --with-mailuser=daemon \
295 --with-mailgroup=daemon \
303 rm -rf $RPM_BUILD_ROOT
305 install -d -p $RPM_BUILD_ROOT{/etc/{cron.hourly,pam.d},%{_initrddir}} \
306 $RPM_BUILD_ROOT{%{_cgibindir},/usr/lib,%{_sysconfdir}/hosteddomains} \
307 $RPM_BUILD_ROOT{/etc/cron.hourly,%{_certsdir}}
310 DESTDIR=$RPM_BUILD_ROOT
313 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
314 for X in imap esmtp pop3 webmail calendar
316 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
318 auth required pam_unix.so shadow nullok
319 account required pam_unix.so
320 session required pam_unix.so
325 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
326 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
327 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
328 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
329 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
330 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
331 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
334 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
335 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
336 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
337 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
338 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
339 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
340 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
342 %{__make} install-perms
344 # Move webmail and webadmin to cgibindir
345 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
346 $RPM_BUILD_ROOT%{_cgibindir}/webmail
347 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webadmin \
348 $RPM_BUILD_ROOT%{_cgibindir}/webadmin
350 # install a cron job to clean out webmail's cache
351 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
353 # Move .html documentation back to build dir, so that RPM will move it to
354 # the appropriate docdir
358 mv -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
361 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
362 # package, so after it's installed they should be runnable.
364 sed -i 's/^POP3DSTART.*/POP3DSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
365 sed -i 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
366 sed -i 's/^IMAPDSTART.*/IMAPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
367 sed -i 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
369 # Want to have esmtpd running by default
370 sed -i 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
372 # run script from install-configure (make config files)
373 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
374 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
377 # make locals, esmtpacceptmailfor.dir/default
378 touch $RPM_BUILD_ROOT%{_sysconfdir}/esmtpacceptmailfor.dir/default
379 touch $RPM_BUILD_ROOT%{_sysconfdir}/locals
381 # file with important options
382 cat > $RPM_BUILD_ROOT%{_sysconfdir}/bofh <<EOF
383 # enable this option if you want to pass bad converted mails
384 # opt BOFHBADMIME=accept
387 # Make password and unsecureok (files for webadmin)
388 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
389 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
391 # create file me to put localdomain
392 touch $RPM_BUILD_ROOT%{_sysconfdir}/me
394 # create calendarmode
395 touch $RPM_BUILD_ROOT%{_sysconfdir}/calendarmode
397 install courier.sysvinit $RPM_BUILD_ROOT%{_initrddir}/courier
399 # Red Hat /etc/profile.d scripts
402 install -d $RPM_BUILD_ROOT/etc/profile.d
403 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
404 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
410 PATH="%{_sbindir}:\$PATH"
412 PATH="%{_bindir}:\$PATH"
417 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
419 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
426 setenv PATH "%{_sbindir}:\$PATH"
428 setenv PATH "%{_bindir}:\$PATH"
432 # sendmail soft links
433 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
436 rm -f $RPM_BUILD_ROOT%{_bindir}/rmail
437 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/rmail
439 # This link by default is missing
440 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
443 echo "Alias /webmail %{_imagedir}" >apache-%{name}.conf
444 install apache-%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache-%{name}.conf
446 # remove unpackaged files
447 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
448 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
449 rm -f $RPM_BUILD_ROOT%{_datadir}/courierwebadmin/*fax*
452 rm -rf $RPM_BUILD_ROOT
454 %triggerin -- courier < 0.45.5
456 echo Directory with certificates has changed to %{_certsdir}
460 /sbin/chkconfig --add courier
462 if [ "$1" = "1" ]; then
463 /bin/hostname -f >/etc/courier/me
466 Now courier will refuse to accept SMTP messages except to localhost
467 add hosts to /etc/courier/esmtpacceptmailfor.dir/default
468 run makeacceptmailfor
470 Add hosts to /etc/courier/locals you want to accept mail for
473 Enter user, who should receive mail for root, mailer-daemon and postmaster
474 into /etc/courier/aliases/system
476 Default maildir is in ~/Mail/Maildir
481 if [ -e /var/lock/subsys/courier ]; then
482 %{_initrddir}/courier restart
485 echo 'Type "%{_initrddir}/courier start" to start courier'
490 if [ "$1" = "0" ]; then
491 if [ -e /var/lock/subsys/courier ]; then
492 %{_initrddir}/courier stop
494 /sbin/chkconfig --del courier
498 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
499 %{_sbindir}/imapd stop
500 %{_sbindir}/imapd start
503 echo 'Type "%{_sbindir}/imapd start" to start imapd server'
506 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
507 %{_sbindir}/imapd-ssl stop
508 %{_sbindir}/imapd-ssl start
511 echo Type "%{_sbindir}/imapd-ssl start" to start imapd-ssl server
516 if [ "$1" = "0" ]; then
517 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
518 %{_sbindir}/imapd stop
520 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
521 %{_sbindir}/imapd-ssl stop
526 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
527 %{_sbindir}/pop3d stop
528 %{_sbindir}/pop3d start
531 echo 'Type "%{_sbindir}/pop3d start" to start pop3d server'
534 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
535 %{_sbindir}/pop3d-ssl stop
536 %{_sbindir}/pop3d-ssl start
539 echo 'Type "%{_sbindir}/pop3d-ssl start" to start pop3d-ssl server'
544 if [ "$1" = "0" ]; then
545 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
546 %{_sbindir}/pop3d stop
548 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
549 %{_sbindir}/pop3d-ssl stop
554 if [ "$1" = "1" ]; then
556 echo Remember to put your webadmin password to %{_sysconfdir}/webadmin/password
561 if [ "$1" = "1" ]; then
563 echo If you want to have calendar starting by default then
564 echo put word net to %{_sysconfdir}/calendarmode
567 if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
568 %{_sbindir}/webmaild stop
569 %{_sbindir}/webmaild start
572 echo 'Type "%{_sbindir}/webmaild start" to start webmail server'
577 if [ -d %{_apache1dir}/conf.d ]; then
578 ln -sf %{_sysconfdir}/apache-%{name}.conf %{_apache1dir}/conf.d/99_%{name}.conf
579 if [ -f /var/lock/subsys/apache ]; then
580 /etc/rc.d/init.d/apache restart 1>&2
584 if [ -d %{_apache2dir}/httpd.conf ]; then
585 ln -sf %{_sysconfdir}/apache-%{name}.conf %{_apache2dir}/httpd.conf/99_%{name}.conf
586 if [ -f /var/lock/subsys/httpd ]; then
587 /etc/rc.d/init.d/httpd restart 1>&2
592 if [ "$1" = "0" ]; then
593 if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
594 %{_sbindir}/webmaild stop
597 if [ -d %{_apache1dir}/conf.d ]; then
598 rm -f %{_apache1dir}/conf.d/99_%{name}.conf
599 if [ -f /var/lock/subsys/apache ]; then
600 /etc/rc.d/init.d/apache restart 1>&2
604 if [ -d %{_apache2dir}/httpd.conf ]; then
605 rm -f %{_apache2dir}/httpd.conf/99_%{name}.conf
606 if [ -f /var/lock/subsys/httpd ]; then
607 /etc/rc.d/init.d/httpd restart 1>&2
613 %defattr(644,root,root,755)
614 %doc AUTHORS BENCHMARKS ChangeLog INSTALL NEWS README TODO htmldoc/[adehqstu]*
615 %doc htmldoc/courierperl* htmldoc/courier.html htmldoc/courier[fltu]*
616 %doc htmldoc/local* htmldoc/mailbot* htmldoc/mailq* htmldoc/make*
617 %doc htmldoc/mime* htmldoc/mkesmtpd* htmldoc/modules* htmldoc/preline*
618 %{_mandir}/man1/sendmail.1*
619 %{_mandir}/man1/preline.1*
620 %{_mandir}/man1/cancelmsg.1*
621 %{_mandir}/man1/lockmail.1*
622 %{_mandir}/man1/mailbot.1*
623 %{_mandir}/man1/makemime.1*
624 %{_mandir}/man1/mimegpg.1*
625 %{_mandir}/man1/makedat.1*
626 %{_mandir}/man1/testmxlookup.1*
627 %{_mandir}/man1/dot-forward.1*
628 %{_mandir}/man1/couriertls.1*
629 %{_mandir}/man1/mailq*
630 %{_mandir}/man1/couriertcpd*
631 %{_mandir}/man1/dotforward.1*
632 %{_mandir}/man1/rmail.1*
633 %{_mandir}/man5/dot-courier.5*
634 %{_mandir}/man7/localmailfilter.7*
635 %{_mandir}/man8/courierfilter.8*
636 %{_mandir}/man8/courierperlfilter.8*
637 %{_mandir}/man8/dupfilter.8*
638 %{_mandir}/man8/courier.8*
639 %{_mandir}/man8/courierldapaliasd.8*
640 %{_mandir}/man8/deliverquota.8*
641 %{_mandir}/man8/esmtpd.8*
642 %{_mandir}/man8/makeacceptmailfor.8*
643 %{_mandir}/man8/makehosteddomains.8*
644 %{_mandir}/man8/mkesmtpdcert.8*
645 %{_mandir}/man8/makealiases.8*
646 %{_mandir}/man8/makepercentrelay.8*
647 %{_mandir}/man8/makesmtpaccess.8*
648 %{_mandir}/man8/submit.8*
649 %{_mandir}/man8/courieruucp.8*
650 %{_mandir}/man8/esmtpd-msa.8*
651 %{_mandir}/man8/filterctl.8*
652 %{_mandir}/man8/makesmtpaccess-msa.8*
653 %{_mandir}/man8/makeuucpneighbors.8*
654 %attr(755,daemon,daemon) %dir %{_sysconfdir}
655 %attr(750,daemon,daemon) %dir %{_certsdir}
656 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
657 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/me
658 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
659 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
660 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
661 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
662 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
663 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
664 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/default
665 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bofh
666 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
667 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
668 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
669 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
671 %dir %{_libdir}/courier
673 %{_datadir}/rootcerts
674 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
675 %{_datadir}/courierwebadmin/admin-15*
676 %dir %{_libdir}/filters
677 %attr(755,daemon,daemon) %{_libdir}/filters/*
678 %attr(755,daemon,daemon) %{_datadir}/perlfilter-*.pl
679 %attr(755,bin,bin) %dir %{_localstatedir}
680 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
681 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
682 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
683 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
684 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
685 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
686 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
687 %attr(754,root,daemon) %{_datadir}/filterctl
688 %attr(754,root,daemon) %{_sbindir}/filterctl
689 %attr(754,root,daemon) %{_sbindir}/courierfilter
690 %dir %{_libdir}/courier/modules
691 %dir %{_libdir}/courier/modules/uucp
692 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
693 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
694 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
695 %attr(755,root,root) %{_datadir}/makeuucpneighbors
696 %dir %{_libdir}/courier/modules/local
697 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
698 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
699 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
700 %attr(755,root,root) %{_bindir}/preline
701 %dir %{_libdir}/courier/modules/esmtp
702 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
703 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
704 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
705 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
706 %attr(755,root,root) %{_sbindir}/courieresmtpd
707 %attr(755,root,root) %{_bindir}/addcr
708 %attr(755,root,root) %{_sbindir}/esmtpd
709 %attr(755,root,root) %{_datadir}/esmtpd
710 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
711 %attr(755,root,root) %{_datadir}/esmtpd-ssl
712 %attr(755,root,root) %{_sbindir}/makesmtpaccess
713 %attr(755,root,root) %{_datadir}/makesmtpaccess
714 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
715 %attr(755,root,root) %{_datadir}/makeacceptmailfor
716 %attr(755,root,root) %{_sbindir}/makepercentrelay
717 %attr(755,root,root) %{_datadir}/makepercentrelay
718 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
719 %attr(755,root,root) %{_datadir}/mkesmtpdcert
720 %attr(755,root,root) %{_sbindir}/esmtpd-msa
721 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
722 %attr(755,root,root) %{_sbindir}/sharedindexinstall
723 %attr(755,root,root) %{_sbindir}/sharedindexsplit
724 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
725 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
726 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
727 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
728 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
729 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
730 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
731 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
732 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
733 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
734 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
735 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
736 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
737 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
738 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
739 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
740 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rfcerr*.txt
741 %dir %{_libdir}/courier/modules/dsn
742 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
743 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
744 %attr(750,daemon,daemon) %{_libdir}/courier/courierd
745 %attr(750,daemon,daemon) %{_libdir}/courier/aliasexp
746 %attr(750,daemon,daemon) %{_libdir}/courier/aliascombine
747 %attr(750,daemon,daemon) %{_libdir}/courier/aliascreate
748 %attr(750,daemon,daemon) %{_libdir}/courier/submit
749 %attr(755,daemon,daemon) %{_libdir}/courier/makedatprog
750 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
751 %attr(755,root,root) %{_sbindir}/courier
752 %attr(755,root,root) %{_datadir}/courierctl.start
753 %attr(755,root,root) %{_bindir}/couriertls
754 %attr(755,root,root) %{_sbindir}/couriertcpd
755 %attr(755,root,root) %{_bindir}/courier-config
756 %attr(755,root,root) %{_bindir}/deliverquota
757 %attr(755,root,root) %{_bindir}/dotforward
758 %attr(755,root,root) %{_bindir}/lockmail
759 %attr(755,root,root) %{_bindir}/mailbot
760 %attr(2755,daemon,daemon) %{_bindir}/mailq
761 %attr(750,root,daemon) %{_datadir}/makealiases
762 %attr(750,root,daemon) %{_sbindir}/makealiases
763 %attr(755,root,root) %{_datadir}/makedat
764 %attr(755,root,root) %{_bindir}/makedat
765 %attr(755,root,root) %{_datadir}/makehosteddomains
766 %attr(755,root,root) %{_sbindir}/makehosteddomains
767 %attr(755,root,root) %{_bindir}/makemime
768 %attr(755,root,root) %{_bindir}/mimegpg
769 %attr(4755,root,root) %{_bindir}/rmail
770 %attr(755,root,root) %{_sbindir}/showconfig
771 %attr(750,root,daemon) %{_sbindir}/showmodules
772 %attr(4755,root,root) %{_sbindir}/sendmail
773 %attr(755,root,root) %{_bindir}/testmxlookup
774 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
775 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
776 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
777 %attr(755,root,root) /etc/profile.d/courier.sh
778 %attr(755,root,root) /etc/profile.d/courier.csh
779 %attr(754,root,root) /etc/rc.d/init.d/courier
780 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
781 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
782 %attr(755,daemon,daemon) %dir %{_localstatedir}/track
783 %attr(755,root,root) /usr/lib/sendmail
786 %defattr(644,root,root,755)
788 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
789 %{_mandir}/man8/courierpop3d.8*
790 %{_mandir}/man8/courierpop3login.8*
791 %{_mandir}/man8/mkpop3dcert.8*
792 %{_mandir}/man8/pop3d.8*
793 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
794 %{_datadir}/courierwebadmin/admin-45pop3.html
795 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
796 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
797 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
798 %attr(755,root,root) %{_libdir}/courier/courierpop3d
799 %attr(755,root,root) %{_libdir}/courier/courierpop3login
800 %attr(755,root,root) %{_datadir}/mkpop3dcert
801 %attr(755,root,root) %{_sbindir}/mkpop3dcert
802 %attr(755,root,root) %{_datadir}/pop3d
803 %attr(755,root,root) %{_sbindir}/pop3d
804 %attr(755,root,root) %{_datadir}/pop3d-ssl
805 %attr(755,root,root) %{_sbindir}/pop3d-ssl
808 %defattr(644,root,root,755)
810 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
811 %{_mandir}/man8/imapd.8*
812 %{_mandir}/man8/mkimapdcert.8*
813 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
814 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
815 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
816 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
817 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
818 %attr(755,root,root) %{_libdir}/courier/imaplogin
819 %attr(755,root,root) %{_sbindir}/imapd
820 %attr(755,root,root) %{_sbindir}/imapd-ssl
821 %attr(755,root,root) %{_datadir}/imapd
822 %attr(755,root,root) %{_datadir}/imapd-ssl
823 %attr(755,root,root) %{_bindir}/imapd
824 %attr(755,root,root) %{_datadir}/mkimapdcert
825 %attr(755,root,root) %{_sbindir}/mkimapdcert
828 %defattr(644,root,root,755)
829 %attr(4755,root,root) %{_cgibindir}/webadmin
830 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
831 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
832 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
833 %attr(400,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/password
834 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/unsecureok
835 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
836 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
837 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
838 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0235]*.pl
839 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-10password.pl
840 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
841 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
842 %{_datadir}/courierwebadmin/admin-[0235]*.html
843 %{_datadir}/courierwebadmin/admin-10password.html
844 %{_datadir}/courierwebadmin/admin-main.html
845 %{_datadir}/courierwebadmin/admin-save.html
846 %{_datadir}/courierwebadmin/login.html
847 %{_datadir}/courierwebadmin/notsupp.html
848 %{_datadir}/courierwebadmin/unsecure.html
849 %{_datadir}/courierwebadmin/webadmin.pm
852 %defattr(644,root,root,755)
853 %doc htmldoc/pcp* gpglib/README.html
854 %attr(755,root,root) %{_cgibindir}/webmail
855 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
856 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
857 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sqwebmaild
858 %attr(755,root,root) %{_sbindir}/webmaild
859 %dir %{_datadir}/sqwebmail
860 %dir %{_datadir}/sqwebmail/html
861 %dir %{_datadir}/sqwebmail/html/en-us
862 %{_datadir}/sqwebmail/html/en
863 %{_datadir}/sqwebmail/images
864 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
865 %{_datadir}/sqwebmail/html/en-us/*.html
866 %{_datadir}/sqwebmail/html/en-us/*.txt
867 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-47webmail.pl
868 %{_datadir}/courierwebadmin/admin-47webmail.html
869 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
870 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
871 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
872 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
873 %attr(755,root,root) %{_sbindir}/webgpg
874 %attr(755,root,root) %{_libdir}/courier/pcpd
875 %attr(755,root,root) %{_libdir}/courier/sqwebmaild
876 %attr(755,root,root) %{_libdir}/courier/sqwebpasswd
877 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
878 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
879 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/calendarmode
880 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar
881 %attr(700,bin,daemon) %dir %{_localstatedir}/calendar/localcache
882 %attr(750,bin,daemon) %dir %{_localstatedir}/calendar/private
883 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar/public
884 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apache-%{name}.conf
887 %defattr(644,root,root,755)
888 %doc htmldoc/r* htmldoc/maildrop* htmldoc/lockmail*
889 %{_mandir}/man1/maildrop.1*
890 %{_mandir}/man1/refor*
891 %{_mandir}/man7/maildrop*
892 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
893 %attr(4755,root,root) %{_bindir}/maildrop
894 %attr(755,root,root) %{_bindir}/reformail
895 %attr(755,root,root) %{_bindir}/reformime
898 %defattr(644,root,root,755)
899 %doc maildir/README.*.html htmldoc/maildir*
900 %{_mandir}/man1/maildirmake.1*
901 %{_mandir}/man1/maildirkw.1*
902 %{_mandir}/man1/maildiracl.1*
903 %{_mandir}/man5/maildir.5*
904 %{_mandir}/man7/maildirquota.7*
905 %attr(755,root,root) %{_bindir}/maildirmake
906 %attr(755,root,root) %{_bindir}/maildirkw
907 %attr(755,root,root) %{_bindir}/maildiracl
910 %defattr(644,root,root,755)
911 %doc htmldoc/couriermlm.html
912 %{_mandir}/man1/couriermlm.1*
913 %attr(755,root,root) %{_bindir}/couriermlm
914 %{_datadir}/couriermlm