3 # - pam_stack.so - missing in PLD
6 %bcond_with fam # with fam support
8 Summary: Courier mail server
9 Summary(pl): Serwer poczty Courier
14 Group: Networking/Daemons
15 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
16 # Source0-md5: 8c607c70a692d8f8ccb769a3f96d2f28
17 Patch0: %{name}-openssl-path.patch
18 Patch1: %{name}-withoutfam.patch
19 URL: http://www.courier-mta.org/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: db-devel
24 BuildRequires: libstdc++-devel
25 BuildRequires: libtool
26 BuildRequires: mysql-devel
27 BuildRequires: mailcap
28 BuildRequires: openldap-devel
29 BuildRequires: openssl-devel >= 0.9.7c
30 BuildRequires: openssl-tools >= 0.9.7c
31 BuildRequires: openssl-tools-perl >= 0.9.7c
32 BuildRequires: pam-devel
33 BuildRequires: perl-devel
34 BuildRequires: sysconftool
35 BuildRequires: zlib-devel
36 %{?with_fam:BuildRequires: fam-devel}
37 Requires(post,preun): /sbin/chkconfig
38 %{?with_fam:Requires: fam}
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define apachedir /srv/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}
86 This package installs Courier mail server's integrated POP3 server,
87 which allows you to download mail from your mailbox using any POP3
88 client. Courier's POP3 server can only be used to download mail from
89 maildir mailboxes. This server does not support mailbox files. If you
90 do not need the ability to download your mail using a POP3 client, you
91 do not need to install this package.
93 %description pop3d -l pl
94 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
95 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
96 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
97 obs³uguje skrzynek w postaci pojedynczych plików.
100 Summary: Courier Integrated IMAP server
101 Summary(pl): Zintegrowany serwer IMAP do Couriera
102 Group: Networking/Daemons
103 Requires: %{name} = %{version}
104 Obsoletes: courier-imap
105 Obsoletes: courier-imap-common
108 This package installs Courier mail server's integrated IMAP server. If
109 you do not need the ability to download your mail using an IMAP mail
110 client, you do not need to install this package. Courier's IMAP server
111 can only be used to download mail from maildir mailboxes. This server
112 does not support mailbox files.
114 This package requires that Courier must be already installed, this is
115 NOT the standalone version of the Courier-IMAP server, and you cannot
116 install both this package, and the standalone version of Courier-IMAP.
117 If you have the standalone version of the Courier-IMAP server already
118 installed, installing this package will automatically remove the
121 %description imapd -l pl
122 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
123 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
124 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
127 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
128 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
129 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
130 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
133 Summary: Courier Integrated HTTP (webmail) server
134 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
135 Group: Networking/Daemons
136 Requires: %{name} = %{version}
137 Requires: %{_cgibindir}
138 Requires: %{_documentrootdir}
141 This package installs Courier mail server's integrated HTTP webmail
142 server. If you do not need the ability to access your mail using a web
143 browser, you do not need to install this package. Courier's webmail
144 server can only be used to download mail from maildir mailboxes. This
145 server does not support mailbox files.
147 This is the same server that's distributed separately under the name
148 of SqWebMail, however its configuration is customized for the Courier
151 %description webmail -l pl
152 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
153 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
154 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
155 nie obs³uguje skrzynek w postaci pojedynczych plików.
157 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
158 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
161 Summary: Courier Integrated Mailing List Manager
162 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
163 Group: Applications/Mail
164 Requires: %{name} = %{version}
167 This package installs couriermlm - a mailing list manager for the
168 Courier mail server. If you do not need the ability to manage mailing
169 lists, you do not need to install this package.
171 couriermlm is used to set up, maintain, and run a mailing list.
172 couriermlm automatically processes subscription and unsubscription
173 requests, and removes undeliverable addresses from the subscription
174 rolls. Mailing lists managed by couriermlm require zero human
175 administrative oversight. couriermlm supports digests, write-only
176 posting aliases, and moderated mailing lists.
178 %description mlm -l pl
179 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
180 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
181 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
182 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
183 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
184 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
185 aliasy pocztowe tylko do wysy³ania i listy moderowane.
188 Summary: Courier Integrated mail filter
189 Summary(pl): Zintegrowany filtr poczty do Couriera
190 Group: Applications/Mail
191 Requires: %{name} = %{version}
193 %description maildrop
194 This package installs Courier mail server's integrated mail filter.
195 You need to install this package if you want to be able to filter your
198 %description maildrop -l pl
199 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
200 potrzebny do filtrowania przychodz±cej poczty.
203 Summary: Courier mail server authenticated ESMTP module
204 Summary(pl): Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
205 Group: Networking/Daemons
206 Requires: %{name} = %{version}
208 %description smtpauth
209 Authenticated ESMTP allows remote users to authenticate themselves and
210 be able to relay outbound mail through the Courier mail server.
212 %description smtpauth -l pl
213 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
214 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
218 Summary: LDAP authentication daemon for Courier mail server
219 Summary(pl): Demon autentykacji LDAP do Couriera
220 Group: Networking/Daemons
221 PreReq: %{name} = %{version}
223 %description authldap
224 This package provides LDAP authentication for Courier.
226 %description authldap -l pl
227 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
230 Summary: MySQL authentication daemon for Courier mail server
231 Summary(pl): Demon autentykacji MySQL do Couriera
232 Group: Networking/Daemons
233 PreReq: %{name} = %{version}
235 %description authmysql
236 This package provides MySQL authentication for Courier.
238 %description authmysql -l pl
239 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
242 Summary: PostgreSQL authentication daemon for Courier mail server
243 Summary(pl): Demon autentykacji PostgreSQL do Couriera
244 Group: Networking/Daemons
245 PreReq: %{name} = %{version}
247 %description authpgsql
248 This package provides PostgreSQL authentication for Courier.
250 %description authpgsql -l pl
251 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
256 %{!?with_fam:%patch1 -p1}
259 # we don't want fax module
260 rm -rf courier/module.fax
276 --localstatedir=%{_localstatedir} \
277 --sysconfdir=%{_sysconfdir} \
278 --mandir=%{_mandir} \
279 --enable-imageurl=%{_imageurl} \
286 rm -rf $RPM_BUILD_ROOT
288 install -d -p $RPM_BUILD_ROOT{%{_prefix},/etc/{cron.hourly,pam.d},%{initdir}} \
289 $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
290 $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}{/calendar,/tmp/broken}} \
291 $RPM_BUILD_ROOT/etc/cron.hourly
294 DESTDIR=$RPM_BUILD_ROOT
296 ln -sf %{_sysconfdir}/pop3d.authpam $RPM_BUILD_ROOT/etc/pam.d/pop3
297 ln -sf %{_sysconfdir}/esmtp.authpam $RPM_BUILD_ROOT/etc/pam.d/esmtp
298 ln -sf %{_sysconfdir}/imapd.authpam $RPM_BUILD_ROOT/etc/pam.d/imap
299 ln -sf %{_sysconfdir}/webmail.authpam $RPM_BUILD_ROOT/etc/pam.d/webmail
302 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
303 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
304 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
305 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
306 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
307 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
308 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
309 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
310 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
311 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
312 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
313 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
314 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
315 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
316 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
317 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
318 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
319 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
320 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
323 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
324 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
325 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
326 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
327 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
328 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
329 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
330 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
331 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
332 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
333 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
334 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
335 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
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 makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
341 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
342 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
344 %{__make} install-perms
346 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
347 # This removes all webmail-related stuff from the main filelist,
348 # and adds everything except the executable, webmail, to filelist.webmail.
351 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
352 $RPM_BUILD_ROOT%{_cgibindir}/webmail
354 # And here's why we delete all images from filelist.webmail:
355 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
357 # install a cron job to clean out webmail's cache
358 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
360 # Move .html documentation back to build dir, so that RPM will move it to
361 # the appropriate docdir
365 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
368 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
369 # package, so after it's installed they should be runnable.
371 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
372 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
374 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
375 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
377 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
378 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
380 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
381 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
383 # Want to have esmtpd running by default
384 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
385 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
387 # run script from install-configure (make config files)
388 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
389 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
392 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
395 # Red Hat /etc/profile.d scripts
398 install -d $RPM_BUILD_ROOT/etc/profile.d
399 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
400 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
406 PATH="%{_sbindir}:\$PATH"
408 PATH="%{_bindir}:\$PATH"
413 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
415 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
423 setenv PATH "%{_sbindir}:\$PATH"
425 setenv PATH "%{_bindir}:\$PATH"
430 # sendmail soft links
433 install -d $RPM_BUILD_ROOT/usr/sbin
434 install -d $RPM_BUILD_ROOT/usr/lib
436 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/sbin/sendmail
437 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
439 # This link by default is missing
440 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
442 # remove unpackaged files
443 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
444 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
445 rm -rf $RPM_BUILD_ROOT%{_datadir}/htmldoc
446 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
447 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/maildir.5*
450 rm -rf $RPM_BUILD_ROOT
453 /sbin/chkconfig --add courier
454 %{_sbindir}/makealiases 2>/dev/null || true
455 %{_sbindir}/makesmtpaccess 2>/dev/null || true
457 # If we do not have a certificate, make one up.
458 if [ ! -f %{_datadir}/esmtpd.pem ]; then
459 %{_sbindir}/mkesmtpdcert
464 if [ "$1" = "0" ]; then
465 %{initdir}/courier stop
466 /sbin/chkconfig --del courier
470 # If we do not have a certificate, make one up.
471 if [ ! -f %{_datadir}/imapd.pem ]; then
472 %{_sbindir}/mkimapdcert
474 %{_sbindir}/imapd stop
475 %{_sbindir}/imapd start
476 %{_sbindir}/imapd-ssl stop
477 %{_sbindir}/imapd-ssl start
480 if [ "$1" = "0" ]; then
481 %{_sbindir}/imapd stop
482 %{_sbindir}/imapd-ssl stop
486 %{_sbindir}/pop3d stop
487 %{_sbindir}/pop3d start
490 if [ "$1" = "0" ]; then
491 %{_sbindir}/pop3d stop
495 %{_sbindir}/esmtpd stop
496 %{_sbindir}/esmtpd start
499 if [ "$1" = "0" ]; then
500 %{_sbindir}/esmtpd stop
501 %{_sbindir}/esmtpd start
505 if ps -A |grep -q authdaemond; then
506 %{_libdir}/authlib/authdaemond stop
507 %{_libdir}/authlib/authdaemond start
511 if [ -x %{_libdir}/authlib/authdaemond ]; then
512 if ps -A |grep -q authdaemond; then
513 %{_libdir}/authlib/authdaemond stop;
514 %{_libdir}/authlib/authdaemond start;
519 if ps -A |grep -q authdaemond; then
520 %{_libdir}/authlib/authdaemond stop
521 %{_libdir}/authlib/authdaemond start
525 if [ -x %{_libdir}/authlib/authdaemond ]; then
526 if ps -A |grep -q authdaemond; then
527 %{_libdir}/authlib/authdaemond stop;
528 %{_libdir}/authlib/authdaemond start;
533 if ps -A |grep -q authdaemond; then
534 %{_libdir}/authlib/authdaemond stop
535 %{_libdir}/authlib/authdaemond start
539 if [ -x %{_libdir}/authlib/authdaemond ]; then
540 if ps -A |grep -q authdaemond; then
541 %{_libdir}/authlib/authdaemond stop;
542 %{_libdir}/authlib/authdaemond start;
547 %defattr(644,root,root,755)
548 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
549 %{_mandir}/man1/sendmail.1*
550 %{_mandir}/man1/preline.1*
551 %{_mandir}/man1/maildirmake.1*
552 %{_mandir}/man1/maildirkw.1*
553 %{_mandir}/man1/cancelmsg.1*
554 %{_mandir}/man1/lockmail.1*
555 %{_mandir}/man1/mailbot.1*
556 %{_mandir}/man1/makemime.1*
557 %{_mandir}/man1/mimegpg.1*
558 %{_mandir}/man1/makedat.1*
559 %{_mandir}/man1/testmxlookup.1*
560 %{_mandir}/man1/dot-forward.1*
561 %{_mandir}/man1/couriertls.1*
562 %{_mandir}/man1/mailq*
563 %{_mandir}/man1/couriertcpd*
564 %{_mandir}/man1/dotforward.1*
565 %{_mandir}/man1/rmail.1*
566 %{_mandir}/man5/dot-courier.5*
567 %{_mandir}/man7/localmailfilter.7*
568 %{_mandir}/man7/maildirquota.7*
569 %{_mandir}/man7/authlib.7*
570 %{_mandir}/man7/authcram.7*
571 %{_mandir}/man7/authdaemon.7*
572 %{_mandir}/man7/authdaemond.7*
573 %{_mandir}/man7/authpam.7*
574 %{_mandir}/man7/authpwd.7*
575 %{_mandir}/man7/authshadow.7*
576 %{_mandir}/man7/authuserdb.7*
577 %{_mandir}/man7/authvchkpw.7*
578 %{_mandir}/man8/courierfilter.8*
579 %{_mandir}/man8/courierperlfilter.8*
580 %{_mandir}/man8/dupfilter.8*
581 %{_mandir}/man8/courier.8*
582 %{_mandir}/man8/courierldapaliasd.8*
583 %{_mandir}/man8/deliverquota.8*
584 %{_mandir}/man8/esmtpd.8*
585 %{_mandir}/man8/makeacceptmailfor.8*
586 %{_mandir}/man8/makehosteddomains.8*
587 %{_mandir}/man8/mkesmtpdcert.8*
588 %{_mandir}/man8/makealiases.8*
589 %{_mandir}/man8/makepercentrelay.8*
590 %{_mandir}/man8/makesmtpaccess.8*
591 %{_mandir}/man8/makeuserdb.8*
592 %{_mandir}/man8/submit.8*
593 %{_mandir}/man8/userdb.8*
594 %{_mandir}/man8/userdbpw.8*
595 %{_mandir}/man8/courieruucp.8*
596 %{_mandir}/man8/esmtpd-msa.8*
597 %{_mandir}/man8/filterctl.8*
598 %{_mandir}/man8/makesmtpaccess-msa.8*
599 %{_mandir}/man8/makeuucpneighbors.8*
600 %{_mandir}/man8/pw2userdb.8*
601 %{_mandir}/man8/vchkpw2userdb.8*
603 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
604 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
605 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
606 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
607 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
608 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
609 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
610 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
611 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
616 %dir %{_libdir}/courier
618 %{_datadir}/rootcerts
619 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
620 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
621 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
622 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
623 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
624 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
625 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
626 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
627 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
628 %{_datadir}/courierwebadmin/login.html
629 %{_datadir}/courierwebadmin/admin-save.html
630 %{_datadir}/courierwebadmin/admin-main.html
631 %{_datadir}/courierwebadmin/unsecure.html
632 %dir %{_libdir}/filters
633 %attr(755,root,root) %{_libdir}/filters/*
634 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
635 %dir %{_localstatedir}
636 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
637 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
638 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
639 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
640 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
641 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
642 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
643 %attr(754,root,daemon) %{_datadir}/filterctl
644 %attr(754,root,daemon) %{_sbindir}/filterctl
645 %attr(754,root,daemon) %{_sbindir}/courierfilter
646 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[01235]*.pl
647 %{_datadir}/courierwebadmin/admin-[01235]*.html
648 %{_datadir}/courierwebadmin/webadmin.pm
649 %{_datadir}/courierwebadmin/notsupp.html
650 %dir %{_libdir}/courier/modules
651 %dir %{_libdir}/courier/modules/uucp
652 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
653 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
654 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
655 %attr(755,root,root) %{_datadir}/makeuucpneighbors
656 %dir %{_libdir}/courier/modules/local
657 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
658 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
659 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
660 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
661 %attr(755,root,root) %{_bindir}/preline
662 %dir %{_libdir}/courier/modules/esmtp
663 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
664 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
665 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
666 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
667 %attr(755,root,root) %{_sbindir}/courieresmtpd
668 %attr(755,root,root) %{_bindir}/addcr
669 %attr(755,root,root) %{_sbindir}/esmtpd
670 %attr(755,root,root) %{_datadir}/esmtpd
671 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
672 %attr(755,root,root) %{_datadir}/esmtpd-ssl
673 %attr(755,root,root) %{_sbindir}/makesmtpaccess
674 %attr(755,root,root) %{_datadir}/makesmtpaccess
675 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
676 %attr(755,root,root) %{_datadir}/makeacceptmailfor
677 %attr(755,root,root) %{_sbindir}/makepercentrelay
678 %attr(755,root,root) %{_datadir}/makepercentrelay
679 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
680 %attr(755,root,root) %{_datadir}/mkesmtpdcert
681 %attr(755,root,root) %{_sbindir}/esmtpd-msa
682 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
683 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
684 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
685 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
686 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
687 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
688 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtp.authpam
689 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
690 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
691 %dir %{_libdir}/courier/modules/dsn
692 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
693 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
694 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
695 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
696 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
697 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
698 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
699 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
700 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
701 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
702 %{_libdir}/courier/modules/modules.ctl
703 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
704 %attr(750,root,daemon) %{_libdir}/courier/courierd
705 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
706 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
707 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
708 %attr(750,root,daemon) %{_libdir}/courier/submit
709 %attr(755,root,root) %{_libdir}/courier/makedatprog
710 %attr(755,root,root) %{_libdir}/%{name}/pcpd
711 %attr(755,root,root) %{_sbindir}/courier
712 %attr(755,root,root) %{_sbindir}/showconfig
713 %attr(750,root,daemon) %{_sbindir}/showmodules
714 %attr(755,root,root) %{_sbindir}/userdbpw
715 %attr(755,root,root) %{_sbindir}/couriertcpd
716 %attr(755,root,root) %{_sbindir}/courierlogger
717 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
718 %attr(755,root,root) %{_bindir}/courier-config
719 %attr(2755,root,daemon) %{_bindir}/mailq
720 %attr(755,root,root) %{_bindir}/maildirmake
721 %attr(755,root,root) %{_bindir}/maildirkw
722 %attr(4755,root,root) %{_bindir}/sendmail
723 %attr(4755,root,root) %{_bindir}/rmail
724 %attr(755,root,root) %{_bindir}/lockmail
725 %attr(755,root,root) %{_bindir}/deliverquota
726 %attr(755,root,root) %{_bindir}/mailbot
727 %attr(755,root,root) %{_bindir}/makemime
728 %attr(755,root,root) %{_bindir}/mimegpg
729 %attr(755,root,root) %{_bindir}/dotforward
730 %attr(755,root,root) %{_datadir}/makedat
731 %attr(755,root,root) %{_bindir}/makedat
732 %attr(755,root,root) %{_bindir}/testmxlookup
733 %attr(750,root,daemon) %{_datadir}/makealiases
734 %attr(750,root,daemon) %{_sbindir}/makealiases
735 %attr(755,root,root) %{_datadir}/makehosteddomains
736 %attr(755,root,root) %{_sbindir}/makehosteddomains
737 %attr(755,root,root) %{_datadir}/makeuserdb
738 %attr(755,root,root) %{_sbindir}/makeuserdb
739 %attr(755,root,root) %{_datadir}/userdb
740 %attr(755,root,root) %{_sbindir}/userdb
741 %attr(755,root,root) %{_datadir}/pw2userdb
742 %attr(755,root,root) %{_sbindir}/pw2userdb
743 %attr(755,root,root) %{_datadir}/vchkpw2userdb
744 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
745 %attr(755,root,root) %{_datadir}/courierctl.start
746 %attr(755,root,root) %{_bindir}/couriertls
747 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
748 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
749 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
750 %dir %{_libdir}/authlib
751 %attr(755,root,root) %{_libdir}/authlib/authdaemon
752 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
753 %attr(755,root,root) %{_libdir}/authlib/authdaemond
754 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
755 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
756 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
757 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
758 %attr(755,root,root) %{_datadir}/authsystem.passwd
759 %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
760 %attr(755,root,root) /etc/profile.d/courier.sh
761 %attr(755,root,root) /etc/profile.d/courier.csh
762 %attr(754,root,root) /etc/rc.d/init.d/courier
763 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
764 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
765 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
770 %defattr(644,root,root,755)
771 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
772 %{_mandir}/man8/courierpop3d.8*
773 %{_mandir}/man8/mkpop3dcert.8*
774 %{_mandir}/man8/pop3d.8*
775 %{_mandir}/man8/courierpop3login.8*
776 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
777 %{_datadir}/courierwebadmin/admin-45pop3.html
778 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
779 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.authpam
780 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
781 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
782 %attr(755,root,root) %{_libdir}/courier/courierpop3d
783 %attr(755,root,root) %{_libdir}/courier/courierpop3login
784 %attr(755,root,root) %{_datadir}/pop3d
785 %attr(755,root,root) %{_sbindir}/pop3d
786 %attr(755,root,root) %{_datadir}/pop3d-ssl
787 %attr(755,root,root) %{_sbindir}/pop3d-ssl
788 %attr(755,root,root) %{_datadir}/mkpop3dcert
789 %attr(755,root,root) %{_sbindir}/mkpop3dcert
792 %defattr(644,root,root,755)
793 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
794 %{_mandir}/man8/imapd.8*
795 %{_mandir}/man8/mkimapdcert.8*
796 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
797 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
798 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
799 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
800 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.authpam
801 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
802 %attr(755,root,root) %{_libdir}/courier/imaplogin
803 %attr(755,root,root) %{_sbindir}/imapd
804 %attr(755,root,root) %{_sbindir}/imapd-ssl
805 %attr(755,root,root) %{_datadir}/imapd
806 %attr(755,root,root) %{_datadir}/imapd-ssl
807 %attr(755,root,root) %{_bindir}/imapd
808 %attr(755,root,root) %{_datadir}/mkimapdcert
809 %attr(755,root,root) %{_sbindir}/mkimapdcert
812 %defattr(644,root,root,755)
813 %attr(4755,root,root) %{_cgibindir}/webmail
814 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
815 %{_documentrootdir}/webmail
816 %dir %{_datadir}/sqwebmail
817 %dir %{_datadir}/sqwebmail/html
818 %dir %{_datadir}/sqwebmail/html/en-us
819 %{_datadir}/sqwebmail/html/en
820 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
821 %{_datadir}/sqwebmail/html/en-us/*.html
822 %{_datadir}/sqwebmail/html/en-us/*.txt
823 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-4*.pl
824 %{_datadir}/courierwebadmin/admin-4*.html
825 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
826 %attr(755,root,root) %{_sbindir}/webgpg
827 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
828 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
829 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
830 %attr(755,root,root) %{_libdir}/%{name}/sqwebmaild
831 %dir %{_libdir}/%{name}/webmail/
832 %attr(755,root,root) %{_libdir}/%{name}/webmail/webadmin
833 %attr(755,root,root) %{_libdir}/%{name}/webmail/webmail
834 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
835 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webmail.authpam
836 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
839 %defattr(644,root,root,755)
840 %{_mandir}/man1/maildrop.1*
841 %{_mandir}/man1/refor*
842 %{_mandir}/man5/maildrop*
843 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
844 %attr(755,root,root) %{_bindir}/reformail
845 %attr(755,root,root) %{_bindir}/reformime
846 %attr(4755,root,root) %{_bindir}/maildrop
849 %defattr(644,root,root,755)
850 %{_mandir}/man1/couriermlm.1*
851 %attr(755,root,root) %{_bindir}/couriermlm
852 %{_datadir}/couriermlm
855 %defattr(644,root,root,755)
856 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
857 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
860 %{_mandir}/man7/authldap.7*
861 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
862 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
865 %{_mandir}/man7/authmysql.7*
866 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
867 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
870 %{_mandir}/man7/authpgsql.7*
871 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
872 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc