3 %bcond_with 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: 8c607c70a692d8f8ccb769a3f96d2f28
14 Patch0: %{name}-openssl-path.patch
15 Patch1: %{name}-withoutfam.patch
16 Patch2: %{name}-maildir.patch
17 URL: http://www.courier-mta.org/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: db-devel
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool
24 BuildRequires: mailcap
25 BuildRequires: mysql-devel
26 BuildRequires: openldap-devel
27 BuildRequires: openssl-devel >= 0.9.7c
28 BuildRequires: openssl-tools >= 0.9.7c
29 BuildRequires: openssl-tools-perl >= 0.9.7c
30 BuildRequires: pam-devel
31 BuildRequires: perl-devel
32 BuildRequires: postgresql-devel
33 BuildRequires: sysconftool
34 BuildRequires: zlib-devel
35 %{?with_fam:BuildRequires: fam-devel}
36 Requires(post,preun): /sbin/chkconfig
37 Requires(post): openssl-tools >= 0.9.7c
38 %{?with_fam:Requires: fam}
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define apachedir /home/services/httpd
43 %define _prefix /usr/lib/courier
44 %define _mandir /usr/share/man
45 %define _localstatedir /var/spool/courier
46 %define _sysconfdir /etc/courier
47 %define initdir /etc/rc.d/init.d
49 # Change the following if your DocumentRoot and cgibindir differ. This is
50 # the default redhat build:
52 %define _cgibindir %{apachedir}/cgi-bin
53 %define _documentrootdir %{apachedir}/html
54 %define _imageurl /webmail/
57 Courier is a fully functional mail server, that can completely take
58 over the mail services normally provided by sendmail, Qmail, or any
59 other mail server. Although Courier does not support all legacy
60 features of existing mail servers, the number of obsoleted functions
61 is very small, and there are better, and more robust, alternatives
64 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
65 Courier also implements several new SMTP extensions for mailing list
66 management and spam filtering.
69 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
70 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
71 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
72 ilo¶æ nie obs³ugiwanych funkcji jesgt bardzo ma³a, i s± dostêpne
75 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
76 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
80 Summary: Courier Integrated POP3 server
81 Summary(pl): Zintegrowany serwer POP3 do Couriera
82 Group: Networking/Daemons
83 Requires: %{name} = %{version}
84 Requires(post): openssl-tools >= 0.9.7c
87 This package installs Courier mail server's integrated POP3 server,
88 which allows you to download mail from your mailbox using any POP3
89 client. Courier's POP3 server can only be used to download mail from
90 maildir mailboxes. This server does not support mailbox files. If you
91 do not need the ability to download your mail using a POP3 client, you
92 do not need to install this package.
94 %description pop3d -l pl
95 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
96 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
97 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
98 obs³uguje skrzynek w postaci pojedynczych plików.
101 Summary: Courier Integrated IMAP server
102 Summary(pl): Zintegrowany serwer IMAP do Couriera
103 Group: Networking/Daemons
104 Requires: %{name} = %{version}
105 Requires(post): openssl-tools >= 0.9.7c
106 Obsoletes: courier-imap
107 Obsoletes: courier-imap-common
110 This package installs Courier mail server's integrated IMAP server. If
111 you do not need the ability to download your mail using an IMAP mail
112 client, you do not need to install this package. Courier's IMAP server
113 can only be used to download mail from maildir mailboxes. This server
114 does not support mailbox files.
116 This package requires that Courier must be already installed, this is
117 NOT the standalone version of the Courier-IMAP server, and you cannot
118 install both this package, and the standalone version of Courier-IMAP.
119 If you have the standalone version of the Courier-IMAP server already
120 installed, installing this package will automatically remove the
123 %description imapd -l pl
124 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
125 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
126 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
129 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
130 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
131 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
132 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
135 Summary: Courier Integrated HTTP (webmail) server
136 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
137 Group: Networking/Daemons
138 Requires: %{name} = %{version}
139 Requires: %{_cgibindir}
140 Requires: %{_documentrootdir}
143 This package installs Courier mail server's integrated HTTP webmail
144 server. If you do not need the ability to access your mail using a web
145 browser, you do not need to install this package. Courier's webmail
146 server can only be used to download mail from maildir mailboxes. This
147 server does not support mailbox files.
149 This is the same server that's distributed separately under the name
150 of SqWebMail, however its configuration is customized for the Courier
153 %description webmail -l pl
154 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
155 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
156 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
157 nie obs³uguje skrzynek w postaci pojedynczych plików.
159 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
160 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
163 Summary: Courier Integrated Mailing List Manager
164 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
165 Group: Applications/Mail
166 Requires: %{name} = %{version}
169 This package installs couriermlm - a mailing list manager for the
170 Courier mail server. If you do not need the ability to manage mailing
171 lists, you do not need to install this package.
173 couriermlm is used to set up, maintain, and run a mailing list.
174 couriermlm automatically processes subscription and unsubscription
175 requests, and removes undeliverable addresses from the subscription
176 rolls. Mailing lists managed by couriermlm require zero human
177 administrative oversight. couriermlm supports digests, write-only
178 posting aliases, and moderated mailing lists.
180 %description mlm -l pl
181 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
182 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
183 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
184 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
185 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
186 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
187 aliasy pocztowe tylko do wysy³ania i listy moderowane.
190 Summary: Courier Integrated mail filter
191 Summary(pl): Zintegrowany filtr poczty do Couriera
192 Group: Applications/Mail
193 Requires: %{name} = %{version}
195 %description maildrop
196 This package installs Courier mail server's integrated mail filter.
197 You need to install this package if you want to be able to filter your
200 %description maildrop -l pl
201 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
202 potrzebny do filtrowania przychodz±cej poczty.
205 Summary: Courier mail server authenticated ESMTP module
206 Summary(pl): Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
207 Group: Networking/Daemons
208 Requires: %{name} = %{version}
210 %description smtpauth
211 Authenticated ESMTP allows remote users to authenticate themselves and
212 be able to relay outbound mail through the Courier mail server.
214 %description smtpauth -l pl
215 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
216 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
220 Summary: LDAP authentication daemon for Courier mail server
221 Summary(pl): Demon autentykacji LDAP do Couriera
222 Group: Networking/Daemons
223 PreReq: %{name} = %{version}
225 %description authldap
226 This package provides LDAP authentication for Courier.
228 %description authldap -l pl
229 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
232 Summary: MySQL authentication daemon for Courier mail server
233 Summary(pl): Demon autentykacji MySQL do Couriera
234 Group: Networking/Daemons
235 PreReq: %{name} = %{version}
237 %description authmysql
238 This package provides MySQL authentication for Courier.
240 %description authmysql -l pl
241 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
244 Summary: PostgreSQL authentication daemon for Courier mail server
245 Summary(pl): Demon autentykacji PostgreSQL do Couriera
246 Group: Networking/Daemons
247 PreReq: %{name} = %{version}
249 %description authpgsql
250 This package provides PostgreSQL authentication for Courier.
252 %description authpgsql -l pl
253 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
258 %{!?with_fam:%patch1 -p1}
262 # we don't want fax module
263 rm -rf courier/module.fax
279 --localstatedir=%{_localstatedir} \
280 --sysconfdir=%{_sysconfdir} \
281 --mandir=%{_mandir} \
282 --enable-imageurl=%{_imageurl} \
289 rm -rf $RPM_BUILD_ROOT
291 install -d -p $RPM_BUILD_ROOT{%{_prefix},/etc/{cron.hourly,pam.d},%{initdir}} \
292 $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
293 $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}{/calendar,/tmp/broken}} \
294 $RPM_BUILD_ROOT/etc/cron.hourly
297 DESTDIR=$RPM_BUILD_ROOT
300 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
301 for X in imap esmtp pop3 webmail calendar
303 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
305 auth required /lib/security/pam_unix.so shadow nullok
306 account required /lib/security/pam_unix.so
307 session required /lib/security/pam_unix.so
312 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
313 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
314 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
315 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
316 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
317 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
318 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
319 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
320 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
321 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
322 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
323 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
324 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
325 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
326 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
327 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
328 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
329 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
330 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
333 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
334 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
335 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
336 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
337 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
338 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
339 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
340 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
341 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
342 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
343 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
344 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
345 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
346 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
347 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
348 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
349 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
350 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
351 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
352 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
354 %{__make} install-perms
356 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
357 # This removes all webmail-related stuff from the main filelist,
358 # and adds everything except the executable, webmail, to filelist.webmail.
361 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
362 $RPM_BUILD_ROOT%{_cgibindir}/webmail
364 # And here's why we delete all images from filelist.webmail:
365 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
367 # install a cron job to clean out webmail's cache
368 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
370 # Move .html documentation back to build dir, so that RPM will move it to
371 # the appropriate docdir
375 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
378 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
379 # package, so after it's installed they should be runnable.
381 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
382 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
384 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
385 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
387 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
388 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
390 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
391 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
393 # Want to have esmtpd running by default
394 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
395 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
397 # run script from install-configure (make config files)
398 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
399 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
402 # make locals, esmtpacceptmailfor.dir/esmtpacceptmailfor
403 for X in locals esmtpacceptmailfor.dir/esmtpacceptmailfor
405 echo localhost >$RPM_BUILD_ROOT%{_sysconfdir}/$X
408 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
411 # Red Hat /etc/profile.d scripts
414 install -d $RPM_BUILD_ROOT/etc/profile.d
415 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
416 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
422 PATH="%{_sbindir}:\$PATH"
424 PATH="%{_bindir}:\$PATH"
429 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
431 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
439 setenv PATH "%{_sbindir}:\$PATH"
441 setenv PATH "%{_bindir}:\$PATH"
446 # sendmail soft links
449 install -d $RPM_BUILD_ROOT/usr/sbin
450 install -d $RPM_BUILD_ROOT/usr/lib
452 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/sbin/sendmail
453 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
455 # This link by default is missing
456 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
458 # remove unpackaged files
459 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
460 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
461 rm -rf $RPM_BUILD_ROOT%{_datadir}/htmldoc
462 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
463 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/maildir.5*
466 rm -rf $RPM_BUILD_ROOT
469 /sbin/chkconfig --add courier
470 %{_sbindir}/makealiases 2>/dev/null || true
471 %{_sbindir}/makesmtpaccess 2>/dev/null || true
473 # If we do not have a certificate, make one up.
474 if [ ! -f %{_datadir}/esmtpd.pem ]; then
475 %{_sbindir}/mkesmtpdcert
479 Now courier will refuse to accept SMTP messages except to localhost
480 add hosts to /etc/courier/esmtpacceptmailfor.dir/esmtpacceptmailfor
481 run /usr/lib/courier/sbin/makeacceptmailfor
482 Enter user, who should receive mail for root, mailer-daemon and postmaster
483 into /etc/courier/aliases/system
487 if [ "$1" = "0" ]; then
488 %{initdir}/courier stop
489 /sbin/chkconfig --del courier
493 # If we do not have a certificate, make one up.
494 if [ ! -f %{_datadir}/imapd.pem ]; then
495 %{_sbindir}/mkimapdcert
497 %{_sbindir}/imapd stop
498 %{_sbindir}/imapd start
499 %{_sbindir}/imapd-ssl stop
500 %{_sbindir}/imapd-ssl start
503 if [ "$1" = "0" ]; then
504 %{_sbindir}/imapd stop
505 %{_sbindir}/imapd-ssl stop
509 # If we do not have a certificate, make one up.
510 if [ ! -f %{_datadir}/pop3d.pem ]; then
511 %{_sbindir}/mkpop3dcert
513 %{_sbindir}/pop3d stop
514 %{_sbindir}/pop3d start
517 Add hosts to /etc/courier/locals you want to accept mail for
518 run /usr/lib/courier/sbin/makealiases
522 if [ "$1" = "0" ]; then
523 %{_sbindir}/pop3d stop
527 if ps -A |grep -q authdaemond; then
528 %{_prefix}/lib/courier/sqwebmaild start
532 if ps -A |grep -q sqwebmaild; then
533 %{_prefix}/lib/courier/sqwebmaild stop
537 %{_sbindir}/esmtpd stop
538 %{_sbindir}/esmtpd start
540 echo Remember to enable auth in esmtp config files
543 if [ "$1" = "0" ]; then
544 %{_sbindir}/esmtpd stop
545 %{_sbindir}/esmtpd start
549 if ps -A |grep -q authdaemond; then
550 %{_libdir}/authlib/authdaemond stop
551 %{_libdir}/authlib/authdaemond start
555 if [ -x %{_libdir}/authlib/authdaemond ]; then
556 if ps -A |grep -q authdaemond; then
557 %{_libdir}/authlib/authdaemond stop;
558 %{_libdir}/authlib/authdaemond start;
563 if ps -A |grep -q authdaemond; then
564 %{_libdir}/authlib/authdaemond stop
565 %{_libdir}/authlib/authdaemond start
569 if [ -x %{_libdir}/authlib/authdaemond ]; then
570 if ps -A |grep -q authdaemond; then
571 %{_libdir}/authlib/authdaemond stop;
572 %{_libdir}/authlib/authdaemond start;
577 if ps -A |grep -q authdaemond; then
578 %{_libdir}/authlib/authdaemond stop
579 %{_libdir}/authlib/authdaemond start
583 if [ -x %{_libdir}/authlib/authdaemond ]; then
584 if ps -A |grep -q authdaemond; then
585 %{_libdir}/authlib/authdaemond stop;
586 %{_libdir}/authlib/authdaemond start;
591 %defattr(644,root,root,755)
592 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
593 %{_mandir}/man1/sendmail.1*
594 %{_mandir}/man1/preline.1*
595 %{_mandir}/man1/maildirmake.1*
596 %{_mandir}/man1/maildirkw.1*
597 %{_mandir}/man1/cancelmsg.1*
598 %{_mandir}/man1/lockmail.1*
599 %{_mandir}/man1/mailbot.1*
600 %{_mandir}/man1/makemime.1*
601 %{_mandir}/man1/mimegpg.1*
602 %{_mandir}/man1/makedat.1*
603 %{_mandir}/man1/testmxlookup.1*
604 %{_mandir}/man1/dot-forward.1*
605 %{_mandir}/man1/couriertls.1*
606 %{_mandir}/man1/mailq*
607 %{_mandir}/man1/couriertcpd*
608 %{_mandir}/man1/dotforward.1*
609 %{_mandir}/man1/rmail.1*
610 %{_mandir}/man5/dot-courier.5*
611 %{_mandir}/man7/localmailfilter.7*
612 %{_mandir}/man7/maildirquota.7*
613 %{_mandir}/man7/authlib.7*
614 %{_mandir}/man7/authcram.7*
615 %{_mandir}/man7/authdaemon.7*
616 %{_mandir}/man7/authdaemond.7*
617 %{_mandir}/man7/authpam.7*
618 %{_mandir}/man7/authpwd.7*
619 %{_mandir}/man7/authshadow.7*
620 %{_mandir}/man7/authuserdb.7*
621 %{_mandir}/man7/authvchkpw.7*
622 %{_mandir}/man8/courierfilter.8*
623 %{_mandir}/man8/courierperlfilter.8*
624 %{_mandir}/man8/dupfilter.8*
625 %{_mandir}/man8/courier.8*
626 %{_mandir}/man8/courierldapaliasd.8*
627 %{_mandir}/man8/deliverquota.8*
628 %{_mandir}/man8/esmtpd.8*
629 %{_mandir}/man8/makeacceptmailfor.8*
630 %{_mandir}/man8/makehosteddomains.8*
631 %{_mandir}/man8/mkesmtpdcert.8*
632 %{_mandir}/man8/makealiases.8*
633 %{_mandir}/man8/makepercentrelay.8*
634 %{_mandir}/man8/makesmtpaccess.8*
635 %{_mandir}/man8/makeuserdb.8*
636 %{_mandir}/man8/submit.8*
637 %{_mandir}/man8/userdb.8*
638 %{_mandir}/man8/userdbpw.8*
639 %{_mandir}/man8/courieruucp.8*
640 %{_mandir}/man8/esmtpd-msa.8*
641 %{_mandir}/man8/filterctl.8*
642 %{_mandir}/man8/makesmtpaccess-msa.8*
643 %{_mandir}/man8/makeuucpneighbors.8*
644 %{_mandir}/man8/pw2userdb.8*
645 %{_mandir}/man8/vchkpw2userdb.8*
647 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
648 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
649 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
650 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
651 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
652 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
653 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/esmtpacceptmailfor
654 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
655 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
656 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
661 %dir %{_libdir}/courier
663 %{_datadir}/rootcerts
664 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
665 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
666 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
667 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
668 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
669 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
670 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
671 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
672 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
673 %{_datadir}/courierwebadmin/login.html
674 %{_datadir}/courierwebadmin/admin-save.html
675 %{_datadir}/courierwebadmin/admin-main.html
676 %{_datadir}/courierwebadmin/unsecure.html
677 %dir %{_libdir}/filters
678 %attr(755,root,root) %{_libdir}/filters/*
679 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
680 %dir %{_localstatedir}
681 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
682 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
683 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
684 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
685 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
686 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
687 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
688 %attr(754,root,daemon) %{_datadir}/filterctl
689 %attr(754,root,daemon) %{_sbindir}/filterctl
690 %attr(754,root,daemon) %{_sbindir}/courierfilter
691 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[01235]*.pl
692 %{_datadir}/courierwebadmin/admin-[01235]*.html
693 %{_datadir}/courierwebadmin/webadmin.pm
694 %{_datadir}/courierwebadmin/notsupp.html
695 %dir %{_libdir}/courier/modules
696 %dir %{_libdir}/courier/modules/uucp
697 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
698 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
699 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
700 %attr(755,root,root) %{_datadir}/makeuucpneighbors
701 %dir %{_libdir}/courier/modules/local
702 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
703 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
704 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
705 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
706 %attr(755,root,root) %{_bindir}/preline
707 %dir %{_libdir}/courier/modules/esmtp
708 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
709 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
710 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
711 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
712 %attr(755,root,root) %{_sbindir}/courieresmtpd
713 %attr(755,root,root) %{_bindir}/addcr
714 %attr(755,root,root) %{_sbindir}/esmtpd
715 %attr(755,root,root) %{_datadir}/esmtpd
716 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
717 %attr(755,root,root) %{_datadir}/esmtpd-ssl
718 %attr(755,root,root) %{_sbindir}/makesmtpaccess
719 %attr(755,root,root) %{_datadir}/makesmtpaccess
720 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
721 %attr(755,root,root) %{_datadir}/makeacceptmailfor
722 %attr(755,root,root) %{_sbindir}/makepercentrelay
723 %attr(755,root,root) %{_datadir}/makepercentrelay
724 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
725 %attr(755,root,root) %{_datadir}/mkesmtpdcert
726 %attr(755,root,root) %{_sbindir}/esmtpd-msa
727 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
728 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
729 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
730 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_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 size mtime md5) %{_sysconfdir}/esmtpd.cnf
734 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
735 %dir %{_libdir}/courier/modules/dsn
736 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
737 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
738 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
739 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
740 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
741 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
742 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
743 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
744 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
745 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
746 %{_libdir}/courier/modules/modules.ctl
747 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
748 %attr(750,root,daemon) %{_libdir}/courier/courierd
749 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
750 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
751 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
752 %attr(750,root,daemon) %{_libdir}/courier/submit
753 %attr(755,root,root) %{_libdir}/courier/makedatprog
754 %attr(755,root,root) %{_libdir}/%{name}/pcpd
755 %attr(755,root,root) %{_sbindir}/courier
756 %attr(755,root,root) %{_sbindir}/showconfig
757 %attr(750,root,daemon) %{_sbindir}/showmodules
758 %attr(755,root,root) %{_sbindir}/userdbpw
759 %attr(755,root,root) %{_sbindir}/couriertcpd
760 %attr(755,root,root) %{_sbindir}/courierlogger
761 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
762 %attr(755,root,root) %{_bindir}/courier-config
763 %attr(2755,root,daemon) %{_bindir}/mailq
764 %attr(755,root,root) %{_bindir}/maildirmake
765 %attr(755,root,root) %{_bindir}/maildirkw
766 %attr(4755,root,root) %{_bindir}/sendmail
767 %attr(4755,root,root) %{_bindir}/rmail
768 %attr(755,root,root) %{_bindir}/lockmail
769 %attr(755,root,root) %{_bindir}/deliverquota
770 %attr(755,root,root) %{_bindir}/mailbot
771 %attr(755,root,root) %{_bindir}/makemime
772 %attr(755,root,root) %{_bindir}/mimegpg
773 %attr(755,root,root) %{_bindir}/dotforward
774 %attr(755,root,root) %{_datadir}/makedat
775 %attr(755,root,root) %{_bindir}/makedat
776 %attr(755,root,root) %{_bindir}/testmxlookup
777 %attr(750,root,daemon) %{_datadir}/makealiases
778 %attr(750,root,daemon) %{_sbindir}/makealiases
779 %attr(755,root,root) %{_datadir}/makehosteddomains
780 %attr(755,root,root) %{_sbindir}/makehosteddomains
781 %attr(755,root,root) %{_datadir}/makeuserdb
782 %attr(755,root,root) %{_sbindir}/makeuserdb
783 %attr(755,root,root) %{_datadir}/userdb
784 %attr(755,root,root) %{_sbindir}/userdb
785 %attr(755,root,root) %{_datadir}/pw2userdb
786 %attr(755,root,root) %{_sbindir}/pw2userdb
787 %attr(755,root,root) %{_datadir}/vchkpw2userdb
788 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
789 %attr(755,root,root) %{_datadir}/courierctl.start
790 %attr(755,root,root) %{_bindir}/couriertls
791 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
792 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
793 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
794 %dir %{_libdir}/authlib
795 %attr(755,root,root) %{_libdir}/authlib/authdaemon
796 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
797 %attr(755,root,root) %{_libdir}/authlib/authdaemond
798 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
799 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
800 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
801 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
802 %attr(755,root,root) %{_datadir}/authsystem.passwd
803 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
804 %attr(755,root,root) /etc/profile.d/courier.sh
805 %attr(755,root,root) /etc/profile.d/courier.csh
806 %attr(754,root,root) /etc/rc.d/init.d/courier
807 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
808 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
809 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
814 %defattr(644,root,root,755)
815 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
816 %{_mandir}/man8/courierpop3d.8*
817 %{_mandir}/man8/mkpop3dcert.8*
818 %{_mandir}/man8/pop3d.8*
819 %{_mandir}/man8/courierpop3login.8*
820 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
821 %{_datadir}/courierwebadmin/admin-45pop3.html
822 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
823 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
824 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
825 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
826 %attr(755,root,root) %{_libdir}/courier/courierpop3d
827 %attr(755,root,root) %{_libdir}/courier/courierpop3login
828 %attr(755,root,root) %{_datadir}/pop3d
829 %attr(755,root,root) %{_sbindir}/pop3d
830 %attr(755,root,root) %{_datadir}/pop3d-ssl
831 %attr(755,root,root) %{_sbindir}/pop3d-ssl
832 %attr(755,root,root) %{_datadir}/mkpop3dcert
833 %attr(755,root,root) %{_sbindir}/mkpop3dcert
836 %defattr(644,root,root,755)
837 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
838 %{_mandir}/man8/imapd.8*
839 %{_mandir}/man8/mkimapdcert.8*
840 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
841 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
842 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
843 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
844 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
845 %attr(755,root,root) %{_libdir}/courier/imaplogin
846 %attr(755,root,root) %{_sbindir}/imapd
847 %attr(755,root,root) %{_sbindir}/imapd-ssl
848 %attr(755,root,root) %{_datadir}/imapd
849 %attr(755,root,root) %{_datadir}/imapd-ssl
850 %attr(755,root,root) %{_bindir}/imapd
851 %attr(755,root,root) %{_datadir}/mkimapdcert
852 %attr(755,root,root) %{_sbindir}/mkimapdcert
855 %defattr(644,root,root,755)
856 %attr(4755,root,root) %{_cgibindir}/webmail
857 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
858 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
859 %{_documentrootdir}/webmail
860 %dir %{_datadir}/sqwebmail
861 %dir %{_datadir}/sqwebmail/html
862 %dir %{_datadir}/sqwebmail/html/en-us
863 %{_datadir}/sqwebmail/html/en
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-4*.pl
868 %{_datadir}/courierwebadmin/admin-4*.html
869 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
870 %attr(755,root,root) %{_sbindir}/webgpg
871 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
872 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
873 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
874 %attr(755,root,root) %{_libdir}/%{name}/sqwebmaild
875 %dir %{_libdir}/%{name}/webmail/
876 %attr(755,root,root) %{_libdir}/%{name}/webmail/webadmin
877 %attr(755,root,root) %{_libdir}/%{name}/webmail/webmail
878 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
879 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
882 %defattr(644,root,root,755)
883 %{_mandir}/man1/maildrop.1*
884 %{_mandir}/man1/refor*
885 %{_mandir}/man5/maildrop*
886 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
887 %attr(755,root,root) %{_bindir}/reformail
888 %attr(755,root,root) %{_bindir}/reformime
889 %attr(4755,root,root) %{_bindir}/maildrop
892 %defattr(644,root,root,755)
893 %{_mandir}/man1/couriermlm.1*
894 %attr(755,root,root) %{_bindir}/couriermlm
895 %{_datadir}/couriermlm
898 %defattr(644,root,root,755)
899 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
900 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
903 %{_mandir}/man7/authldap.7*
904 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
905 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
908 %{_mandir}/man7/authmysql.7*
909 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
910 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
913 %{_mandir}/man7/authpgsql.7*
914 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
915 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc