3 %bcond_without fam # with fam support
4 %bcond_with tests # without tests
6 Summary: Courier mail server
7 Summary(pl): Serwer poczty Courier
12 Group: Networking/Daemons
13 #Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
14 Source0: http://heanet.dl.sourceforge.net/sourceforge/courier/%{name}-%{version}.tar.bz2
15 # Source0-md5: 98005b9bacd44fa9e1a2b2100907522a
16 Patch0: %{name}-openssl-path.patch
17 Patch1: %{name}-withoutfam.patch
18 Patch2: %{name}-maildir.patch
19 Patch3: %{name}-sendmail_dir.patch
20 Patch4: %{name}-start_scripts.patch
21 Patch5: %{name}-certs.patch
22 Patch6: %{name}-db.patch
23 URL: http://www.courier-mta.org/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: courier-authlib-devel >= 0.57
28 BuildRequires: gettext-devel
29 BuildRequires: libstdc++-devel
30 BuildRequires: libtool
31 BuildRequires: mailcap
32 BuildRequires: openldap-devel
33 BuildRequires: openssl-devel >= 0.9.7d
34 BuildRequires: openssl-tools >= 0.9.7d
35 BuildRequires: openssl-tools-perl >= 0.9.7d
36 BuildRequires: pcre-devel
37 BuildRequires: pam-devel
38 BuildRequires: perl-devel
39 BuildRequires: sed >= 4.0
40 BuildRequires: sysconftool
41 %{?with_fam:BuildRequires: fam-devel}
42 Requires(post,preun): /sbin/chkconfig
43 # only for light upgrade from old version < 0.47
44 # remove it after some time
45 Requires(post): courier-authlib-userdb
46 Requires(post): openssl-tools >= 0.9.7d
47 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
49 Obsoletes: courier-smtpauth
57 Obsoletes: sendmail-cf
58 Obsoletes: sendmail-doc
63 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65 %define _datadir %{_prefix}/share/courier
66 %define _mandir /usr/share/man
67 %define _libdir %{_prefix}/%{_lib}/courier
68 %define _libexecdir %{_libdir}
69 %define _localstatedir /var/spool/courier
70 %define _sysconfdir /etc/courier
71 %define _certsdir %{_sysconfdir}/certs
72 %define _initrddir /etc/rc.d/init.d
74 %define _httpdir /home/services/httpd
75 %define _cgibindir %{_httpdir}/cgi-bin
76 %define _imagedir %{_datadir}/sqwebmail/images
77 %define _imageurl /webmail
78 %define _apache1dir /etc/apache
79 %define _apache2dir /etc/httpd
82 Courier is a fully functional mail server, that can completely take
83 over the mail services normally provided by sendmail, Qmail, or any
84 other mail server. Although Courier does not support all legacy
85 features of existing mail servers, the number of obsoleted functions
86 is very small, and there are better, and more robust, alternatives
89 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
90 Courier also implements several new SMTP extensions for mailing list
91 management and spam filtering.
94 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
95 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
96 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
97 ilo¶æ nie obs³ugiwanych funkcji jest bardzo ma³a, i s± dostêpne lepsze
100 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
101 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
105 Summary: Courier Integrated POP3 server
106 Summary(pl): Zintegrowany serwer POP3 do Couriera
107 Group: Networking/Daemons
108 Requires: %{name} = %{version}-%{release}
109 Requires(post): openssl-tools >= 0.9.7d
112 This package installs Courier mail server's integrated POP3 server,
113 which allows you to download mail from your mailbox using any POP3
114 client. Courier's POP3 server can only be used to download mail from
115 maildir mailboxes. This server does not support mailbox files. If you
116 do not need the ability to download your mail using a POP3 client, you
117 do not need to install this package.
119 %description pop3d -l pl
120 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
121 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
122 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
123 obs³uguje skrzynek w postaci pojedynczych plików.
126 Summary: Courier Integrated IMAP server
127 Summary(pl): Zintegrowany serwer IMAP do Couriera
128 Group: Networking/Daemons
129 Requires: %{name} = %{version}-%{release}
130 Requires(post): openssl-tools >= 0.9.7d
131 Obsoletes: courier-imap
132 Obsoletes: courier-imap-common
135 This package installs Courier mail server's integrated IMAP server. If
136 you do not need the ability to download your mail using an IMAP mail
137 client, you do not need to install this package. Courier's IMAP server
138 can only be used to download mail from maildir mailboxes. This server
139 does not support mailbox files.
141 This package requires that Courier must be already installed, this is
142 NOT the standalone version of the Courier-IMAP server, and you cannot
143 install both this package, and the standalone version of Courier-IMAP.
144 If you have the standalone version of the Courier-IMAP server already
145 installed, installing this package will automatically remove the
148 %description imapd -l pl
149 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
150 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
151 u¿ywany tylko ze skrzynkami Maildir, nie obs³uguje skrzynek w postaci
154 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
155 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
156 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
157 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
160 Summary: Courier Integrated HTTP administraton panel
161 Summary(pl): Panel administracyjny przez HTTP dla Couriera
162 Group: Networking/Daemons
163 Requires: %{name} = %{version}-%{release}
164 Requires: %{_cgibindir}
167 %description webadmin
168 This is a web-based administration tool. Webadmin is a web CGI
171 %description webadmin -l pl
172 Webadmin jest narzêdziem administracyjnym obs³ugiwanym przez WWW.
175 Summary: Courier Integrated HTTP (webmail) server
176 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
177 Group: Networking/Daemons
178 Requires: %{name} = %{version}-%{release}
179 Requires: %{_cgibindir}
182 This package installs Courier mail server's integrated HTTP webmail
183 server. If you do not need the ability to access your mail using a web
184 browser, you do not need to install this package. Courier's webmail
185 server can only be used to download mail from maildir mailboxes. This
186 server does not support mailbox files.
188 This is the same server that's distributed separately under the name
189 of SqWebMail, however its configuration is customized for the Courier
192 %description webmail -l pl
193 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
194 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
195 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
196 nie obs³uguje skrzynek w postaci pojedynczych plików.
198 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
199 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
201 %package maildir-tools
202 Summary: Tools for mail folders in Maildir format
203 Summary(pl): Narzêdzia do zarz±dzania skrzynkami Maildir
204 Group: Applications/Mail
205 Requires: %{name} = %{version}-%{release}
207 %description maildir-tools
208 This package contains tools for mail folders in Maildir format.
210 %description maildir-tools -l pl
211 Ten pakiet zawiera narzêdzia do zarz±dzania folderami w formacie
215 Summary: Courier Integrated Mailing List Manager
216 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
217 Group: Applications/Mail
218 Requires: %{name} = %{version}-%{release}
221 This package installs couriermlm - a mailing list manager for the
222 Courier mail server. If you do not need the ability to manage mailing
223 lists, you do not need to install this package.
225 couriermlm is used to set up, maintain, and run a mailing list.
226 couriermlm automatically processes subscription and unsubscription
227 requests, and removes undeliverable addresses from the subscription
228 rolls. Mailing lists managed by couriermlm require zero human
229 administrative oversight. couriermlm supports digests, write-only
230 posting aliases, and moderated mailing lists.
232 %description mlm -l pl
233 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
234 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
235 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
236 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
237 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
238 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
239 aliasy pocztowe tylko do wysy³ania i listy moderowane.
242 Summary: Courier Integrated mail filter
243 Summary(pl): Zintegrowany filtr poczty do Couriera
244 Group: Applications/Mail
245 Requires: %{name} = %{version}-%{release}
247 %description maildrop
248 This package installs Courier mail server's integrated mail filter.
249 You need to install this package if you want to be able to filter your
252 %description maildrop -l pl
253 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
254 potrzebny do filtrowania przychodz±cej poczty.
259 %{!?with_fam:%patch1 -p1}
267 # we don't want fax module
268 rm -rf courier/module.fax
269 cp -f /usr/share/automake/config.sub webmail
271 # Change Makefile.am files and force recreate Makefile.in's.
273 find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
274 cd "`dirname "$FILE"`"
276 if [ -f Makefile.am ]; then
277 sed -i -e '/_LDFLAGS=-static/d' Makefile.am
290 --localstatedir=%{_localstatedir} \
291 --sysconfdir=%{_sysconfdir} \
292 --mandir=%{_mandir} \
293 --enable-imagedir=%{_imagedir} \
294 --enable-imageurl=%{_imageurl} \
295 --with-certsdir=%{_certsdir} \
297 --with-mailer=%{_sbindir}/sendmail \
298 --with-mailuser=daemon \
299 --with-mailgroup=daemon \
304 %{!?with_tests:%{__make} check}
307 rm -rf $RPM_BUILD_ROOT
309 install -d -p $RPM_BUILD_ROOT{/etc/{cron.hourly,pam.d},%{_initrddir}} \
310 $RPM_BUILD_ROOT{%{_cgibindir},%{_prefix}/lib,%{_sysconfdir}/hosteddomains} \
311 $RPM_BUILD_ROOT{/etc/cron.hourly,%{_certsdir}}
314 DESTDIR=$RPM_BUILD_ROOT
317 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
318 for X in imap esmtp pop3 webmail calendar
320 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
322 auth required pam_unix.so shadow nullok
323 account required pam_unix.so
324 session required pam_unix.so
329 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
330 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
331 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
332 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
333 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
334 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
335 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
338 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
339 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
340 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
341 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
342 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
343 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
344 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
346 %{__make} install-perms
348 # Move webmail and webadmin to cgibindir
349 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
350 $RPM_BUILD_ROOT%{_cgibindir}/webmail
351 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webadmin \
352 $RPM_BUILD_ROOT%{_cgibindir}/webadmin
354 # install a cron job to clean out webmail's cache
355 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
357 # Move .html documentation back to build dir, so that RPM will move it to
358 # the appropriate docdir
362 mv -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
365 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
366 # package, so after it's installed they should be runnable.
368 sed -i 's/^POP3DSTART.*/POP3DSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
369 sed -i 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
370 sed -i 's/^IMAPDSTART.*/IMAPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
371 sed -i 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
373 # Want to have esmtpd running by default
374 sed -i 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
376 # run script from install-configure (make config files)
377 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
378 do %{_bindir}/perl ././sysconftool $RPM_BUILD_ROOT$confdist
381 # make locals, esmtpacceptmailfor.dir/default
382 touch $RPM_BUILD_ROOT%{_sysconfdir}/esmtpacceptmailfor.dir/default
383 touch $RPM_BUILD_ROOT%{_sysconfdir}/locals
385 # file with important options
386 cat > $RPM_BUILD_ROOT%{_sysconfdir}/bofh <<EOF
387 # enable this option if you want to pass bad converted mails
388 # opt BOFHBADMIME=accept
391 # Make password and unsecureok (files for webadmin)
392 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
393 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
395 # create file me to put localdomain
396 touch $RPM_BUILD_ROOT%{_sysconfdir}/me
398 # create calendarmode
399 touch $RPM_BUILD_ROOT%{_sysconfdir}/calendarmode
401 install courier.sysvinit $RPM_BUILD_ROOT%{_initrddir}/courier
403 # Red Hat /etc/profile.d scripts
406 install -d $RPM_BUILD_ROOT/etc/profile.d
407 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
408 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
414 PATH="%{_sbindir}:\$PATH"
416 PATH="%{_bindir}:\$PATH"
421 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
423 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
430 setenv PATH "%{_sbindir}:\$PATH"
432 setenv PATH "%{_bindir}:\$PATH"
436 # sendmail soft links
437 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
440 rm -f $RPM_BUILD_ROOT%{_bindir}/rmail
441 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/rmail
443 # This link by default is missing
444 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
447 echo "Alias /webmail %{_imagedir}" >apache-%{name}.conf
448 install apache-%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache-%{name}.conf
450 # remove unpackaged files
451 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
452 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
453 rm -f $RPM_BUILD_ROOT%{_datadir}/courierwebadmin/*fax*
456 rm -rf $RPM_BUILD_ROOT
458 %triggerin -- courier < 0.45.5
460 echo Directory with certificates has changed to %{_certsdir}
464 /sbin/chkconfig --add courier
466 if [ "$1" = "1" ]; then
467 /bin/hostname -f >/etc/courier/me
470 Now courier will refuse to accept SMTP messages except to localhost
471 add hosts to /etc/courier/esmtpacceptmailfor.dir/default
472 run makeacceptmailfor
474 Add hosts to /etc/courier/locals you want to accept mail for
477 Enter user, who should receive mail for root, mailer-daemon and postmaster
478 into /etc/courier/aliases/system
480 Default maildir is in ~/Mail/Maildir
485 if [ -e /var/lock/subsys/courier ]; then
486 %{_initrddir}/courier restart
489 echo 'Type "%{_initrddir}/courier start" to start courier'
494 if [ "$1" = "0" ]; then
495 if [ -e /var/lock/subsys/courier ]; then
496 %{_initrddir}/courier stop
498 /sbin/chkconfig --del courier
502 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
503 %{_sbindir}/imapd stop
504 %{_sbindir}/imapd start
507 echo 'Type "%{_sbindir}/imapd start" to start imapd server'
510 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
511 %{_sbindir}/imapd-ssl stop
512 %{_sbindir}/imapd-ssl start
515 echo Type "%{_sbindir}/imapd-ssl start" to start imapd-ssl server
520 if [ "$1" = "0" ]; then
521 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
522 %{_sbindir}/imapd stop
524 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
525 %{_sbindir}/imapd-ssl stop
530 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
531 %{_sbindir}/pop3d stop
532 %{_sbindir}/pop3d start
535 echo 'Type "%{_sbindir}/pop3d start" to start pop3d server'
538 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
539 %{_sbindir}/pop3d-ssl stop
540 %{_sbindir}/pop3d-ssl start
543 echo 'Type "%{_sbindir}/pop3d-ssl start" to start pop3d-ssl server'
548 if [ "$1" = "0" ]; then
549 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
550 %{_sbindir}/pop3d stop
552 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
553 %{_sbindir}/pop3d-ssl stop
558 if [ "$1" = "1" ]; then
560 echo Remember to put your webadmin password to %{_sysconfdir}/webadmin/password
565 if [ "$1" = "1" ]; then
567 echo If you want to have calendar starting by default then
568 echo put word net to %{_sysconfdir}/calendarmode
571 if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
572 %{_sbindir}/webmaild stop
573 %{_sbindir}/webmaild start
576 echo 'Type "%{_sbindir}/webmaild start" to start webmail server'
581 if [ -d %{_apache1dir}/conf.d ]; then
582 ln -sf %{_sysconfdir}/apache-%{name}.conf %{_apache1dir}/conf.d/99_%{name}.conf
583 if [ -f /var/lock/subsys/apache ]; then
584 /etc/rc.d/init.d/apache restart 1>&2
588 if [ -d %{_apache2dir}/httpd.conf ]; then
589 ln -sf %{_sysconfdir}/apache-%{name}.conf %{_apache2dir}/httpd.conf/99_%{name}.conf
590 if [ -f /var/lock/subsys/httpd ]; then
591 /etc/rc.d/init.d/httpd restart 1>&2
596 if [ "$1" = "0" ]; then
597 if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
598 %{_sbindir}/webmaild stop
601 if [ -d %{_apache1dir}/conf.d ]; then
602 rm -f %{_apache1dir}/conf.d/99_%{name}.conf
603 if [ -f /var/lock/subsys/apache ]; then
604 /etc/rc.d/init.d/apache restart 1>&2
608 if [ -d %{_apache2dir}/httpd.conf ]; then
609 rm -f %{_apache2dir}/httpd.conf/99_%{name}.conf
610 if [ -f /var/lock/subsys/httpd ]; then
611 /etc/rc.d/init.d/httpd restart 1>&2
617 %defattr(644,root,root,755)
618 %doc AUTHORS BENCHMARKS ChangeLog INSTALL NEWS README TODO htmldoc/[adehqstu]*
619 %doc htmldoc/courierperl* htmldoc/courier.html htmldoc/courier[fltu]*
620 %doc htmldoc/local* htmldoc/mailbot* htmldoc/mailq* htmldoc/make*
621 %doc htmldoc/mime* htmldoc/mkesmtpd* htmldoc/modules* htmldoc/preline*
622 %{_mandir}/man1/sendmail.1*
623 %{_mandir}/man1/preline.1*
624 %{_mandir}/man1/cancelmsg.1*
625 %{_mandir}/man1/lockmail.1*
626 %{_mandir}/man1/mailbot.1*
627 %{_mandir}/man1/makemime.1*
628 %{_mandir}/man1/mimegpg.1*
629 %{_mandir}/man1/makedat.1*
630 %{_mandir}/man1/testmxlookup.1*
631 %{_mandir}/man1/dot-forward.1*
632 %{_mandir}/man1/couriertls.1*
633 %{_mandir}/man1/mailq*
634 %{_mandir}/man1/couriertcpd*
635 %{_mandir}/man1/dotforward.1*
636 %{_mandir}/man1/rmail.1*
637 %{_mandir}/man5/dot-courier.5*
638 %{_mandir}/man7/localmailfilter.7*
639 %{_mandir}/man8/courierfilter.8*
640 %{_mandir}/man8/courierperlfilter.8*
641 %{_mandir}/man8/dupfilter.8*
642 %{_mandir}/man8/courier.8*
643 %{_mandir}/man8/courierldapaliasd.8*
644 %{_mandir}/man8/deliverquota.8*
645 %{_mandir}/man8/esmtpd.8*
646 %{_mandir}/man8/makeacceptmailfor.8*
647 %{_mandir}/man8/makehosteddomains.8*
648 %{_mandir}/man8/mkesmtpdcert.8*
649 %{_mandir}/man8/makealiases.8*
650 %{_mandir}/man8/makepercentrelay.8*
651 %{_mandir}/man8/makesmtpaccess.8*
652 %{_mandir}/man8/submit.8*
653 %{_mandir}/man8/courieruucp.8*
654 %{_mandir}/man8/esmtpd-msa.8*
655 %{_mandir}/man8/filterctl.8*
656 %{_mandir}/man8/makesmtpaccess-msa.8*
657 %{_mandir}/man8/makeuucpneighbors.8*
658 %attr(755,daemon,daemon) %dir %{_sysconfdir}
659 %attr(750,daemon,daemon) %dir %{_certsdir}
660 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/me
662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldapaddressbook
663 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
664 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
665 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enablefiltering
666 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
667 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/smtpaccess/default
668 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpacceptmailfor.dir/default
669 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh
670 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locals
671 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/courierd
672 %attr(640,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aliases/system
673 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
675 %dir %{_libdir}/courier
677 %{_datadir}/rootcerts
678 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
679 %{_datadir}/courierwebadmin/admin-15*
680 %dir %{_libdir}/filters
681 %attr(755,daemon,daemon) %{_libdir}/filters/*
682 %attr(755,daemon,daemon) %{_datadir}/perlfilter-*.pl
683 %attr(755,bin,bin) %dir %{_localstatedir}
684 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
685 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
686 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
687 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
688 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
689 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
690 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
691 %attr(754,root,daemon) %{_datadir}/filterctl
692 %attr(754,root,daemon) %{_sbindir}/filterctl
693 %attr(754,root,daemon) %{_sbindir}/courierfilter
694 %dir %{_libdir}/courier/modules
695 %dir %{_libdir}/courier/modules/uucp
696 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.uucp
697 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
698 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
699 %attr(755,root,root) %{_datadir}/makeuucpneighbors
700 %dir %{_libdir}/courier/modules/local
701 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.local
702 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
703 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
704 %attr(755,root,root) %{_bindir}/preline
705 %dir %{_libdir}/courier/modules/esmtp
706 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.esmtp
707 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
708 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
709 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
710 %attr(755,root,root) %{_sbindir}/courieresmtpd
711 %attr(755,root,root) %{_bindir}/addcr
712 %attr(755,root,root) %{_sbindir}/esmtpd
713 %attr(755,root,root) %{_datadir}/esmtpd
714 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
715 %attr(755,root,root) %{_datadir}/esmtpd-ssl
716 %attr(755,root,root) %{_sbindir}/makesmtpaccess
717 %attr(755,root,root) %{_datadir}/makesmtpaccess
718 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
719 %attr(755,root,root) %{_datadir}/makeacceptmailfor
720 %attr(755,root,root) %{_sbindir}/makepercentrelay
721 %attr(755,root,root) %{_datadir}/makepercentrelay
722 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
723 %attr(755,root,root) %{_datadir}/mkesmtpdcert
724 %attr(755,root,root) %{_sbindir}/esmtpd-msa
725 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
726 %attr(755,root,root) %{_sbindir}/sharedindexinstall
727 %attr(755,root,root) %{_sbindir}/sharedindexsplit
728 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd
729 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd-msa
730 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd-ssl
731 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
732 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
733 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd.cnf
734 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpauthclient
735 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsndelayed.txt
736 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsndelivered.txt
737 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnfailed.txt
738 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnrelayed.txt
739 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnfooter.txt
740 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnsubjectnotice.txt
741 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnsubjectwarn.txt
742 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnheader.txt
743 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.dsn
744 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rfcerr*.txt
745 %dir %{_libdir}/courier/modules/dsn
746 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
747 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
748 %attr(750,daemon,daemon) %{_libdir}/courier/courierd
749 %attr(750,daemon,daemon) %{_libdir}/courier/aliasexp
750 %attr(750,daemon,daemon) %{_libdir}/courier/aliascombine
751 %attr(750,daemon,daemon) %{_libdir}/courier/aliascreate
752 %attr(750,daemon,daemon) %{_libdir}/courier/submit
753 %attr(755,daemon,daemon) %{_libdir}/courier/makedatprog
754 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
755 %attr(755,root,root) %{_sbindir}/courier
756 %attr(755,root,root) %{_datadir}/courierctl.start
757 %attr(755,root,root) %{_bindir}/couriertls
758 %attr(755,root,root) %{_sbindir}/couriertcpd
759 %attr(755,root,root) %{_bindir}/courier-config
760 %attr(755,root,root) %{_bindir}/deliverquota
761 %attr(755,root,root) %{_bindir}/dotforward
762 %attr(755,root,root) %{_bindir}/lockmail
763 %attr(755,root,root) %{_bindir}/mailbot
764 %attr(2755,daemon,daemon) %{_bindir}/mailq
765 %attr(750,root,daemon) %{_datadir}/makealiases
766 %attr(750,root,daemon) %{_sbindir}/makealiases
767 %attr(755,root,root) %{_datadir}/makedat
768 %attr(755,root,root) %{_bindir}/makedat
769 %attr(755,root,root) %{_datadir}/makehosteddomains
770 %attr(755,root,root) %{_sbindir}/makehosteddomains
771 %attr(755,root,root) %{_bindir}/makemime
772 %attr(755,root,root) %{_bindir}/mimegpg
773 %attr(4755,root,root) %{_bindir}/rmail
774 %attr(755,root,root) %{_sbindir}/showconfig
775 %attr(750,root,daemon) %{_sbindir}/showmodules
776 %attr(4755,root,root) %{_sbindir}/sendmail
777 %attr(755,root,root) %{_bindir}/testmxlookup
778 %attr(640,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldapaliasrc
779 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
780 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/esmtp
781 %attr(755,root,root) /etc/profile.d/courier.sh
782 %attr(755,root,root) /etc/profile.d/courier.csh
783 %attr(754,root,root) /etc/rc.d/init.d/courier
784 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
785 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
786 %attr(755,daemon,daemon) %dir %{_localstatedir}/track
787 %attr(755,root,root) %{_prefix}/lib/sendmail
790 %defattr(644,root,root,755)
792 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/pop3
793 %{_mandir}/man8/courierpop3d.8*
794 %{_mandir}/man8/courierpop3login.8*
795 %{_mandir}/man8/mkpop3dcert.8*
796 %{_mandir}/man8/pop3d.8*
797 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
798 %{_datadir}/courierwebadmin/admin-45pop3.html
799 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d
800 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d.cnf
801 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d-ssl
802 %attr(755,root,root) %{_libdir}/courier/courierpop3d
803 %attr(755,root,root) %{_libdir}/courier/courierpop3login
804 %attr(755,root,root) %{_datadir}/mkpop3dcert
805 %attr(755,root,root) %{_sbindir}/mkpop3dcert
806 %attr(755,root,root) %{_datadir}/pop3d
807 %attr(755,root,root) %{_sbindir}/pop3d
808 %attr(755,root,root) %{_datadir}/pop3d-ssl
809 %attr(755,root,root) %{_sbindir}/pop3d-ssl
812 %defattr(644,root,root,755)
814 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/imap
815 %{_mandir}/man8/imapd.8*
816 %{_mandir}/man8/mkimapdcert.8*
817 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
818 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
819 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd
820 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd-ssl
821 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd.cnf
822 %attr(755,root,root) %{_libdir}/courier/imaplogin
823 %attr(755,root,root) %{_sbindir}/imapd
824 %attr(755,root,root) %{_sbindir}/imapd-ssl
825 %attr(755,root,root) %{_datadir}/imapd
826 %attr(755,root,root) %{_datadir}/imapd-ssl
827 %attr(755,root,root) %{_bindir}/imapd
828 %attr(755,root,root) %{_datadir}/mkimapdcert
829 %attr(755,root,root) %{_sbindir}/mkimapdcert
832 %defattr(644,root,root,755)
833 %attr(4755,root,root) %{_cgibindir}/webadmin
834 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
835 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
836 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
837 %attr(400,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/webadmin/password
838 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/webadmin/unsecureok
839 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
840 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
841 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
842 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0235]*.pl
843 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-10password.pl
844 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
845 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
846 %{_datadir}/courierwebadmin/admin-[0235]*.html
847 %{_datadir}/courierwebadmin/admin-10password.html
848 %{_datadir}/courierwebadmin/admin-main.html
849 %{_datadir}/courierwebadmin/admin-save.html
850 %{_datadir}/courierwebadmin/login.html
851 %{_datadir}/courierwebadmin/notsupp.html
852 %{_datadir}/courierwebadmin/unsecure.html
853 %{_datadir}/courierwebadmin/webadmin.pm
856 %defattr(644,root,root,755)
857 %doc htmldoc/pcp* gpglib/README.html
858 %attr(755,root,root) %{_cgibindir}/webmail
859 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/webmail
860 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/calendar
861 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sqwebmaild
862 %attr(755,root,root) %{_sbindir}/webmaild
863 %dir %{_datadir}/sqwebmail
864 %dir %{_datadir}/sqwebmail/html
865 %dir %{_datadir}/sqwebmail/html/en-us
866 %{_datadir}/sqwebmail/html/en
867 %{_datadir}/sqwebmail/images
868 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
869 %{_datadir}/sqwebmail/html/en-us/*.html
870 %{_datadir}/sqwebmail/html/en-us/*.txt
871 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-47webmail.pl
872 %{_datadir}/courierwebadmin/admin-47webmail.html
873 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
874 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
875 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
876 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
877 %attr(755,root,root) %{_sbindir}/webgpg
878 %attr(755,root,root) %{_libdir}/courier/pcpd
879 %attr(755,root,root) %{_libdir}/courier/sqwebmaild
880 %attr(755,root,root) %{_libdir}/courier/sqwebpasswd
881 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
882 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/calendarmode
884 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar
885 %attr(700,bin,daemon) %dir %{_localstatedir}/calendar/localcache
886 %attr(750,bin,daemon) %dir %{_localstatedir}/calendar/private
887 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar/public
888 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache-%{name}.conf
891 %defattr(644,root,root,755)
892 %doc htmldoc/r* htmldoc/maildrop* htmldoc/lockmail*
893 %{_mandir}/man1/maildrop.1*
894 %{_mandir}/man1/refor*
895 %{_mandir}/man7/maildrop*
896 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/maildrop
897 %attr(4755,root,root) %{_bindir}/maildrop
898 %attr(755,root,root) %{_bindir}/reformail
899 %attr(755,root,root) %{_bindir}/reformime
902 %defattr(644,root,root,755)
903 %doc maildir/README.*.html htmldoc/maildir*
904 %{_mandir}/man1/maildirmake.1*
905 %{_mandir}/man1/maildirkw.1*
906 %{_mandir}/man1/maildiracl.1*
907 %{_mandir}/man5/maildir.5*
908 %{_mandir}/man7/maildirquota.7*
909 %attr(755,root,root) %{_bindir}/maildirmake
910 %attr(755,root,root) %{_bindir}/maildirkw
911 %attr(755,root,root) %{_bindir}/maildiracl
914 %defattr(644,root,root,755)
915 %doc htmldoc/couriermlm.html
916 %{_mandir}/man1/couriermlm.1*
917 %attr(755,root,root) %{_bindir}/couriermlm
918 %{_datadir}/couriermlm