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: 59f69d851740a11a0172eb803f9ab12f
14 Patch0: %{name}-openssl-path.patch
15 Patch1: %{name}-withoutfam.patch
16 Patch2: %{name}-maildir.patch
17 Patch3: %{name}-sendmail_dir.patch
18 Patch4: %{name}-start_scripts.patch
19 Patch5: %{name}-fix_build.patch
20 URL: http://www.courier-mta.org/
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: db-devel
25 BuildRequires: libstdc++-devel
26 BuildRequires: libtool
27 BuildRequires: mailcap
28 BuildRequires: mysql-devel
29 BuildRequires: openldap-devel
30 BuildRequires: openssl-devel >= 0.9.7d
31 BuildRequires: openssl-tools >= 0.9.7d
32 BuildRequires: openssl-tools-perl >= 0.9.7d
33 BuildRequires: pam-devel
34 BuildRequires: perl-devel
35 BuildRequires: postgresql-devel
36 BuildRequires: sysconftool
37 BuildRequires: zlib-devel
38 %{?with_fam:BuildRequires: fam-devel}
39 Requires(post,preun): /sbin/chkconfig
40 Requires(post): openssl-tools >= 0.9.7d
41 %{?with_fam:Requires: fam}
50 Obsoletes: sendmail-cf
51 Obsoletes: sendmail-doc
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 %define apachedir /home/services/httpd
59 %define _datadir %{_prefix}/share/courier
60 %define _mandir /usr/share/man
61 %define _libdir %{_prefix}/%{_lib}/courier
62 %define _libexecdir %{_libdir}
63 %define _localstatedir /var/spool/courier
64 %define _sysconfdir /etc/courier
65 %define initdir /etc/rc.d/init.d
67 # Change the following if your DocumentRoot and cgibindir differ. This is
68 # the default redhat build:
70 %define _cgibindir %{apachedir}/cgi-bin
71 %define _documentrootdir %{apachedir}/html
72 %define _imageurl /webmail/
75 Courier is a fully functional mail server, that can completely take
76 over the mail services normally provided by sendmail, Qmail, or any
77 other mail server. Although Courier does not support all legacy
78 features of existing mail servers, the number of obsoleted functions
79 is very small, and there are better, and more robust, alternatives
82 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
83 Courier also implements several new SMTP extensions for mailing list
84 management and spam filtering.
87 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
88 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
89 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
90 ilo¶æ nie obs³ugiwanych funkcji jest bardzo ma³a, i s± dostêpne
93 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
94 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
98 Summary: Courier Integrated POP3 server
99 Summary(pl): Zintegrowany serwer POP3 do Couriera
100 Group: Networking/Daemons
101 Requires: %{name} = %{version}-%{release}
102 Requires(post): openssl-tools >= 0.9.7d
105 This package installs Courier mail server's integrated POP3 server,
106 which allows you to download mail from your mailbox using any POP3
107 client. Courier's POP3 server can only be used to download mail from
108 maildir mailboxes. This server does not support mailbox files. If you
109 do not need the ability to download your mail using a POP3 client, you
110 do not need to install this package.
112 %description pop3d -l pl
113 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
114 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
115 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
116 obs³uguje skrzynek w postaci pojedynczych plików.
119 Summary: Courier Integrated IMAP server
120 Summary(pl): Zintegrowany serwer IMAP do Couriera
121 Group: Networking/Daemons
122 Requires: %{name} = %{version}-%{release}
123 Requires(post): openssl-tools >= 0.9.7d
124 Obsoletes: courier-imap
125 Obsoletes: courier-imap-common
128 This package installs Courier mail server's integrated IMAP server. If
129 you do not need the ability to download your mail using an IMAP mail
130 client, you do not need to install this package. Courier's IMAP server
131 can only be used to download mail from maildir mailboxes. This server
132 does not support mailbox files.
134 This package requires that Courier must be already installed, this is
135 NOT the standalone version of the Courier-IMAP server, and you cannot
136 install both this package, and the standalone version of Courier-IMAP.
137 If you have the standalone version of the Courier-IMAP server already
138 installed, installing this package will automatically remove the
141 %description imapd -l pl
142 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
143 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
144 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
147 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
148 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
149 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
150 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
153 Summary: Courier Integrated HTTP administraton panel
154 Summary(pl): Panel administracyjny przez HTTP dla Couriera
155 Group: Networking/Daemons
156 Requires: %{name} = %{version}-%{release}
157 Requires: %{_cgibindir}
160 %description webadmin
161 This is a web-based administration tool. Webadmin is a web CGI
164 %description webadmin -l pl
165 Webadmin jest narzêdziem administracyjnym obs³ugiwanym przez WWW.
168 Summary: Courier Integrated HTTP (webmail) server
169 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
170 Group: Networking/Daemons
171 Requires: %{name} = %{version}-%{release}
172 Requires: %{_cgibindir}
173 Requires: %{_documentrootdir}
176 This package installs Courier mail server's integrated HTTP webmail
177 server. If you do not need the ability to access your mail using a web
178 browser, you do not need to install this package. Courier's webmail
179 server can only be used to download mail from maildir mailboxes. This
180 server does not support mailbox files.
182 This is the same server that's distributed separately under the name
183 of SqWebMail, however its configuration is customized for the Courier
186 %description webmail -l pl
187 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
188 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
189 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
190 nie obs³uguje skrzynek w postaci pojedynczych plików.
192 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
193 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
195 %package maildir-tools
196 Summary: Tools for mail folders in Maildir format
197 Summary(pl): Narzêdzia do zarz±dzania skrzynkami Maildir
198 Group: Applications/Mail
199 Requires: %{name} = %{version}-%{release}
201 %description maildir-tools
202 This package contains tools for mail folders in Maildir format.
204 %description maildir-tools -l pl
205 Ten pakiet zawiera narzêdzia do zarz±dzania folderami w formacie Maildir.
208 Summary: Courier Integrated Mailing List Manager
209 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
210 Group: Applications/Mail
211 Requires: %{name} = %{version}-%{release}
214 This package installs couriermlm - a mailing list manager for the
215 Courier mail server. If you do not need the ability to manage mailing
216 lists, you do not need to install this package.
218 couriermlm is used to set up, maintain, and run a mailing list.
219 couriermlm automatically processes subscription and unsubscription
220 requests, and removes undeliverable addresses from the subscription
221 rolls. Mailing lists managed by couriermlm require zero human
222 administrative oversight. couriermlm supports digests, write-only
223 posting aliases, and moderated mailing lists.
225 %description mlm -l pl
226 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
227 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
228 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
229 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
230 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
231 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
232 aliasy pocztowe tylko do wysy³ania i listy moderowane.
235 Summary: Courier Integrated mail filter
236 Summary(pl): Zintegrowany filtr poczty do Couriera
237 Group: Applications/Mail
238 Requires: %{name} = %{version}-%{release}
240 %description maildrop
241 This package installs Courier mail server's integrated mail filter.
242 You need to install this package if you want to be able to filter your
245 %description maildrop -l pl
246 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
247 potrzebny do filtrowania przychodz±cej poczty.
250 Summary: Courier mail server authenticated ESMTP module
251 Summary(pl): Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
252 Group: Networking/Daemons
253 Requires: %{name} = %{version}-%{release}
255 %description smtpauth
256 Authenticated ESMTP allows remote users to authenticate themselves and
257 be able to relay outbound mail through the Courier mail server.
259 %description smtpauth -l pl
260 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
261 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
265 Summary: LDAP authentication daemon for Courier mail server
266 Summary(pl): Demon autentykacji LDAP do Couriera
267 Group: Networking/Daemons
268 PreReq: %{name} = %{version}-%{release}
270 %description authldap
271 This package provides LDAP authentication for Courier.
273 %description authldap -l pl
274 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
277 Summary: MySQL authentication daemon for Courier mail server
278 Summary(pl): Demon autentykacji MySQL do Couriera
279 Group: Networking/Daemons
280 PreReq: %{name} = %{version}-%{release}
282 %description authmysql
283 This package provides MySQL authentication for Courier.
285 %description authmysql -l pl
286 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
289 Summary: PostgreSQL authentication daemon for Courier mail server
290 Summary(pl): Demon autentykacji PostgreSQL do Couriera
291 Group: Networking/Daemons
292 PreReq: %{name} = %{version}-%{release}
294 %description authpgsql
295 This package provides PostgreSQL authentication for Courier.
297 %description authpgsql -l pl
298 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
303 %{!?with_fam:%patch1 -p1}
310 # we don't want fax module
311 rm -rf courier/module.fax
312 cp -f /usr/share/automake/config.sub webmail
340 --localstatedir=%{_localstatedir} \
341 --sysconfdir=%{_sysconfdir} \
342 --mandir=%{_mandir} \
343 --enable-imageurl=%{_imageurl} \
345 --with-mailer=%{_sbindir}/sendmail
351 rm -rf $RPM_BUILD_ROOT
353 install -d -p $RPM_BUILD_ROOT{/etc/{cron.hourly,pam.d},%{initdir}} \
354 $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir},%{_prefix}/lib} \
355 $RPM_BUILD_ROOT%{_sysconfdir}/{userdb,hosteddomains,shared} \
356 $RPM_BUILD_ROOT%{_localstatedir}{/calendar/{private,public},/tmp/broken} \
357 $RPM_BUILD_ROOT/etc/cron.hourly
360 DESTDIR=$RPM_BUILD_ROOT
363 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
364 for X in imap esmtp pop3 webmail calendar
366 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
368 auth required pam_unix.so shadow nullok
369 account required pam_unix.so
370 session required pam_unix.so
375 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
376 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
377 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
378 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
379 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
380 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
381 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
382 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
383 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
384 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
385 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
386 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
387 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
388 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
389 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
390 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
391 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
392 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
393 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
396 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
397 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
398 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
399 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
400 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
401 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
402 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
403 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
404 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
405 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
406 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
407 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
408 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
409 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
410 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
411 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
412 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
413 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
414 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
415 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
417 %{__make} install-perms
419 # Move webmail and webadmin to cgibindir
420 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
421 $RPM_BUILD_ROOT%{_cgibindir}/webmail
422 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webadmin \
423 $RPM_BUILD_ROOT%{_cgibindir}/webadmin
425 # And here's why we delete all images from filelist.webmail:
426 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
428 # install a cron job to clean out webmail's cache
429 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
431 # Move .html documentation back to build dir, so that RPM will move it to
432 # the appropriate docdir
436 mv -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
439 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
440 # package, so after it's installed they should be runnable.
442 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
443 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
445 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
446 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
448 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
449 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
451 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
452 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
454 # Want to have esmtpd running by default
455 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
456 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
458 # run script from install-configure (make config files)
459 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
460 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
463 # make locals, esmtpacceptmailfor.dir/default
464 touch $RPM_BUILD_ROOT%{_sysconfdir}/esmtpacceptmailfor.dir/default
465 touch $RPM_BUILD_ROOT%{_sysconfdir}/locals
467 # Make password and unsecureok (files for webadmin)
468 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
469 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
471 # create file me to put localdomain
472 touch $RPM_BUILD_ROOT%{_sysconfdir}/me
474 # create calendarmode
475 touch $RPM_BUILD_ROOT%{_sysconfdir}/calendarmode
477 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
479 # Red Hat /etc/profile.d scripts
482 install -d $RPM_BUILD_ROOT/etc/profile.d
483 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
484 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
490 PATH="%{_sbindir}:\$PATH"
492 PATH="%{_bindir}:\$PATH"
497 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
499 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
507 setenv PATH "%{_sbindir}:\$PATH"
509 setenv PATH "%{_bindir}:\$PATH"
513 # sendmail soft links
514 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
517 rm -f $RPM_BUILD_ROOT%{_bindir}/rmail
518 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/rmail
520 # This link by default is missing
521 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
523 # remove unpackaged files
524 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
525 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
526 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
527 rm -f $RPM_BUILD_ROOT%{_datadir}/courierwebadmin/*fax*
530 rm -rf $RPM_BUILD_ROOT
533 if [ "$1" = "1" ]; then
534 /sbin/chkconfig --add courier
535 /bin/hostname -f >/etc/courier/me
538 Now courier will refuse to accept SMTP messages except to localhost
539 add hosts to /etc/courier/esmtpacceptmailfor.dir/default
540 run makeacceptmailfor
542 Add hosts to /etc/courier/locals you want to accept mail for
545 Enter user, who should receive mail for root, mailer-daemon and postmaster
546 into /etc/courier/aliases/system
551 if [ -e /var/lock/subsys/courier ]; then
552 %{initdir}/courier restart
555 echo Type "%{initdir}/courier start" to start courier
560 if [ "$1" = "0" ]; then
561 if [ -e /var/lock/subsys/courier ]; then
562 %{initdir}/courier stop
564 /sbin/chkconfig --del courier
568 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
569 %{_sbindir}/imapd stop
570 %{_sbindir}/imapd start
572 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
573 %{_sbindir}/imapd-ssl stop
574 %{_sbindir}/imapd-ssl start
578 if [ "$1" = "0" ]; then
579 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
580 %{_sbindir}/imapd stop
582 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
583 %{_sbindir}/imapd-ssl stop
588 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
589 %{_sbindir}/pop3d stop
590 %{_sbindir}/pop3d start
592 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
593 %{_sbindir}/pop3d-ssl stop
594 %{_sbindir}/pop3d-ssl start
598 if [ "$1" = "0" ]; then
599 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
600 %{_sbindir}/pop3d stop
602 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
603 %{_sbindir}/pop3d-ssl stop
608 if [ "$1" = "1" ]; then
610 echo Remember to put your webadmin password to %{_sysconfdir}/webadmin/password
615 if [ "$1" = "1" ]; then
617 echo If you want to have calendar starting by default then
618 echo put word net to %{_sysconfdir}/calendarmode
621 if ps -A |grep -q sqwebmaild; then
622 %{_libdir}/courier/sqwebmaild stop
623 %{_libdir}/courier/sqwebmaild start
626 echo Type "%{_libdir}/courier/sqwebmaild start" to start webmail server
631 if [ "$1" = "0" ]; then
632 if ps -A |grep -q sqwebmaild; then
633 %{_libdir}/courier/sqwebmaild stop
638 if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
639 %{_sbindir}/esmtpd stop
640 %{_sbindir}/esmtpd start
642 if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
643 %{_sbindir}/esmtpd-ssl stop
644 %{_sbindir}/esmtpd-ssl start
647 if [ "$1" = "1" ]; then
649 echo Remember to enable auth in esmtp config files
654 if [ "$1" = "0" ]; then
655 if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
656 %{_sbindir}/esmtpd stop
657 %{_sbindir}/esmtpd start
659 if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
660 %{_sbindir}/esmtpd-ssl stop
661 %{_sbindir}/esmtpd-ssl start
666 if ps -A |grep -q authdaemond.lda; then
667 %{_libdir}/authlib/authdaemond stop
668 %{_libdir}/authlib/authdaemond start
672 if [ -x %{_libdir}/authlib/authdaemond ]; then
673 if ps -A |grep -q authdaemond.lda; then
674 %{_libdir}/authlib/authdaemond stop;
675 %{_libdir}/authlib/authdaemond start;
680 if ps -A |grep -q authdaemond.mys; then
681 %{_libdir}/authlib/authdaemond stop
682 %{_libdir}/authlib/authdaemond start
686 if [ -x %{_libdir}/authlib/authdaemond ]; then
687 if ps -A |grep -q authdaemond.mys; then
688 %{_libdir}/authlib/authdaemond stop;
689 %{_libdir}/authlib/authdaemond start;
694 if ps -A |grep -q authdaemond.pgs; then
695 %{_libdir}/authlib/authdaemond stop
696 %{_libdir}/authlib/authdaemond start
700 if [ -x %{_libdir}/authlib/authdaemond ]; then
701 if ps -A |grep -q authdaemond.pgs; then
702 %{_libdir}/authlib/authdaemond stop;
703 %{_libdir}/authlib/authdaemond start;
708 %defattr(644,root,root,755)
709 %doc AUTHORS BENCHMARKS ChangeLog INSTALL NEWS README TODO htmldoc/[adehqstu]*
710 %doc htmldoc/courierperl* htmldoc/courier.html htmldoc/courier[fltu]*
711 %doc htmldoc/local* htmldoc/mailbot* htmldoc/mailq* htmldoc/make*
712 %doc htmldoc/mime* htmldoc/mkesmtpd* htmldoc/modules* htmldoc/preline*
713 %{_mandir}/man1/sendmail.1*
714 %{_mandir}/man1/preline.1*
715 %{_mandir}/man1/cancelmsg.1*
716 %{_mandir}/man1/lockmail.1*
717 %{_mandir}/man1/mailbot.1*
718 %{_mandir}/man1/makemime.1*
719 %{_mandir}/man1/mimegpg.1*
720 %{_mandir}/man1/makedat.1*
721 %{_mandir}/man1/testmxlookup.1*
722 %{_mandir}/man1/dot-forward.1*
723 %{_mandir}/man1/couriertls.1*
724 %{_mandir}/man1/mailq*
725 %{_mandir}/man1/couriertcpd*
726 %{_mandir}/man1/dotforward.1*
727 %{_mandir}/man1/rmail.1*
728 %{_mandir}/man5/dot-courier.5*
729 %{_mandir}/man7/localmailfilter.7*
730 %{_mandir}/man7/authlib.7*
731 %{_mandir}/man7/authcram.7*
732 %{_mandir}/man7/authdaemon.7*
733 %{_mandir}/man7/authdaemond.7*
734 %{_mandir}/man7/authpam.7*
735 %{_mandir}/man7/authpwd.7*
736 %{_mandir}/man7/authshadow.7*
737 %{_mandir}/man7/authuserdb.7*
738 %{_mandir}/man7/authvchkpw.7*
739 %{_mandir}/man8/courierfilter.8*
740 %{_mandir}/man8/courierperlfilter.8*
741 %{_mandir}/man8/dupfilter.8*
742 %{_mandir}/man8/courier.8*
743 %{_mandir}/man8/courierldapaliasd.8*
744 %{_mandir}/man8/deliverquota.8*
745 %{_mandir}/man8/esmtpd.8*
746 %{_mandir}/man8/makeacceptmailfor.8*
747 %{_mandir}/man8/makehosteddomains.8*
748 %{_mandir}/man8/mkesmtpdcert.8*
749 %{_mandir}/man8/makealiases.8*
750 %{_mandir}/man8/makepercentrelay.8*
751 %{_mandir}/man8/makesmtpaccess.8*
752 %{_mandir}/man8/makeuserdb.8*
753 %{_mandir}/man8/submit.8*
754 %{_mandir}/man8/userdb.8*
755 %{_mandir}/man8/userdbpw.8*
756 %{_mandir}/man8/courieruucp.8*
757 %{_mandir}/man8/esmtpd-msa.8*
758 %{_mandir}/man8/filterctl.8*
759 %{_mandir}/man8/makesmtpaccess-msa.8*
760 %{_mandir}/man8/makeuucpneighbors.8*
761 %{_mandir}/man8/pw2userdb.8*
762 %{_mandir}/man8/vchkpw2userdb.8*
764 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
765 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/me
766 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
767 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
768 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
769 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
770 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
771 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
772 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/default
773 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
774 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
775 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
776 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
778 %dir %{_libdir}/courier
780 %{_datadir}/rootcerts
781 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
782 %dir %{_libdir}/filters
783 %attr(755,root,root) %{_libdir}/filters/*
784 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
785 %dir %{_localstatedir}
786 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
787 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
788 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
789 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
790 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
791 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
792 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
793 %attr(754,root,daemon) %{_datadir}/filterctl
794 %attr(754,root,daemon) %{_sbindir}/filterctl
795 %attr(754,root,daemon) %{_sbindir}/courierfilter
796 %dir %{_libdir}/courier/modules
797 %dir %{_libdir}/courier/modules/uucp
798 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
799 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
800 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
801 %attr(755,root,root) %{_datadir}/makeuucpneighbors
802 %dir %{_libdir}/courier/modules/local
803 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
804 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
805 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
806 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
807 %attr(755,root,root) %{_bindir}/preline
808 %dir %{_libdir}/courier/modules/esmtp
809 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
810 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
811 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
812 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
813 %attr(755,root,root) %{_sbindir}/courieresmtpd
814 %attr(755,root,root) %{_bindir}/addcr
815 %attr(755,root,root) %{_sbindir}/esmtpd
816 %attr(755,root,root) %{_datadir}/esmtpd
817 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
818 %attr(755,root,root) %{_datadir}/esmtpd-ssl
819 %attr(755,root,root) %{_sbindir}/makesmtpaccess
820 %attr(755,root,root) %{_datadir}/makesmtpaccess
821 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
822 %attr(755,root,root) %{_datadir}/makeacceptmailfor
823 %attr(755,root,root) %{_sbindir}/makepercentrelay
824 %attr(755,root,root) %{_datadir}/makepercentrelay
825 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
826 %attr(755,root,root) %{_datadir}/mkesmtpdcert
827 %attr(755,root,root) %{_sbindir}/esmtpd-msa
828 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
829 %attr(755,root,root) %{_sbindir}/sharedindexinstall
830 %attr(755,root,root) %{_sbindir}/sharedindexsplit
831 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
832 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
833 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
834 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
835 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
836 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
837 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
838 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
839 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
840 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
841 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
842 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
843 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
844 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
845 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
846 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
847 %dir %{_libdir}/courier/modules/dsn
848 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
849 %{_libdir}/courier/modules/modules.ctl
850 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
851 %attr(750,root,daemon) %{_libdir}/courier/courierd
852 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
853 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
854 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
855 %attr(750,root,daemon) %{_libdir}/courier/submit
856 %attr(755,root,root) %{_libdir}/courier/makedatprog
857 %attr(755,root,root) %{_sbindir}/authenumerate
858 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
859 %attr(755,root,root) %{_sbindir}/courier
860 %attr(755,root,root) %{_datadir}/courierctl.start
861 %attr(755,root,root) %{_bindir}/couriertls
862 %attr(755,root,root) %{_sbindir}/couriertcpd
863 %attr(755,root,root) %{_sbindir}/courierlogger
864 %attr(755,root,root) %{_bindir}/courier-config
865 %attr(755,root,root) %{_bindir}/deliverquota
866 %attr(755,root,root) %{_bindir}/dotforward
867 %attr(755,root,root) %{_bindir}/lockmail
868 %attr(755,root,root) %{_bindir}/mailbot
869 %attr(2755,root,daemon) %{_bindir}/mailq
870 %attr(750,root,daemon) %{_datadir}/makealiases
871 %attr(750,root,daemon) %{_sbindir}/makealiases
872 %attr(755,root,root) %{_datadir}/makedat
873 %attr(755,root,root) %{_bindir}/makedat
874 %attr(755,root,root) %{_datadir}/makehosteddomains
875 %attr(755,root,root) %{_sbindir}/makehosteddomains
876 %attr(755,root,root) %{_bindir}/makemime
877 %attr(755,root,root) %{_datadir}/makeuserdb
878 %attr(755,root,root) %{_sbindir}/makeuserdb
879 %attr(755,root,root) %{_bindir}/mimegpg
880 %attr(755,root,root) %{_datadir}/pw2userdb
881 %attr(755,root,root) %{_sbindir}/pw2userdb
882 %attr(4755,root,root) %{_bindir}/rmail
883 %attr(755,root,root) %{_sbindir}/showconfig
884 %attr(750,root,daemon) %{_sbindir}/showmodules
885 %attr(4755,root,root) %{_sbindir}/sendmail
886 %attr(755,root,root) %{_bindir}/testmxlookup
887 %attr(755,root,root) %{_datadir}/userdb
888 %attr(755,root,root) %{_sbindir}/userdb
889 %attr(755,root,root) %{_sbindir}/userdbpw
890 %attr(755,root,root) %{_datadir}/vchkpw2userdb
891 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
892 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
893 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
894 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
895 %dir %{_libdir}/authlib
896 %attr(755,root,root) %{_libdir}/authlib/authdaemon
897 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
898 %attr(755,root,root) %{_libdir}/authlib/authdaemond
899 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
900 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
901 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
902 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
903 %attr(755,root,root) %{_datadir}/authsystem.passwd
904 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
905 %attr(755,root,root) /etc/profile.d/courier.sh
906 %attr(755,root,root) /etc/profile.d/courier.csh
907 %attr(754,root,root) /etc/rc.d/init.d/courier
908 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
909 %attr(750,daemon,daemon) %dir %{_sysconfdir}/shared
910 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
911 %attr(755,root,root) /usr/lib/sendmail
914 %defattr(644,root,root,755)
916 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
917 %{_mandir}/man8/courierpop3d.8*
918 %{_mandir}/man8/courierpop3login.8*
919 %{_mandir}/man8/mkpop3dcert.8*
920 %{_mandir}/man8/pop3d.8*
921 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
922 %{_datadir}/courierwebadmin/admin-45pop3.html
923 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
924 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
925 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
926 %attr(755,root,root) %{_libdir}/courier/courierpop3d
927 %attr(755,root,root) %{_libdir}/courier/courierpop3login
928 %attr(755,root,root) %{_datadir}/mkpop3dcert
929 %attr(755,root,root) %{_sbindir}/mkpop3dcert
930 %attr(755,root,root) %{_datadir}/pop3d
931 %attr(755,root,root) %{_sbindir}/pop3d
932 %attr(755,root,root) %{_datadir}/pop3d-ssl
933 %attr(755,root,root) %{_sbindir}/pop3d-ssl
936 %defattr(644,root,root,755)
938 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
939 %{_mandir}/man8/imapd.8*
940 %{_mandir}/man8/mkimapdcert.8*
941 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
942 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
943 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
944 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
945 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
946 %attr(755,root,root) %{_libdir}/courier/imaplogin
947 %attr(755,root,root) %{_sbindir}/imapd
948 %attr(755,root,root) %{_sbindir}/imapd-ssl
949 %attr(755,root,root) %{_datadir}/imapd
950 %attr(755,root,root) %{_datadir}/imapd-ssl
951 %attr(755,root,root) %{_bindir}/imapd
952 %attr(755,root,root) %{_datadir}/mkimapdcert
953 %attr(755,root,root) %{_sbindir}/mkimapdcert
956 %defattr(644,root,root,755)
957 %attr(4755,root,root) %{_cgibindir}/webadmin
958 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
959 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
960 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
961 %attr(400,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/password
962 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/unsecureok
963 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
964 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
965 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
966 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0235]*.pl
967 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-10password.pl
968 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
969 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
970 %{_datadir}/courierwebadmin/admin-[0235]*.html
971 %{_datadir}/courierwebadmin/admin-10password.html
972 %{_datadir}/courierwebadmin/admin-main.html
973 %{_datadir}/courierwebadmin/admin-save.html
974 %{_datadir}/courierwebadmin/login.html
975 %{_datadir}/courierwebadmin/notsupp.html
976 %{_datadir}/courierwebadmin/unsecure.html
977 %{_datadir}/courierwebadmin/webadmin.pm
980 %defattr(644,root,root,755)
981 %doc htmldoc/pcp* gpglib/README.html
982 %attr(4755,root,root) %{_cgibindir}/webmail
983 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
984 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
985 %{_documentrootdir}/webmail
986 %dir %{_datadir}/sqwebmail
987 %dir %{_datadir}/sqwebmail/html
988 %dir %{_datadir}/sqwebmail/html/en-us
989 %{_datadir}/sqwebmail/html/en
990 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
991 %{_datadir}/sqwebmail/html/en-us/*.html
992 %{_datadir}/sqwebmail/html/en-us/*.txt
993 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-47webmail.pl
994 %{_datadir}/courierwebadmin/admin-47webmail.html
995 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
996 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
997 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
998 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
999 %attr(755,root,root) %{_sbindir}/webgpg
1000 %attr(755,root,root) %{_libdir}/courier/pcpd
1001 %attr(755,root,root) %{_libdir}/courier/sqwebmaild
1002 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
1003 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
1004 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/calendarmode
1005 %attr(751,bin,bin) %dir %{_localstatedir}/calendar
1006 %attr(700,bin,bin) %dir %{_localstatedir}/calendar/localcache
1007 %attr(750,bin,bin) %dir %{_localstatedir}/calendar/private
1008 %attr(755,bin,bin) %dir %{_localstatedir}/calendar/public
1011 %defattr(644,root,root,755)
1012 %doc htmldoc/r* htmldoc/maildrop* htmldoc/lockmail*
1013 %{_mandir}/man1/maildrop.1*
1014 %{_mandir}/man1/refor*
1015 %{_mandir}/man5/maildrop*
1016 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
1017 %attr(4755,root,root) %{_bindir}/maildrop
1018 %attr(755,root,root) %{_bindir}/reformail
1019 %attr(755,root,root) %{_bindir}/reformime
1021 %files maildir-tools
1022 %defattr(644,root,root,755)
1023 %doc maildir/README.*.html htmldoc/maildir*
1024 %{_mandir}/man1/maildirmake.1*
1025 %{_mandir}/man1/maildirkw.1*
1026 %{_mandir}/man1/maildiracl.1*
1027 %{_mandir}/man5/maildir.5*
1028 %{_mandir}/man7/maildirquota.7*
1029 %attr(755,root,root) %{_bindir}/maildirmake
1030 %attr(755,root,root) %{_bindir}/maildirkw
1031 %attr(755,root,root) %{_bindir}/maildiracl
1034 %defattr(644,root,root,755)
1035 %doc htmldoc/couriermlm.html
1036 %{_mandir}/man1/couriermlm.1*
1037 %attr(755,root,root) %{_bindir}/couriermlm
1038 %{_datadir}/couriermlm
1041 %defattr(644,root,root,755)
1042 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
1043 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
1046 %defattr(644,root,root,755)
1047 %doc authlib/README.ldap
1048 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
1049 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
1050 %{_mandir}/man7/authldap.7*
1051 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15ldap.pl
1052 %{_datadir}/courierwebadmin/admin-15ldap.html
1053 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15ldapa.pl
1054 %{_datadir}/courierwebadmin/admin-15ldapa.html
1057 %defattr(644,root,root,755)
1058 %doc authlib/README.authmysql.html authlib/README.authmysql.myownquery
1059 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
1060 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
1061 %{_mandir}/man7/authmysql.7*
1062 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15mysql.pl
1063 %{_datadir}/courierwebadmin/admin-15mysql.html
1066 %defattr(644,root,root,755)
1067 %doc authlib/README.authpostgres.html
1068 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
1069 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
1070 %{_mandir}/man7/authpgsql.7*
1071 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15pgsql.pl
1072 %{_datadir}/courierwebadmin/admin-15pgsql.html