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 Patch3: %{name}-no_res_query.patch
18 URL: http://www.courier-mta.org/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: db-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: libtool
25 BuildRequires: mailcap
26 BuildRequires: mysql-devel
27 BuildRequires: openldap-devel
28 BuildRequires: openssl-devel >= 0.9.7c
29 BuildRequires: openssl-tools >= 0.9.7c
30 BuildRequires: openssl-tools-perl >= 0.9.7c
31 BuildRequires: pam-devel
32 BuildRequires: perl-devel
33 BuildRequires: postgresql-devel
34 BuildRequires: sysconftool
35 BuildRequires: zlib-devel
36 %{?with_fam:BuildRequires: fam-devel}
37 Requires(post,preun): /sbin/chkconfig
38 Requires(post): openssl-tools >= 0.9.7c
39 %{?with_fam:Requires: fam}
47 Obsoletes: sendmail-cf
48 Obsoletes: sendmail-doc
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 %define apachedir /home/services/httpd
54 %define _datadir %{_prefix}/share/courier
55 %define _mandir /usr/share/man
56 %define _libdir %{_prefix}/%{_lib}/courier
57 %define _libexecdir %{_libdir}
58 %define _localstatedir /var/spool/courier
59 %define _sysconfdir /etc/courier
60 %define initdir /etc/rc.d/init.d
62 # Change the following if your DocumentRoot and cgibindir differ. This is
63 # the default redhat build:
65 %define _cgibindir %{apachedir}/cgi-bin
66 %define _documentrootdir %{apachedir}/html
67 %define _imageurl /webmail/
70 Courier is a fully functional mail server, that can completely take
71 over the mail services normally provided by sendmail, Qmail, or any
72 other mail server. Although Courier does not support all legacy
73 features of existing mail servers, the number of obsoleted functions
74 is very small, and there are better, and more robust, alternatives
77 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
78 Courier also implements several new SMTP extensions for mailing list
79 management and spam filtering.
82 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
83 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
84 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
85 ilo¶æ nie obs³ugiwanych funkcji jesgt bardzo ma³a, i s± dostêpne
88 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
89 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
93 Summary: Courier Integrated POP3 server
94 Summary(pl): Zintegrowany serwer POP3 do Couriera
95 Group: Networking/Daemons
96 Requires: %{name} = %{version}-%{version}
97 Requires(post): openssl-tools >= 0.9.7c
100 This package installs Courier mail server's integrated POP3 server,
101 which allows you to download mail from your mailbox using any POP3
102 client. Courier's POP3 server can only be used to download mail from
103 maildir mailboxes. This server does not support mailbox files. If you
104 do not need the ability to download your mail using a POP3 client, you
105 do not need to install this package.
107 %description pop3d -l pl
108 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
109 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
110 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
111 obs³uguje skrzynek w postaci pojedynczych plików.
114 Summary: Courier Integrated IMAP server
115 Summary(pl): Zintegrowany serwer IMAP do Couriera
116 Group: Networking/Daemons
117 Requires: %{name} = %{version}-%{version}
118 Requires(post): openssl-tools >= 0.9.7c
119 Obsoletes: courier-imap
120 Obsoletes: courier-imap-common
123 This package installs Courier mail server's integrated IMAP server. If
124 you do not need the ability to download your mail using an IMAP mail
125 client, you do not need to install this package. Courier's IMAP server
126 can only be used to download mail from maildir mailboxes. This server
127 does not support mailbox files.
129 This package requires that Courier must be already installed, this is
130 NOT the standalone version of the Courier-IMAP server, and you cannot
131 install both this package, and the standalone version of Courier-IMAP.
132 If you have the standalone version of the Courier-IMAP server already
133 installed, installing this package will automatically remove the
136 %description imapd -l pl
137 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
138 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
139 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
142 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
143 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
144 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
145 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
148 Summary: Courier Integrated HTTP (webmail) server
149 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
150 Group: Networking/Daemons
151 Requires: %{name} = %{version}-%{version}
152 Requires: %{_cgibindir}
153 Requires: %{_documentrootdir}
156 This package installs Courier mail server's integrated HTTP webmail
157 server. If you do not need the ability to access your mail using a web
158 browser, you do not need to install this package. Courier's webmail
159 server can only be used to download mail from maildir mailboxes. This
160 server does not support mailbox files.
162 This is the same server that's distributed separately under the name
163 of SqWebMail, however its configuration is customized for the Courier
166 %description webmail -l pl
167 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
168 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
169 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
170 nie obs³uguje skrzynek w postaci pojedynczych plików.
172 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
173 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
176 Summary: Courier Integrated Mailing List Manager
177 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
178 Group: Applications/Mail
179 Requires: %{name} = %{version}-%{version}
182 This package installs couriermlm - a mailing list manager for the
183 Courier mail server. If you do not need the ability to manage mailing
184 lists, you do not need to install this package.
186 couriermlm is used to set up, maintain, and run a mailing list.
187 couriermlm automatically processes subscription and unsubscription
188 requests, and removes undeliverable addresses from the subscription
189 rolls. Mailing lists managed by couriermlm require zero human
190 administrative oversight. couriermlm supports digests, write-only
191 posting aliases, and moderated mailing lists.
193 %description mlm -l pl
194 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
195 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
196 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
197 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
198 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
199 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
200 aliasy pocztowe tylko do wysy³ania i listy moderowane.
203 Summary: Courier Integrated mail filter
204 Summary(pl): Zintegrowany filtr poczty do Couriera
205 Group: Applications/Mail
206 Requires: %{name} = %{version}-%{version}
208 %description maildrop
209 This package installs Courier mail server's integrated mail filter.
210 You need to install this package if you want to be able to filter your
213 %description maildrop -l pl
214 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
215 potrzebny do filtrowania przychodz±cej poczty.
218 Summary: Courier mail server authenticated ESMTP module
219 Summary(pl): Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
220 Group: Networking/Daemons
221 Requires: %{name} = %{version}-%{version}
223 %description smtpauth
224 Authenticated ESMTP allows remote users to authenticate themselves and
225 be able to relay outbound mail through the Courier mail server.
227 %description smtpauth -l pl
228 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
229 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
233 Summary: LDAP authentication daemon for Courier mail server
234 Summary(pl): Demon autentykacji LDAP do Couriera
235 Group: Networking/Daemons
236 PreReq: %{name} = %{version}-%{version}
238 %description authldap
239 This package provides LDAP authentication for Courier.
241 %description authldap -l pl
242 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
245 Summary: MySQL authentication daemon for Courier mail server
246 Summary(pl): Demon autentykacji MySQL do Couriera
247 Group: Networking/Daemons
248 PreReq: %{name} = %{version}-%{version}
250 %description authmysql
251 This package provides MySQL authentication for Courier.
253 %description authmysql -l pl
254 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
257 Summary: PostgreSQL authentication daemon for Courier mail server
258 Summary(pl): Demon autentykacji PostgreSQL do Couriera
259 Group: Networking/Daemons
260 PreReq: %{name} = %{version}-%{version}
262 %description authpgsql
263 This package provides PostgreSQL authentication for Courier.
265 %description authpgsql -l pl
266 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
271 %{!?with_fam:%patch1 -p1}
276 # we don't want fax module
277 rm -rf courier/module.fax
278 cp -f /usr/share/automake/config.sub webmail
306 --localstatedir=%{_localstatedir} \
307 --sysconfdir=%{_sysconfdir} \
308 --mandir=%{_mandir} \
309 --enable-imageurl=%{_imageurl} \
316 rm -rf $RPM_BUILD_ROOT
318 install -d -p $RPM_BUILD_ROOT{%{_prefix},/etc/{cron.hourly,pam.d},%{initdir}} \
319 $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
320 $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}{/calendar,/tmp/broken}} \
321 $RPM_BUILD_ROOT/etc/cron.hourly
324 DESTDIR=$RPM_BUILD_ROOT
327 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
328 for X in imap esmtp pop3 webmail calendar
330 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
332 auth required pam_unix.so shadow nullok
333 account required pam_unix.so
334 session required pam_unix.so
339 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
340 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
341 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
342 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
343 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
344 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
345 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
346 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
347 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
348 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
349 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
350 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
351 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
352 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
353 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
354 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
355 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
356 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
357 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
360 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
361 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
362 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
363 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
364 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
365 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
366 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
367 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
368 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
369 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
370 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
371 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
372 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
373 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
374 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
375 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
376 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
377 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
378 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
379 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
381 %{__make} install-perms
383 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
384 # This removes all webmail-related stuff from the main filelist,
385 # and adds everything except the executable, webmail, to filelist.webmail.
388 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
389 $RPM_BUILD_ROOT%{_cgibindir}/webmail
391 # And here's why we delete all images from filelist.webmail:
392 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
394 # install a cron job to clean out webmail's cache
395 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
397 # Move .html documentation back to build dir, so that RPM will move it to
398 # the appropriate docdir
402 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
405 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
406 # package, so after it's installed they should be runnable.
408 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
409 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
411 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
412 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
414 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
415 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
417 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
418 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
420 # Want to have esmtpd running by default
421 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
422 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
424 # run script from install-configure (make config files)
425 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
426 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
429 # make locals, esmtpacceptmailfor.dir/esmtpacceptmailfor
430 for X in locals esmtpacceptmailfor.dir/esmtpacceptmailfor
432 echo localhost >$RPM_BUILD_ROOT%{_sysconfdir}/$X
435 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
438 # Red Hat /etc/profile.d scripts
441 install -d $RPM_BUILD_ROOT/etc/profile.d
442 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
443 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
449 PATH="%{_sbindir}:\$PATH"
451 PATH="%{_bindir}:\$PATH"
456 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
458 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
466 setenv PATH "%{_sbindir}:\$PATH"
468 setenv PATH "%{_bindir}:\$PATH"
472 # sendmail soft links
474 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
476 # This link by default is missing
477 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
479 # remove unpackaged files
480 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
481 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
482 rm -rf $RPM_BUILD_ROOT%{_datadir}/htmldoc
483 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
484 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/maildir.5*
487 rm -rf $RPM_BUILD_ROOT
490 /sbin/chkconfig --add courier
491 %{_sbindir}/makealiases 2>/dev/null || true
492 %{_sbindir}/makesmtpaccess 2>/dev/null || true
494 # If we do not have a certificate, make one up.
495 if [ ! -f %{_datadir}/esmtpd.pem ]; then
496 %{_sbindir}/mkesmtpdcert
501 Now courier will refuse to accept SMTP messages except to localhost
502 add hosts to /etc/courier/esmtpacceptmailfor.dir/esmtpacceptmailfor
503 run makeacceptmailfor
505 Add hosts to /etc/courier/locals you want to accept mail for
508 Enter user, who should receive mail for root, mailer-daemon and postmaster
509 into /etc/courier/aliases/system
514 if [ "$1" = "0" ]; then
515 %{initdir}/courier stop
516 /sbin/chkconfig --del courier
520 # If we do not have a certificate, make one up.
521 if [ ! -f %{_datadir}/imapd.pem ]; then
522 %{_sbindir}/mkimapdcert
524 %{_sbindir}/imapd stop
525 %{_sbindir}/imapd start
526 %{_sbindir}/imapd-ssl stop
527 %{_sbindir}/imapd-ssl start
530 if [ "$1" = "0" ]; then
531 %{_sbindir}/imapd stop
532 %{_sbindir}/imapd-ssl stop
536 # If we do not have a certificate, make one up.
537 if [ ! -f %{_datadir}/pop3d.pem ]; then
538 %{_sbindir}/mkpop3dcert
540 %{_sbindir}/pop3d stop
541 %{_sbindir}/pop3d start
544 if [ "$1" = "0" ]; then
545 %{_sbindir}/pop3d stop
549 if ps -A |grep -q authdaemond; then
550 %{_libdir}/courier/sqwebmaild start
554 if ps -A |grep -q sqwebmaild; then
555 %{_libdir}/courier/sqwebmaild stop
559 %{_sbindir}/esmtpd stop
560 %{_sbindir}/esmtpd start
563 echo Remember to enable auth in esmtp config files
567 if [ "$1" = "0" ]; then
568 %{_sbindir}/esmtpd stop
569 %{_sbindir}/esmtpd start
573 if ps -A |grep -q authdaemond; then
574 %{_libdir}/authlib/authdaemond stop
575 %{_libdir}/authlib/authdaemond start
579 if [ -x %{_libdir}/authlib/authdaemond ]; then
580 if ps -A |grep -q authdaemond; then
581 %{_libdir}/authlib/authdaemond stop;
582 %{_libdir}/authlib/authdaemond start;
587 if ps -A |grep -q authdaemond; then
588 %{_libdir}/authlib/authdaemond stop
589 %{_libdir}/authlib/authdaemond start
593 if [ -x %{_libdir}/authlib/authdaemond ]; then
594 if ps -A |grep -q authdaemond; then
595 %{_libdir}/authlib/authdaemond stop;
596 %{_libdir}/authlib/authdaemond start;
601 if ps -A |grep -q authdaemond; then
602 %{_libdir}/authlib/authdaemond stop
603 %{_libdir}/authlib/authdaemond start
607 if [ -x %{_libdir}/authlib/authdaemond ]; then
608 if ps -A |grep -q authdaemond; then
609 %{_libdir}/authlib/authdaemond stop;
610 %{_libdir}/authlib/authdaemond start;
615 %defattr(644,root,root,755)
616 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
617 %{_mandir}/man1/sendmail.1*
618 %{_mandir}/man1/preline.1*
619 %{_mandir}/man1/maildirmake.1*
620 %{_mandir}/man1/maildirkw.1*
621 %{_mandir}/man1/cancelmsg.1*
622 %{_mandir}/man1/lockmail.1*
623 %{_mandir}/man1/mailbot.1*
624 %{_mandir}/man1/makemime.1*
625 %{_mandir}/man1/mimegpg.1*
626 %{_mandir}/man1/makedat.1*
627 %{_mandir}/man1/testmxlookup.1*
628 %{_mandir}/man1/dot-forward.1*
629 %{_mandir}/man1/couriertls.1*
630 %{_mandir}/man1/mailq*
631 %{_mandir}/man1/couriertcpd*
632 %{_mandir}/man1/dotforward.1*
633 %{_mandir}/man1/rmail.1*
634 %{_mandir}/man5/dot-courier.5*
635 %{_mandir}/man7/localmailfilter.7*
636 %{_mandir}/man7/maildirquota.7*
637 %{_mandir}/man7/authlib.7*
638 %{_mandir}/man7/authcram.7*
639 %{_mandir}/man7/authdaemon.7*
640 %{_mandir}/man7/authdaemond.7*
641 %{_mandir}/man7/authpam.7*
642 %{_mandir}/man7/authpwd.7*
643 %{_mandir}/man7/authshadow.7*
644 %{_mandir}/man7/authuserdb.7*
645 %{_mandir}/man7/authvchkpw.7*
646 %{_mandir}/man8/courierfilter.8*
647 %{_mandir}/man8/courierperlfilter.8*
648 %{_mandir}/man8/dupfilter.8*
649 %{_mandir}/man8/courier.8*
650 %{_mandir}/man8/courierldapaliasd.8*
651 %{_mandir}/man8/deliverquota.8*
652 %{_mandir}/man8/esmtpd.8*
653 %{_mandir}/man8/makeacceptmailfor.8*
654 %{_mandir}/man8/makehosteddomains.8*
655 %{_mandir}/man8/mkesmtpdcert.8*
656 %{_mandir}/man8/makealiases.8*
657 %{_mandir}/man8/makepercentrelay.8*
658 %{_mandir}/man8/makesmtpaccess.8*
659 %{_mandir}/man8/makeuserdb.8*
660 %{_mandir}/man8/submit.8*
661 %{_mandir}/man8/userdb.8*
662 %{_mandir}/man8/userdbpw.8*
663 %{_mandir}/man8/courieruucp.8*
664 %{_mandir}/man8/esmtpd-msa.8*
665 %{_mandir}/man8/filterctl.8*
666 %{_mandir}/man8/makesmtpaccess-msa.8*
667 %{_mandir}/man8/makeuucpneighbors.8*
668 %{_mandir}/man8/pw2userdb.8*
669 %{_mandir}/man8/vchkpw2userdb.8*
671 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
672 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
673 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
674 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
675 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
676 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
677 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/esmtpacceptmailfor
678 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
679 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
680 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
681 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
683 %dir %{_libdir}/courier
685 %{_datadir}/rootcerts
686 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
687 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
688 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
689 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
690 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
691 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
692 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
693 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
694 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
695 %{_datadir}/courierwebadmin/login.html
696 %{_datadir}/courierwebadmin/admin-save.html
697 %{_datadir}/courierwebadmin/admin-main.html
698 %{_datadir}/courierwebadmin/unsecure.html
699 %dir %{_libdir}/filters
700 %attr(755,root,root) %{_libdir}/filters/*
701 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
702 %dir %{_localstatedir}
703 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
704 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
705 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
706 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
707 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
708 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
709 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
710 %attr(754,root,daemon) %{_datadir}/filterctl
711 %attr(754,root,daemon) %{_sbindir}/filterctl
712 %attr(754,root,daemon) %{_sbindir}/courierfilter
713 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[01235]*.pl
714 %{_datadir}/courierwebadmin/admin-[01235]*.html
715 %{_datadir}/courierwebadmin/webadmin.pm
716 %{_datadir}/courierwebadmin/notsupp.html
717 %dir %{_libdir}/courier/modules
718 %dir %{_libdir}/courier/modules/uucp
719 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
720 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
721 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
722 %attr(755,root,root) %{_datadir}/makeuucpneighbors
723 %dir %{_libdir}/courier/modules/local
724 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
725 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
726 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
727 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
728 %attr(755,root,root) %{_bindir}/preline
729 %dir %{_libdir}/courier/modules/esmtp
730 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
731 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
732 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
733 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
734 %attr(755,root,root) %{_sbindir}/courieresmtpd
735 %attr(755,root,root) %{_bindir}/addcr
736 %attr(755,root,root) %{_sbindir}/esmtpd
737 %attr(755,root,root) %{_datadir}/esmtpd
738 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
739 %attr(755,root,root) %{_datadir}/esmtpd-ssl
740 %attr(755,root,root) %{_sbindir}/makesmtpaccess
741 %attr(755,root,root) %{_datadir}/makesmtpaccess
742 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
743 %attr(755,root,root) %{_datadir}/makeacceptmailfor
744 %attr(755,root,root) %{_sbindir}/makepercentrelay
745 %attr(755,root,root) %{_datadir}/makepercentrelay
746 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
747 %attr(755,root,root) %{_datadir}/mkesmtpdcert
748 %attr(755,root,root) %{_sbindir}/esmtpd-msa
749 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
750 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
751 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
752 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
753 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
754 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
755 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
756 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
757 %dir %{_libdir}/courier/modules/dsn
758 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
759 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
760 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
761 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
762 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
763 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
764 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
765 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
766 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
767 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
768 %{_libdir}/courier/modules/modules.ctl
769 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
770 %attr(750,root,daemon) %{_libdir}/courier/courierd
771 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
772 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
773 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
774 %attr(750,root,daemon) %{_libdir}/courier/submit
775 %attr(755,root,root) %{_libdir}/courier/makedatprog
776 %attr(755,root,root) %{_libdir}/%{name}/pcpd
777 %attr(755,root,root) %{_sbindir}/courier
778 %attr(755,root,root) %{_sbindir}/showconfig
779 %attr(750,root,daemon) %{_sbindir}/showmodules
780 %attr(755,root,root) %{_sbindir}/userdbpw
781 %attr(755,root,root) %{_sbindir}/couriertcpd
782 %attr(755,root,root) %{_sbindir}/courierlogger
783 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
784 %attr(755,root,root) %{_bindir}/courier-config
785 %attr(2755,root,daemon) %{_bindir}/mailq
786 %attr(755,root,root) %{_bindir}/maildirmake
787 %attr(755,root,root) %{_bindir}/maildirkw
788 %attr(4755,root,root) %{_bindir}/sendmail
789 %attr(4755,root,root) %{_bindir}/rmail
790 %attr(755,root,root) %{_bindir}/lockmail
791 %attr(755,root,root) %{_bindir}/deliverquota
792 %attr(755,root,root) %{_bindir}/mailbot
793 %attr(755,root,root) %{_bindir}/makemime
794 %attr(755,root,root) %{_bindir}/mimegpg
795 %attr(755,root,root) %{_bindir}/dotforward
796 %attr(755,root,root) %{_datadir}/makedat
797 %attr(755,root,root) %{_bindir}/makedat
798 %attr(755,root,root) %{_bindir}/testmxlookup
799 %attr(750,root,daemon) %{_datadir}/makealiases
800 %attr(750,root,daemon) %{_sbindir}/makealiases
801 %attr(755,root,root) %{_datadir}/makehosteddomains
802 %attr(755,root,root) %{_sbindir}/makehosteddomains
803 %attr(755,root,root) %{_datadir}/makeuserdb
804 %attr(755,root,root) %{_sbindir}/makeuserdb
805 %attr(755,root,root) %{_datadir}/userdb
806 %attr(755,root,root) %{_sbindir}/userdb
807 %attr(755,root,root) %{_datadir}/pw2userdb
808 %attr(755,root,root) %{_sbindir}/pw2userdb
809 %attr(755,root,root) %{_datadir}/vchkpw2userdb
810 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
811 %attr(755,root,root) %{_datadir}/courierctl.start
812 %attr(755,root,root) %{_bindir}/couriertls
813 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
814 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
815 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
816 %dir %{_libdir}/authlib
817 %attr(755,root,root) %{_libdir}/authlib/authdaemon
818 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
819 %attr(755,root,root) %{_libdir}/authlib/authdaemond
820 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
821 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
822 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
823 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
824 %attr(755,root,root) %{_datadir}/authsystem.passwd
825 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
826 %attr(755,root,root) /etc/profile.d/courier.sh
827 %attr(755,root,root) /etc/profile.d/courier.csh
828 %attr(754,root,root) /etc/rc.d/init.d/courier
829 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
830 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
831 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
832 %attr(4755,root,root) %{_bindir}/sendmail
833 %attr(755,root,root) /usr/lib/sendmail
836 %defattr(644,root,root,755)
837 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
838 %{_mandir}/man8/courierpop3d.8*
839 %{_mandir}/man8/mkpop3dcert.8*
840 %{_mandir}/man8/pop3d.8*
841 %{_mandir}/man8/courierpop3login.8*
842 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
843 %{_datadir}/courierwebadmin/admin-45pop3.html
844 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
845 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
846 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
847 %attr(755,root,root) %{_libdir}/courier/courierpop3d
848 %attr(755,root,root) %{_libdir}/courier/courierpop3login
849 %attr(755,root,root) %{_datadir}/pop3d
850 %attr(755,root,root) %{_sbindir}/pop3d
851 %attr(755,root,root) %{_datadir}/pop3d-ssl
852 %attr(755,root,root) %{_sbindir}/pop3d-ssl
853 %attr(755,root,root) %{_datadir}/mkpop3dcert
854 %attr(755,root,root) %{_sbindir}/mkpop3dcert
857 %defattr(644,root,root,755)
858 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
859 %{_mandir}/man8/imapd.8*
860 %{_mandir}/man8/mkimapdcert.8*
861 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
862 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
863 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
864 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
865 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
866 %attr(755,root,root) %{_libdir}/courier/imaplogin
867 %attr(755,root,root) %{_sbindir}/imapd
868 %attr(755,root,root) %{_sbindir}/imapd-ssl
869 %attr(755,root,root) %{_datadir}/imapd
870 %attr(755,root,root) %{_datadir}/imapd-ssl
871 %attr(755,root,root) %{_bindir}/imapd
872 %attr(755,root,root) %{_datadir}/mkimapdcert
873 %attr(755,root,root) %{_sbindir}/mkimapdcert
876 %defattr(644,root,root,755)
877 %attr(4755,root,root) %{_cgibindir}/webmail
878 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
879 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
880 %{_documentrootdir}/webmail
881 %dir %{_datadir}/sqwebmail
882 %dir %{_datadir}/sqwebmail/html
883 %dir %{_datadir}/sqwebmail/html/en-us
884 %{_datadir}/sqwebmail/html/en
885 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
886 %{_datadir}/sqwebmail/html/en-us/*.html
887 %{_datadir}/sqwebmail/html/en-us/*.txt
888 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-4*.pl
889 %{_datadir}/courierwebadmin/admin-4*.html
890 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
891 %attr(755,root,root) %{_sbindir}/webgpg
892 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
893 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
894 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
895 %attr(755,root,root) %{_libdir}/%{name}/sqwebmaild
896 %dir %{_libdir}/%{name}/webmail/
897 %attr(755,root,root) %{_libdir}/%{name}/webmail/webadmin
898 %attr(755,root,root) %{_libdir}/%{name}/webmail/webmail
899 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
900 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
903 %defattr(644,root,root,755)
904 %{_mandir}/man1/maildrop.1*
905 %{_mandir}/man1/refor*
906 %{_mandir}/man5/maildrop*
907 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
908 %attr(755,root,root) %{_bindir}/reformail
909 %attr(755,root,root) %{_bindir}/reformime
910 %attr(4755,root,root) %{_bindir}/maildrop
913 %defattr(644,root,root,755)
914 %{_mandir}/man1/couriermlm.1*
915 %attr(755,root,root) %{_bindir}/couriermlm
916 %{_datadir}/couriermlm
919 %defattr(644,root,root,755)
920 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
921 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
924 %{_mandir}/man7/authldap.7*
925 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
926 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
929 %{_mandir}/man7/authmysql.7*
930 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
931 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
934 %{_mandir}/man7/authpgsql.7*
935 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
936 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc