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: c1f657b5b0fd8d41d2eb2372fdfe1b41
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 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.7d
30 BuildRequires: openssl-tools >= 0.9.7d
31 BuildRequires: openssl-tools-perl >= 0.9.7d
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.7d
40 %{?with_fam:Requires: fam}
49 Obsoletes: sendmail-cf
50 Obsoletes: sendmail-doc
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 %define apachedir /home/services/httpd
58 %define _datadir %{_prefix}/share/courier
59 %define _mandir /usr/share/man
60 %define _libdir %{_prefix}/%{_lib}/courier
61 %define _libexecdir %{_libdir}
62 %define _localstatedir /var/spool/courier
63 %define _sysconfdir /etc/courier
64 %define initdir /etc/rc.d/init.d
66 # Change the following if your DocumentRoot and cgibindir differ. This is
67 # the default redhat build:
69 %define _cgibindir %{apachedir}/cgi-bin
70 %define _documentrootdir %{apachedir}/html
71 %define _imageurl /webmail/
74 Courier is a fully functional mail server, that can completely take
75 over the mail services normally provided by sendmail, Qmail, or any
76 other mail server. Although Courier does not support all legacy
77 features of existing mail servers, the number of obsoleted functions
78 is very small, and there are better, and more robust, alternatives
81 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
82 Courier also implements several new SMTP extensions for mailing list
83 management and spam filtering.
86 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
87 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
88 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
89 ilo¶æ nie obs³ugiwanych funkcji jest bardzo ma³a, i s± dostêpne
92 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
93 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
97 Summary: Courier Integrated POP3 server
98 Summary(pl): Zintegrowany serwer POP3 do Couriera
99 Group: Networking/Daemons
100 Requires: %{name} = %{version}-%{release}
101 Requires(post): openssl-tools >= 0.9.7d
104 This package installs Courier mail server's integrated POP3 server,
105 which allows you to download mail from your mailbox using any POP3
106 client. Courier's POP3 server can only be used to download mail from
107 maildir mailboxes. This server does not support mailbox files. If you
108 do not need the ability to download your mail using a POP3 client, you
109 do not need to install this package.
111 %description pop3d -l pl
112 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
113 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
114 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
115 obs³uguje skrzynek w postaci pojedynczych plików.
118 Summary: Courier Integrated IMAP server
119 Summary(pl): Zintegrowany serwer IMAP do Couriera
120 Group: Networking/Daemons
121 Requires: %{name} = %{version}-%{release}
122 Requires(post): openssl-tools >= 0.9.7d
123 Obsoletes: courier-imap
124 Obsoletes: courier-imap-common
127 This package installs Courier mail server's integrated IMAP server. If
128 you do not need the ability to download your mail using an IMAP mail
129 client, you do not need to install this package. Courier's IMAP server
130 can only be used to download mail from maildir mailboxes. This server
131 does not support mailbox files.
133 This package requires that Courier must be already installed, this is
134 NOT the standalone version of the Courier-IMAP server, and you cannot
135 install both this package, and the standalone version of Courier-IMAP.
136 If you have the standalone version of the Courier-IMAP server already
137 installed, installing this package will automatically remove the
140 %description imapd -l pl
141 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
142 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
143 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
146 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
147 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
148 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
149 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
152 Summary: Courier Integrated HTTP administraton panel
153 Summary(pl): Panel administracyjny przez HTTP dla Couriera
154 Group: Networking/Daemons
155 Requires: %{name} = %{version}-%{release}
156 Requires: %{_cgibindir}
159 %description webadmin
160 This is a web-based administration tool. Webadmin is a web CGI
163 %description webadmin -l pl
164 Webadmin jest narzêdziem administracyjnym obs³ugiwanym przez WWW.
167 Summary: Courier Integrated HTTP (webmail) server
168 Summary(pl): Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
169 Group: Networking/Daemons
170 Requires: %{name} = %{version}-%{release}
171 Requires: %{_cgibindir}
172 Requires: %{_documentrootdir}
175 This package installs Courier mail server's integrated HTTP webmail
176 server. If you do not need the ability to access your mail using a web
177 browser, you do not need to install this package. Courier's webmail
178 server can only be used to download mail from maildir mailboxes. This
179 server does not support mailbox files.
181 This is the same server that's distributed separately under the name
182 of SqWebMail, however its configuration is customized for the Courier
185 %description webmail -l pl
186 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
187 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
188 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
189 nie obs³uguje skrzynek w postaci pojedynczych plików.
191 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
192 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
194 %package maildir-tools
195 Summary: Tools for mail folders in Maildir format
196 Summary(pl): Narzêdzia do zarz±dzania skrzynkami Maildir
197 Group: Applications/Mail
198 Requires: %{name} = %{version}-%{release}
200 %description maildir-tools
201 This package contains tools for mail folders in Maildir format.
203 %description maildir-tools -l pl
204 Ten pakiet zawiera narzêdzia do zarz±dzania folderami w formacie Maildir.
207 Summary: Courier Integrated Mailing List Manager
208 Summary(pl): Zintegrowany zarz±dca list dyskusyjnych do Couriera
209 Group: Applications/Mail
210 Requires: %{name} = %{version}-%{release}
213 This package installs couriermlm - a mailing list manager for the
214 Courier mail server. If you do not need the ability to manage mailing
215 lists, you do not need to install this package.
217 couriermlm is used to set up, maintain, and run a mailing list.
218 couriermlm automatically processes subscription and unsubscription
219 requests, and removes undeliverable addresses from the subscription
220 rolls. Mailing lists managed by couriermlm require zero human
221 administrative oversight. couriermlm supports digests, write-only
222 posting aliases, and moderated mailing lists.
224 %description mlm -l pl
225 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
226 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
227 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
228 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
229 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
230 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
231 aliasy pocztowe tylko do wysy³ania i listy moderowane.
234 Summary: Courier Integrated mail filter
235 Summary(pl): Zintegrowany filtr poczty do Couriera
236 Group: Applications/Mail
237 Requires: %{name} = %{version}-%{release}
239 %description maildrop
240 This package installs Courier mail server's integrated mail filter.
241 You need to install this package if you want to be able to filter your
244 %description maildrop -l pl
245 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
246 potrzebny do filtrowania przychodz±cej poczty.
249 Summary: Courier mail server authenticated ESMTP module
250 Summary(pl): Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
251 Group: Networking/Daemons
252 Requires: %{name} = %{version}-%{release}
254 %description smtpauth
255 Authenticated ESMTP allows remote users to authenticate themselves and
256 be able to relay outbound mail through the Courier mail server.
258 %description smtpauth -l pl
259 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
260 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
264 Summary: LDAP authentication daemon for Courier mail server
265 Summary(pl): Demon autentykacji LDAP do Couriera
266 Group: Networking/Daemons
267 PreReq: %{name} = %{version}-%{release}
269 %description authldap
270 This package provides LDAP authentication for Courier.
272 %description authldap -l pl
273 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
276 Summary: MySQL authentication daemon for Courier mail server
277 Summary(pl): Demon autentykacji MySQL do Couriera
278 Group: Networking/Daemons
279 PreReq: %{name} = %{version}-%{release}
281 %description authmysql
282 This package provides MySQL authentication for Courier.
284 %description authmysql -l pl
285 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
288 Summary: PostgreSQL authentication daemon for Courier mail server
289 Summary(pl): Demon autentykacji PostgreSQL do Couriera
290 Group: Networking/Daemons
291 PreReq: %{name} = %{version}-%{release}
293 %description authpgsql
294 This package provides PostgreSQL authentication for Courier.
296 %description authpgsql -l pl
297 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
302 %{!?with_fam:%patch1 -p1}
308 # we don't want fax module
309 rm -rf courier/module.fax
310 cp -f /usr/share/automake/config.sub webmail
338 --localstatedir=%{_localstatedir} \
339 --sysconfdir=%{_sysconfdir} \
340 --mandir=%{_mandir} \
341 --enable-imageurl=%{_imageurl} \
343 --with-mailer=%{_sbindir}/sendmail
349 rm -rf $RPM_BUILD_ROOT
351 install -d -p $RPM_BUILD_ROOT{%{_prefix}/lib,/etc/{cron.hourly,pam.d},%{initdir}} \
352 $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
353 $RPM_BUILD_ROOT{%{_sysconfdir}/{userdb,hosteddomains},%{_localstatedir}{/calendar,/tmp/broken}} \
354 $RPM_BUILD_ROOT/etc/cron.hourly
357 DESTDIR=$RPM_BUILD_ROOT
360 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
361 for X in imap esmtp pop3 webmail calendar
363 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
365 auth required pam_unix.so shadow nullok
366 account required pam_unix.so
367 session required pam_unix.so
372 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
373 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
374 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
375 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
376 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
377 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
378 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
379 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
380 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
381 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
382 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
383 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
384 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
385 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
386 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
387 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
388 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
389 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
390 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
393 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
394 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
395 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
396 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
397 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
398 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
399 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
400 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
401 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
402 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
403 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
404 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
405 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
406 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
407 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
408 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
409 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
410 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
411 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
412 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
414 %{__make} install-perms
416 # Move webmail and webadmin to cgibindir
417 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
418 $RPM_BUILD_ROOT%{_cgibindir}/webmail
419 mv -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webadmin \
420 $RPM_BUILD_ROOT%{_cgibindir}/webadmin
422 # And here's why we delete all images from filelist.webmail:
423 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
425 # install a cron job to clean out webmail's cache
426 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
428 # Move .html documentation back to build dir, so that RPM will move it to
429 # the appropriate docdir
433 mv -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
436 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
437 # package, so after it's installed they should be runnable.
439 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
440 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
442 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
443 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
445 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
446 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
448 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
449 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
451 # Want to have esmtpd running by default
452 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
453 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
455 # run script from install-configure (make config files)
456 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
457 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
460 # make locals, esmtpacceptmailfor.dir/default
461 for X in locals esmtpacceptmailfor.dir/default
463 echo localhost >$RPM_BUILD_ROOT%{_sysconfdir}/$X
466 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
468 # Make password and unsecureok (files for webadmin)
469 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
470 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
473 # Red Hat /etc/profile.d scripts
476 install -d $RPM_BUILD_ROOT/etc/profile.d
477 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
478 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
484 PATH="%{_sbindir}:\$PATH"
486 PATH="%{_bindir}:\$PATH"
491 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
493 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
501 setenv PATH "%{_sbindir}:\$PATH"
503 setenv PATH "%{_bindir}:\$PATH"
507 # sendmail soft links
508 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
511 rm -f $RPM_BUILD_ROOT%{_bindir}/rmail
512 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/rmail
514 # This link by default is missing
515 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
517 # create file me to put localdomain
518 touch $RPM_BUILD_ROOT%{_sysconfdir}/me
520 # remove unpackaged files
521 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
522 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
523 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
524 rm -f $RPM_BUILD_ROOT%{_datadir}/courierwebadmin/*fax*
527 rm -rf $RPM_BUILD_ROOT
530 if [ "$1" = "1" ]; then
531 /sbin/chkconfig --add courier
532 /bin/hostname -f >/etc/courier/me
535 Now courier will refuse to accept SMTP messages except to localhost
536 add hosts to /etc/courier/esmtpacceptmailfor.dir/default
537 run makeacceptmailfor
539 Add hosts to /etc/courier/locals you want to accept mail for
542 Enter user, who should receive mail for root, mailer-daemon and postmaster
543 into /etc/courier/aliases/system
548 if [ -e /var/lock/subsys/courier ]; then
549 %{initdir}/courier restart
552 echo Type "%{initdir}/courier start" to start courier
557 if [ "$1" = "0" ]; then
558 if [ -e /var/lock/subsys/courier ]; then
559 %{initdir}/courier stop
561 /sbin/chkconfig --del courier
565 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
566 %{_sbindir}/imapd stop
567 %{_sbindir}/imapd start
569 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
570 %{_sbindir}/imapd-ssl stop
571 %{_sbindir}/imapd-ssl start
575 if [ "$1" = "0" ]; then
576 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
577 %{_sbindir}/imapd stop
579 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
580 %{_sbindir}/imapd-ssl stop
585 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
586 %{_sbindir}/pop3d stop
587 %{_sbindir}/pop3d start
589 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
590 %{_sbindir}/pop3d-ssl stop
591 %{_sbindir}/pop3d-ssl start
595 if [ "$1" = "0" ]; then
596 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
597 %{_sbindir}/pop3d stop
599 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
600 %{_sbindir}/pop3d-ssl stop
605 if [ "$1" = "1" ]; then
607 echo Remember to put your webadmin password to %{_sysconfdir}/webadmin/password
612 if ps -A |grep -q sqwebmaild; then
613 %{_libdir}/courier/sqwebmaild stop
614 %{_libdir}/courier/sqwebmaild start
617 echo Type "%{_libdir}/courier/sqwebmaild start" to start webmail server
622 if [ "$1" = "0" ]; then
623 if ps -A |grep -q sqwebmaild; then
624 %{_libdir}/courier/sqwebmaild stop
629 if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
630 %{_sbindir}/esmtpd stop
631 %{_sbindir}/esmtpd start
633 if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
634 %{_sbindir}/esmtpd-ssl stop
635 %{_sbindir}/esmtpd-ssl start
638 if [ "$1" = "1" ]; then
640 echo Remember to enable auth in esmtp config files
645 if [ "$1" = "0" ]; then
646 if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
647 %{_sbindir}/esmtpd stop
648 %{_sbindir}/esmtpd start
650 if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
651 %{_sbindir}/esmtpd-ssl stop
652 %{_sbindir}/esmtpd-ssl start
657 if ps -A |grep -q authdaemond.lda; then
658 %{_libdir}/authlib/authdaemond stop
659 %{_libdir}/authlib/authdaemond start
663 if [ -x %{_libdir}/authlib/authdaemond ]; then
664 if ps -A |grep -q authdaemond.lda; then
665 %{_libdir}/authlib/authdaemond stop;
666 %{_libdir}/authlib/authdaemond start;
671 if ps -A |grep -q authdaemond.mys; then
672 %{_libdir}/authlib/authdaemond stop
673 %{_libdir}/authlib/authdaemond start
677 if [ -x %{_libdir}/authlib/authdaemond ]; then
678 if ps -A |grep -q authdaemond.mys; then
679 %{_libdir}/authlib/authdaemond stop;
680 %{_libdir}/authlib/authdaemond start;
685 if ps -A |grep -q authdaemond.pgs; then
686 %{_libdir}/authlib/authdaemond stop
687 %{_libdir}/authlib/authdaemond start
691 if [ -x %{_libdir}/authlib/authdaemond ]; then
692 if ps -A |grep -q authdaemond.pgs; then
693 %{_libdir}/authlib/authdaemond stop;
694 %{_libdir}/authlib/authdaemond start;
699 %defattr(644,root,root,755)
700 %doc AUTHORS BENCHMARKS ChangeLog INSTALL NEWS README TODO htmldoc/[adehqstu]*
701 %doc htmldoc/courierperl* htmldoc/courier.html htmldoc/courier[fltu]*
702 %doc htmldoc/local* htmldoc/mailbot* htmldoc/mailq* htmldoc/make*
703 %doc htmldoc/mime* htmldoc/mkesmtpd* htmldoc/modules* htmldoc/preline*
704 %{_mandir}/man1/sendmail.1*
705 %{_mandir}/man1/preline.1*
706 %{_mandir}/man1/cancelmsg.1*
707 %{_mandir}/man1/lockmail.1*
708 %{_mandir}/man1/mailbot.1*
709 %{_mandir}/man1/makemime.1*
710 %{_mandir}/man1/mimegpg.1*
711 %{_mandir}/man1/makedat.1*
712 %{_mandir}/man1/testmxlookup.1*
713 %{_mandir}/man1/dot-forward.1*
714 %{_mandir}/man1/couriertls.1*
715 %{_mandir}/man1/mailq*
716 %{_mandir}/man1/couriertcpd*
717 %{_mandir}/man1/dotforward.1*
718 %{_mandir}/man1/rmail.1*
719 %{_mandir}/man5/dot-courier.5*
720 %{_mandir}/man7/localmailfilter.7*
721 %{_mandir}/man7/authlib.7*
722 %{_mandir}/man7/authcram.7*
723 %{_mandir}/man7/authdaemon.7*
724 %{_mandir}/man7/authdaemond.7*
725 %{_mandir}/man7/authpam.7*
726 %{_mandir}/man7/authpwd.7*
727 %{_mandir}/man7/authshadow.7*
728 %{_mandir}/man7/authuserdb.7*
729 %{_mandir}/man7/authvchkpw.7*
730 %{_mandir}/man8/courierfilter.8*
731 %{_mandir}/man8/courierperlfilter.8*
732 %{_mandir}/man8/dupfilter.8*
733 %{_mandir}/man8/courier.8*
734 %{_mandir}/man8/courierldapaliasd.8*
735 %{_mandir}/man8/deliverquota.8*
736 %{_mandir}/man8/esmtpd.8*
737 %{_mandir}/man8/makeacceptmailfor.8*
738 %{_mandir}/man8/makehosteddomains.8*
739 %{_mandir}/man8/mkesmtpdcert.8*
740 %{_mandir}/man8/makealiases.8*
741 %{_mandir}/man8/makepercentrelay.8*
742 %{_mandir}/man8/makesmtpaccess.8*
743 %{_mandir}/man8/makeuserdb.8*
744 %{_mandir}/man8/submit.8*
745 %{_mandir}/man8/userdb.8*
746 %{_mandir}/man8/userdbpw.8*
747 %{_mandir}/man8/courieruucp.8*
748 %{_mandir}/man8/esmtpd-msa.8*
749 %{_mandir}/man8/filterctl.8*
750 %{_mandir}/man8/makesmtpaccess-msa.8*
751 %{_mandir}/man8/makeuucpneighbors.8*
752 %{_mandir}/man8/pw2userdb.8*
753 %{_mandir}/man8/vchkpw2userdb.8*
755 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
756 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/me
757 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
758 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
759 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
760 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
761 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
762 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
763 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/default
764 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
765 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
766 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
767 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
769 %dir %{_libdir}/courier
771 %{_datadir}/rootcerts
772 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
773 %dir %{_libdir}/filters
774 %attr(755,root,root) %{_libdir}/filters/*
775 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
776 %dir %{_localstatedir}
777 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
778 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
779 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
780 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
781 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
782 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
783 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
784 %attr(754,root,daemon) %{_datadir}/filterctl
785 %attr(754,root,daemon) %{_sbindir}/filterctl
786 %attr(754,root,daemon) %{_sbindir}/courierfilter
787 %dir %{_libdir}/courier/modules
788 %dir %{_libdir}/courier/modules/uucp
789 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
790 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
791 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
792 %attr(755,root,root) %{_datadir}/makeuucpneighbors
793 %dir %{_libdir}/courier/modules/local
794 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
795 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
796 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
797 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
798 %attr(755,root,root) %{_bindir}/preline
799 %dir %{_libdir}/courier/modules/esmtp
800 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
801 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
802 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
803 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
804 %attr(755,root,root) %{_sbindir}/courieresmtpd
805 %attr(755,root,root) %{_bindir}/addcr
806 %attr(755,root,root) %{_sbindir}/esmtpd
807 %attr(755,root,root) %{_datadir}/esmtpd
808 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
809 %attr(755,root,root) %{_datadir}/esmtpd-ssl
810 %attr(755,root,root) %{_sbindir}/makesmtpaccess
811 %attr(755,root,root) %{_datadir}/makesmtpaccess
812 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
813 %attr(755,root,root) %{_datadir}/makeacceptmailfor
814 %attr(755,root,root) %{_sbindir}/makepercentrelay
815 %attr(755,root,root) %{_datadir}/makepercentrelay
816 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
817 %attr(755,root,root) %{_datadir}/mkesmtpdcert
818 %attr(755,root,root) %{_sbindir}/esmtpd-msa
819 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
820 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
821 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
822 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
823 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
824 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
825 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
826 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
827 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
828 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
829 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
830 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
831 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
832 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
833 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
834 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
835 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
836 %dir %{_libdir}/courier/modules/dsn
837 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
838 %{_libdir}/courier/modules/modules.ctl
839 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
840 %attr(750,root,daemon) %{_libdir}/courier/courierd
841 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
842 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
843 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
844 %attr(750,root,daemon) %{_libdir}/courier/submit
845 %attr(755,root,root) %{_libdir}/courier/makedatprog
846 %attr(755,root,root) %{_sbindir}/authenumerate
847 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
848 %attr(755,root,root) %{_sbindir}/courier
849 %attr(755,root,root) %{_datadir}/courierctl.start
850 %attr(755,root,root) %{_bindir}/couriertls
851 %attr(755,root,root) %{_sbindir}/couriertcpd
852 %attr(755,root,root) %{_sbindir}/courierlogger
853 %attr(755,root,root) %{_bindir}/courier-config
854 %attr(755,root,root) %{_bindir}/deliverquota
855 %attr(755,root,root) %{_bindir}/dotforward
856 %attr(755,root,root) %{_bindir}/lockmail
857 %attr(755,root,root) %{_bindir}/mailbot
858 %attr(2755,root,daemon) %{_bindir}/mailq
859 %attr(750,root,daemon) %{_datadir}/makealiases
860 %attr(750,root,daemon) %{_sbindir}/makealiases
861 %attr(755,root,root) %{_datadir}/makedat
862 %attr(755,root,root) %{_bindir}/makedat
863 %attr(755,root,root) %{_datadir}/makehosteddomains
864 %attr(755,root,root) %{_sbindir}/makehosteddomains
865 %attr(755,root,root) %{_bindir}/makemime
866 %attr(755,root,root) %{_datadir}/makeuserdb
867 %attr(755,root,root) %{_sbindir}/makeuserdb
868 %attr(755,root,root) %{_bindir}/mimegpg
869 %attr(755,root,root) %{_datadir}/pw2userdb
870 %attr(755,root,root) %{_sbindir}/pw2userdb
871 %attr(4755,root,root) %{_bindir}/rmail
872 %attr(755,root,root) %{_sbindir}/showconfig
873 %attr(750,root,daemon) %{_sbindir}/showmodules
874 %attr(4755,root,root) %{_sbindir}/sendmail
875 %attr(755,root,root) %{_bindir}/testmxlookup
876 %attr(755,root,root) %{_datadir}/userdb
877 %attr(755,root,root) %{_sbindir}/userdb
878 %attr(755,root,root) %{_sbindir}/userdbpw
879 %attr(755,root,root) %{_datadir}/vchkpw2userdb
880 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
881 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
882 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
883 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
884 %dir %{_libdir}/authlib
885 %attr(755,root,root) %{_libdir}/authlib/authdaemon
886 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
887 %attr(755,root,root) %{_libdir}/authlib/authdaemond
888 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
889 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
890 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
891 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
892 %attr(755,root,root) %{_datadir}/authsystem.passwd
893 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
894 %attr(755,root,root) /etc/profile.d/courier.sh
895 %attr(755,root,root) /etc/profile.d/courier.csh
896 %attr(754,root,root) /etc/rc.d/init.d/courier
897 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
898 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
899 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
900 %attr(755,root,root) /usr/lib/sendmail
903 %defattr(644,root,root,755)
905 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
906 %{_mandir}/man8/courierpop3d.8*
907 %{_mandir}/man8/courierpop3login.8*
908 %{_mandir}/man8/mkpop3dcert.8*
909 %{_mandir}/man8/pop3d.8*
910 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
911 %{_datadir}/courierwebadmin/admin-45pop3.html
912 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
913 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
914 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
915 %attr(755,root,root) %{_libdir}/courier/courierpop3d
916 %attr(755,root,root) %{_libdir}/courier/courierpop3login
917 %attr(755,root,root) %{_datadir}/mkpop3dcert
918 %attr(755,root,root) %{_sbindir}/mkpop3dcert
919 %attr(755,root,root) %{_datadir}/pop3d
920 %attr(755,root,root) %{_sbindir}/pop3d
921 %attr(755,root,root) %{_datadir}/pop3d-ssl
922 %attr(755,root,root) %{_sbindir}/pop3d-ssl
925 %defattr(644,root,root,755)
927 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
928 %{_mandir}/man8/imapd.8*
929 %{_mandir}/man8/mkimapdcert.8*
930 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
931 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
932 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
933 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
934 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
935 %attr(755,root,root) %{_libdir}/courier/imaplogin
936 %attr(755,root,root) %{_sbindir}/imapd
937 %attr(755,root,root) %{_sbindir}/imapd-ssl
938 %attr(755,root,root) %{_datadir}/imapd
939 %attr(755,root,root) %{_datadir}/imapd-ssl
940 %attr(755,root,root) %{_bindir}/imapd
941 %attr(755,root,root) %{_datadir}/mkimapdcert
942 %attr(755,root,root) %{_sbindir}/mkimapdcert
945 %defattr(644,root,root,755)
946 %attr(4755,root,root) %{_cgibindir}/webadmin
947 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
948 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
949 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
950 %attr(400,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/password
951 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/webadmin/unsecureok
952 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
953 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
954 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
955 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0235]*.pl
956 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-10password.pl
957 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
958 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
959 %{_datadir}/courierwebadmin/admin-[0235]*.html
960 %{_datadir}/courierwebadmin/admin-10password.html
961 %{_datadir}/courierwebadmin/admin-main.html
962 %{_datadir}/courierwebadmin/admin-save.html
963 %{_datadir}/courierwebadmin/login.html
964 %{_datadir}/courierwebadmin/notsupp.html
965 %{_datadir}/courierwebadmin/unsecure.html
966 %{_datadir}/courierwebadmin/webadmin.pm
969 %defattr(644,root,root,755)
971 %attr(4755,root,root) %{_cgibindir}/webmail
972 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
973 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
974 %{_documentrootdir}/webmail
975 %dir %{_datadir}/sqwebmail
976 %dir %{_datadir}/sqwebmail/html
977 %dir %{_datadir}/sqwebmail/html/en-us
978 %{_datadir}/sqwebmail/html/en
979 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
980 %{_datadir}/sqwebmail/html/en-us/*.html
981 %{_datadir}/sqwebmail/html/en-us/*.txt
982 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-47webmail.pl
983 %{_datadir}/courierwebadmin/admin-47webmail.html
984 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
985 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
986 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
987 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
988 %attr(755,root,root) %{_sbindir}/webgpg
989 %attr(755,root,root) %{_libdir}/courier/pcpd
990 %attr(755,root,root) %{_libdir}/courier/sqwebmaild
991 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
992 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
995 %defattr(644,root,root,755)
996 %doc htmldoc/r* htmldoc/maildrop* htmldoc/lockmail*
997 %{_mandir}/man1/maildrop.1*
998 %{_mandir}/man1/refor*
999 %{_mandir}/man5/maildrop*
1000 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
1001 %attr(4755,root,root) %{_bindir}/maildrop
1002 %attr(755,root,root) %{_bindir}/reformail
1003 %attr(755,root,root) %{_bindir}/reformime
1005 %files maildir-tools
1006 %defattr(644,root,root,755)
1007 %doc maildir/README.*.html htmldoc/maildir*
1008 %{_mandir}/man1/maildirmake.1*
1009 %{_mandir}/man1/maildirkw.1*
1010 %{_mandir}/man1/maildiracl.1*
1011 %{_mandir}/man5/maildir.5*
1012 %{_mandir}/man7/maildirquota.7*
1013 %attr(755,root,root) %{_bindir}/maildirmake
1014 %attr(755,root,root) %{_bindir}/maildirkw
1015 %attr(755,root,root) %{_bindir}/maildiracl
1016 %attr(755,root,root) %{_sbindir}/sharedindexinstall
1017 %attr(755,root,root) %{_sbindir}/sharedindexsplit
1020 %defattr(644,root,root,755)
1021 %doc htmldoc/couriermlm.html
1022 %{_mandir}/man1/couriermlm.1*
1023 %attr(755,root,root) %{_bindir}/couriermlm
1024 %{_datadir}/couriermlm
1027 %defattr(644,root,root,755)
1028 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
1029 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
1032 %defattr(644,root,root,755)
1033 %doc authlib/README.ldap
1034 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
1035 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
1036 %{_mandir}/man7/authldap.7*
1037 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15ldap.pl
1038 %{_datadir}/courierwebadmin/admin-15ldap.html
1039 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15ldapa.pl
1040 %{_datadir}/courierwebadmin/admin-15ldapa.html
1043 %defattr(644,root,root,755)
1044 %doc authlib/README.authmysql.html authlib/README.authmysql.myownquery
1045 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
1046 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
1047 %{_mandir}/man7/authmysql.7*
1048 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15mysql.pl
1049 %{_datadir}/courierwebadmin/admin-15mysql.html
1052 %defattr(644,root,root,755)
1053 %doc authlib/README.authpostgres.html
1054 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
1055 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
1056 %{_mandir}/man7/authpgsql.7*
1057 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-15pgsql.pl
1058 %{_datadir}/courierwebadmin/admin-15pgsql.html