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