]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- updated to 0.78.2
[packages/courier.git] / courier.spec
1 # TODO
2 # - update dependencies
3 # - doesn't -webadmin need webserver integration?
4 # - use rc-scripts in %%post scriptlets
5 # - init.d script, pre and post for webmlm?
6 #
7 # Conditional build:
8 %bcond_without  fam             # with fam support
9 %bcond_with     tests           # without tests
10 #
11 Summary:        Courier mail server
12 Summary(pl.UTF-8):      Serwer poczty Courier
13 Name:           courier
14 Version:        0.78.2
15 Release:        0.1
16 License:        GPL v3 with OpenSSL exception
17 Group:          Networking/Daemons
18 Source0:        http://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
19 # Source0-md5:  6e8e8617cccc152c2b03f8faf3e5d2e7
20 Patch1:         %{name}-withoutfam.patch
21 Patch2:         %{name}-maildir.patch
22 Patch3:         %{name}-sendmail_dir.patch
23 Patch4:         %{name}-start_scripts.patch
24 Patch5:         %{name}-certs.patch
25 Patch6:         %{name}-filterbindir.patch
26 URL:            http://www.courier-mta.org/
27 BuildRequires:  autoconf >= 2.59
28 BuildRequires:  automake
29 BuildRequires:  courier-authlib-devel >= 0.61
30 BuildRequires:  expect
31 %{?with_fam:BuildRequires:      fam-devel}
32 BuildRequires:  gdbm-devel
33 BuildRequires:  gettext-tools
34 BuildRequires:  gnet-devel
35 BuildRequires:  gnupg
36 BuildRequires:  libstdc++-devel
37 BuildRequires:  libtool >= 2:1.5
38 BuildRequires:  mailcap
39 BuildRequires:  openldap-devel >= 2.3.0
40 BuildRequires:  openssl-devel >= 0.9.7d
41 BuildRequires:  openssl-tools >= 0.9.7d
42 BuildRequires:  pam-devel
43 BuildRequires:  pcre-devel
44 BuildRequires:  perl-devel
45 BuildRequires:  pkgconfig
46 BuildRequires:  rpmbuild(macros) >= 1.268
47 BuildRequires:  sed >= 4.0
48 BuildRequires:  sysconftool
49 Requires(post,preun):   /sbin/chkconfig
50 Requires:       rc-scripts
51 Provides:       smtpdaemon
52 Obsoletes:      smtpdaemon
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %define         _localstatedir  /var/spool/courier
56 %define         _sysconfdir     /etc/courier
57 %define         _certsdir       %{_sysconfdir}/certs
58
59 %define         _webapps        /etc/webapps
60 %define         _cgibindir      /usr/lib/cgi-bin
61 %define         _imagedir       %{_datadir}/courier/sqwebmail/images
62 %define         _imageurl       /webmail
63
64 %description
65 Courier is a fully functional mail server, that can completely take
66 over the mail services normally provided by sendmail, Qmail, or any
67 other mail server. Although Courier does not support all legacy
68 features of existing mail servers, the number of obsoleted functions
69 is very small, and there are better, and more robust, alternatives
70 available.
71
72 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
73 Courier also implements several new SMTP extensions for mailing list
74 management and spam filtering.
75
76 %description -l pl.UTF-8
77 Courier jest w pełni funkcjonalnym serwerem poczty, może całkowicie
78 zastąpić usługi pocztowe dawane przez sendmail, Qmaila i inne serwery.
79 Wprawdzie Courier nie ma wszystkich możliwości istniejących serwerów,
80 ilość nie obsługiwanych funkcji jest bardzo mała, i są dostępne lepsze
81 alternatywy.
82
83 Courier zawiera wiele rozszerzeń SMTP: DSN, PIPELINING, 8BITMIME. Ma
84 także nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
85 filtrowania spamu.
86
87 %package pop3d
88 Summary:        Courier Integrated POP3 server
89 Summary(pl.UTF-8):      Zintegrowany serwer POP3 do Couriera
90 Group:          Networking/Daemons/POP3
91 Requires(post): openssl-tools >= 0.9.7d
92 Requires:       %{name} = %{version}-%{release}
93 Provides:       pop3daemon
94 Obsoletes:      pop3daemon
95
96 %description pop3d
97 This package installs Courier mail server's integrated POP3 server,
98 which allows you to download mail from your mailbox using any POP3
99 client. Courier's POP3 server can only be used to download mail from
100 maildir mailboxes. This server does not support mailbox files. If you
101 do not need the ability to download your mail using a POP3 client, you
102 do not need to install this package.
103
104 %description pop3d -l pl.UTF-8
105 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalający
106 na ściąganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
107 Serwer POP3 Couriera może być używany tylko ze skrzynkami Maildir, nie
108 obsługuje skrzynek w postaci pojedynczych plików.
109
110 %package imapd
111 Summary:        Courier Integrated IMAP server
112 Summary(pl.UTF-8):      Zintegrowany serwer IMAP do Couriera
113 Group:          Networking/Daemons
114 Requires(post): openssl-tools >= 0.9.7d
115 Requires:       %{name} = %{version}-%{release}
116 Obsoletes:      courier-imap
117 Obsoletes:      courier-imap-common
118
119 %description imapd
120 This package installs Courier mail server's integrated IMAP server. If
121 you do not need the ability to download your mail using an IMAP mail
122 client, you do not need to install this package. Courier's IMAP server
123 can only be used to download mail from maildir mailboxes. This server
124 does not support mailbox files.
125
126 This package requires that Courier must be already installed, this is
127 NOT the standalone version of the Courier-IMAP server, and you cannot
128 install both this package, and the standalone version of Courier-IMAP.
129 If you have the standalone version of the Courier-IMAP server already
130 installed, installing this package will automatically remove the
131 standalone version.
132
133 %description imapd -l pl.UTF-8
134 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
135 ściągać pocztę przy pomocy klienta IMAP. Serwer IMAP Couriera może być
136 używany tylko ze skrzynkami Maildir, nie obsługuje skrzynek w postaci
137 pojedynczych plików.
138
139 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
140 serwera Courier-IMAP. Nie można też instalować jednocześnie tego
141 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
142 pakietu automatycznie odinstaluje Courier-IMAP jeśli był zinstalowany.
143
144 %package webadmin
145 Summary:        Courier Integrated HTTP administraton panel
146 Summary(pl.UTF-8):      Panel administracyjny przez HTTP dla Couriera
147 Group:          Networking/Daemons
148 Requires:       %{name} = %{version}-%{release}
149 Requires:       filesystem >= 3.0-11
150 Requires:       webapps
151 Requires:       webserver = apache
152 Conflicts:      apache-base < 2.2.0-8
153 Conflicts:      apache1 < 1.3.34-5.11
154
155 %description webadmin
156 This is a web-based administration tool. Webadmin is a web CGI
157 application.
158
159 %description webadmin -l pl.UTF-8
160 Webadmin jest narzędziem administracyjnym obsługiwanym przez WWW.
161
162 %package webmail
163 Summary:        Courier Integrated HTTP (webmail) server
164 Summary(pl.UTF-8):      Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
165 Group:          Networking/Daemons
166 Requires:       %{name} = %{version}-%{release}
167 Requires:       filesystem >= 3.0-11
168 Requires:       webapps
169 Requires:       webserver = apache
170 Conflicts:      apache-base < 2.2.0-8
171 Conflicts:      apache1 < 1.3.34-5.11
172
173 %description webmail
174 This package installs Courier mail server's integrated HTTP webmail
175 server. If you do not need the ability to access your mail using a web
176 browser, you do not need to install this package. Courier's webmail
177 server can only be used to download mail from maildir mailboxes. This
178 server does not support mailbox files.
179
180 This is the same server that's distributed separately under the name
181 of SqWebMail, however its configuration is customized for the Courier
182 mail server.
183
184 %description webmail -l pl.UTF-8
185 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
186 Couriera, pozwalający na dostęp do poczty za pomocą przeglądarki WWW.
187 Serwer webmail Couriera może być używany tylko ze skrzynkami Maildir,
188 nie obsługuje skrzynek w postaci pojedynczych plików.
189
190 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazwą
191 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
192
193 %package webmlm
194 Summary:        Courier web-based access to some couriermlm commands
195 Summary(pl.UTF-8):      Dostęp WWW do niektórych poleceń couriermlm do Couriera
196 Group:          Networking/Daemons
197 Requires:       %{name} = %{version}-%{release}
198 Requires:       filesystem >= 3.0-11
199 Requires:       webapps
200 Requires:       webserver = apache
201 Conflicts:      apache-base < 2.2.0-8
202 Conflicts:      apache1 < 1.3.34-5.11
203
204 %description webmlm
205 WebMLM is a service that offers an alternative web-based access to
206 some couriermlm commands, as an alternative to submitting them via
207 E-mail.
208
209 %description webmlm -l pl.UTF-8
210 WebMLM to serwis oferujący dostęp WWW do wybranych poleceń couriermlm
211 jako alternatywę do wysyłania ich poprzez e-mail.
212
213 %package maildir-tools
214 Summary:        Tools for mail folders in Maildir format
215 Summary(pl.UTF-8):      Narzędzia do zarządzania skrzynkami Maildir
216 Group:          Applications/Mail
217 Requires:       %{name} = %{version}-%{release}
218
219 %description maildir-tools
220 This package contains tools for mail folders in Maildir format.
221
222 %description maildir-tools -l pl.UTF-8
223 Ten pakiet zawiera narzędzia do zarządzania folderami w formacie
224 Maildir.
225
226 %package mlm
227 Summary:        Courier Integrated Mailing List Manager
228 Summary(pl.UTF-8):      Zintegrowany zarządca list dyskusyjnych do Couriera
229 Group:          Applications/Mail
230 Requires:       %{name} = %{version}-%{release}
231
232 %description mlm
233 This package installs couriermlm - a mailing list manager for the
234 Courier mail server. If you do not need the ability to manage mailing
235 lists, you do not need to install this package.
236
237 couriermlm is used to set up, maintain, and run a mailing list.
238 couriermlm automatically processes subscription and unsubscription
239 requests, and removes undeliverable addresses from the subscription
240 rolls. Mailing lists managed by couriermlm require zero human
241 administrative oversight. couriermlm supports digests, write-only
242 posting aliases, and moderated mailing lists.
243
244 %description mlm -l pl.UTF-8
245 Ten pakiet zawiera couriermlm - program do zarządzania listami
246 dyskusyjnymi dla Couriera. couriermlm jest używany do konfigurowania,
247 zarządzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
248 obsługuje żądania zapisywania i wypisywania oraz usuwa z listy
249 niedziałające adresy subskrybentów. Listy obsługiwane przez couriermlm
250 nie wymagają pracy administratora. couriermlm obsługuje digesty,
251 aliasy pocztowe tylko do wysyłania i listy moderowane.
252
253 %package maildrop
254 Summary:        Courier Integrated mail filter
255 Summary(pl.UTF-8):      Zintegrowany filtr poczty do Couriera
256 Group:          Applications/Mail
257 Requires:       %{name} = %{version}-%{release}
258
259 %description maildrop
260 This package installs Courier mail server's integrated mail filter.
261 You need to install this package if you want to be able to filter your
262 incoming mail.
263
264 %description maildrop -l pl.UTF-8
265 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
266 potrzebny do filtrowania przychodzącej poczty.
267
268 %package fax
269 Summary:        Courier fax support
270 Summary(pl.UTF-8):      Obsługa faksów dla Couriera
271 Group:          Applications/Mail
272 Requires:       %{name} = %{version}-%{release}
273
274 %description fax
275 This package adds support for faxing E-mail messages. It allows to
276 send fax messages simply by sending an E-mail to phonenumber@fax.
277
278 %description fax -l pl.UTF-8
279 Ten pakiet dodaje obsługę faksowania listów elektronicznych. Pozwala
280 wysyłać faksy wysyłając po prostu e-maila na numertelefonu@fax.
281
282 %prep
283 %setup -q
284 %{!?with_fam:%patch1 -p1}
285 %patch2 -p1
286 %patch3 -p1
287 %patch4 -p1
288 %patch5 -p1
289 %patch6 -p1
290
291 cat >apache.conf <<EOF
292 Alias /webmail %{_imagedir}
293 <Directory %{_imagedir}>
294         AllowOverride None
295         Options None
296         Allow from all
297 </Directory>
298 EOF
299
300 %build
301 %{__libtoolize}
302 # Change Makefile.am files and force recreate Makefile.in's.
303 OLDDIR=`pwd`
304 find -type f -a -name configure.ac | while read FILE; do
305         cd "`dirname "$FILE"`"
306
307         if [ -f Makefile.am ]; then
308                 sed -i -e '/_[L]DFLAGS=-static/d' Makefile.am
309         fi
310
311         %{__aclocal}
312         %{__autoconf}
313         if grep -q AC_CONFIG_HEADER configure.ac; then
314                 %{__autoheader}
315         fi
316         %{__automake}
317
318         cd "$OLDDIR"
319 done
320
321 %configure \
322         --datadir=%{_datadir}/courier \
323         --enable-imagedir=%{_imagedir} \
324         --enable-imageurl=%{_imageurl} \
325         --with-certsdir=%{_certsdir} \
326         --with-db=db \
327         --with-mailer=%{_sbindir}/sendmail \
328         --with-mailgid=2 \
329         --with-mailgroup=daemon \
330         --with-mailuid=2 \
331         --with-mailuser=daemon
332
333 %{__make} -j1
334 %{?with_tests:%{__make} -j1 check}
335
336 %install
337 rm -rf $RPM_BUILD_ROOT
338 umask 022
339 install -d -p $RPM_BUILD_ROOT/etc/{cron.hourly,pam.d,rc.d/init.d} \
340         $RPM_BUILD_ROOT{/usr/lib,%{_certsdir},%{_cgibindir},%{_webapps}/courier-webmail,%{_sysconfdir}/hosteddomains}
341
342 %{__make} -j1 install \
343         DESTDIR=$RPM_BUILD_ROOT
344
345 # fix pam problem
346 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
347 for X in imap esmtp pop3 webmail calendar
348 do
349         cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<'EOF'
350 #%PAM-1.0
351 auth    required        pam_unix.so shadow nullok
352 account required        pam_unix.so
353 session required        pam_unix.so
354 EOF
355 done
356
357 %{__make} install-perms
358
359 # Move webmail and webadmin to cgibindir
360 %{__mv} $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
361         $RPM_BUILD_ROOT%{_cgibindir}/webmail
362 %{__mv} $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webadmin \
363         $RPM_BUILD_ROOT%{_cgibindir}/webadmin
364
365 # install a cron job to clean out webmail's cache
366 install libs/sqwebmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
367
368 # Move .html documentation to docdir; use common directory for all subpackages for references to work.
369 install -d $RPM_BUILD_ROOT%{_docdir}
370 %{__mv} $RPM_BUILD_ROOT%{_datadir}/courier/htmldoc $RPM_BUILD_ROOT%{_docdir}/courier
371
372 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
373 # package, so after it's installed they should be runnable.
374
375 sed -i 's/^POP3DSTART.*/POP3DSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
376 sed -i 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
377 sed -i 's/^IMAPDSTART.*/IMAPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
378 sed -i 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
379
380 # Want to have esmtpd running by default
381 sed -i 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
382
383 # run script from install-configure (make config files)
384 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
385 do %{__perl} ././sysconftool $RPM_BUILD_ROOT$confdist
386 done
387
388 # make locals, esmtpacceptmailfor.dir/default
389 touch $RPM_BUILD_ROOT%{_sysconfdir}/esmtpacceptmailfor.dir/default
390 touch $RPM_BUILD_ROOT%{_sysconfdir}/locals
391
392 # file with important options
393 cat > $RPM_BUILD_ROOT%{_sysconfdir}/bofh <<EOF
394 # enable this option if you want to pass bad converted mails
395 # opt BOFHBADMIME=accept
396 EOF
397
398 # Make password and unsecureok (files for webadmin)
399 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
400 touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
401
402 # create file me to put localdomain
403 touch $RPM_BUILD_ROOT%{_sysconfdir}/me
404
405 # create calendarmode
406 touch $RPM_BUILD_ROOT%{_sysconfdir}/calendarmode
407
408 install courier.sysvinit $RPM_BUILD_ROOT/etc/rc.d/init.d/courier
409
410 # sendmail soft links
411 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
412
413 # fix rmail link (points to non-existing sendmail in %{_bindir}
414 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/rmail
415
416 # for apache
417 cp -p apache.conf $RPM_BUILD_ROOT%{_webapps}/courier-webmail/apache.conf
418 cp -p apache.conf $RPM_BUILD_ROOT%{_webapps}/courier-webmail/httpd.conf
419
420 # makedat is packaged in courier-authlib
421 %{__rm} $RPM_BUILD_ROOT%{_bindir}/makedat \
422         $RPM_BUILD_ROOT%{_libexecdir}/courier/makedatprog \
423         $RPM_BUILD_ROOT%{_datadir}/courier/makedat \
424         $RPM_BUILD_ROOT%{_mandir}/man1/makedat.1
425 # remove unpackaged files
426 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
427
428 %clean
429 rm -rf $RPM_BUILD_ROOT
430
431 %triggerin -- courier < 0.45.5
432 echo
433 echo Directory with certificates has changed to %{_certsdir}
434 echo
435
436 %post
437 if [ "$1" = "1" ]; then
438         [ -s %{_sysconfdir}/me ] || /bin/hostname -f > %{_sysconfdir}/me
439         %banner -e %{name} <<'EOF'
440
441 Now courier will refuse to accept SMTP messages except to localhost
442 add hosts to %{_sysconfdir}/esmtpacceptmailfor.dir/default
443 run makeacceptmailfor
444
445 Add hosts to %{_sysconfdir}/locals you want to accept mail for
446 run makealiases
447
448 Enter user, who should receive mail for root, mailer-daemon and postmaster
449 into %{_sysconfdir}/aliases/system
450
451 Default maildir is in ~/Mail/Maildir
452
453 EOF
454 fi
455
456 /sbin/chkconfig --add courier
457 %service courier restart
458
459 %preun
460 if [ "$1" = "0" ]; then
461         %service courier stop
462         /sbin/chkconfig --del courier
463 fi
464
465 %post imapd
466 # TODO: use rc-scripts here
467 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
468         %{_sbindir}/imapd stop
469         %{_sbindir}/imapd start
470 else
471         echo
472         echo 'Type "%{_sbindir}/imapd start" to start imapd server'
473         echo
474 fi
475 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
476         %{_sbindir}/imapd-ssl stop
477         %{_sbindir}/imapd-ssl start
478 else
479         echo
480         echo Type "%{_sbindir}/imapd-ssl start" to start imapd-ssl server
481         echo
482 fi
483
484 %preun imapd
485 if [ "$1" = "0" ]; then
486         if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
487                 %{_sbindir}/imapd stop
488         fi
489         if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
490                 %{_sbindir}/imapd-ssl stop
491         fi
492 fi
493
494 %post pop3d
495 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
496         %{_sbindir}/pop3d stop
497         %{_sbindir}/pop3d start
498 else
499         echo
500         echo 'Type "%{_sbindir}/pop3d start" to start pop3d server'
501         echo
502 fi
503 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
504         %{_sbindir}/pop3d-ssl stop
505         %{_sbindir}/pop3d-ssl start
506 else
507         echo
508         echo 'Type "%{_sbindir}/pop3d-ssl start" to start pop3d-ssl server'
509         echo
510 fi
511
512 %preun pop3d
513 if [ "$1" = "0" ]; then
514         if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
515                 %{_sbindir}/pop3d stop
516         fi
517         if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
518                 %{_sbindir}/pop3d-ssl stop
519         fi
520 fi
521
522 %post webadmin
523 if [ "$1" = "1" ]; then
524         echo
525         echo Remember to put your webadmin password to %{_sysconfdir}/webadmin/password
526         echo
527 fi
528
529 %post webmail
530 if [ "$1" = "1" ]; then
531         echo
532         echo If you want to have calendar starting by default then
533         echo put word net to %{_sysconfdir}/calendarmode
534         echo
535 fi
536 if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
537         %{_sbindir}/webmaild stop
538         %{_sbindir}/webmaild start
539 else
540         echo
541         echo 'Type "%{_sbindir}/webmaild start" to start webmail server'
542         echo
543 fi
544
545 %preun webmail
546 if [ "$1" = "0" ]; then
547         if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
548                 %{_sbindir}/webmaild stop
549         fi
550 fi
551
552 %triggerin webmail -- apache1 < 1.3.37-3, apache1-base
553 %webapp_register apache courier-webmail
554
555 %triggerun webmail -- apache1 < 1.3.37-3, apache1-base
556 %webapp_unregister apache courier-webmail
557
558 %triggerin webmail -- apache < 2.2.0, apache-base
559 %webapp_register httpd courier-webmail
560
561 %triggerun webmail -- apache < 2.2.0, apache-base
562 %webapp_unregister httpd courier-webmail
563
564 %triggerpostun webmail -- courier-webmail < 0.52.2-0.2
565 # migrate from apache-config macros
566 if [ -f /etc/courier/apache-courier.conf.rpmsave ]; then
567         if [ -d /etc/apache/webapps.d ]; then
568                 cp -f %{_webapps}/courier-webmail/apache.conf{,.rpmnew}
569                 cp -f /etc/courier/apache-courier.conf.rpmsave %{_webapps}/courier-webmail/apache.conf
570         fi
571
572         if [ -d /etc/httpd/webapps.d ]; then
573                 cp -f %{_webapps}/courier-webmail/httpd.conf{,.rpmnew}
574                 cp -f /etc/courier/apache-courier.conf.rpmsave %{_webapps}/courier-webmail/httpd.conf
575         fi
576         rm -f /etc/courier/apache-courier.conf.rpmsave
577 fi
578
579 # migrating apache-config symlinks
580 if [ -L /etc/apache/conf.d/99_courier.conf ]; then
581         rm -f /etc/apache/conf.d/99_courier.conf
582         /usr/sbin/webapp register apache courier-webmail
583         %service -q apache reload
584 fi
585 if [ -L /etc/httpd/httpd.conf/99_courier.conf ]; then
586         rm -f /etc/httpd/httpd.conf/99_courier.conf
587         /usr/sbin/webapp register httpd courier-webmail
588         %service -q httpd reload
589 fi
590
591 %files
592 %defattr(644,root,root,755)
593 %doc AUTHORS BENCHMARKS COPYING ChangeLog INSTALL NEWS README TODO
594 # common:
595 # couriertcpd, couriertls are common TCP/TLS wrappers
596 # makemime used by sqwebmail, useful for maildrop
597 # reformime used by mlm, useful for maildrop
598 # deliverquota, sharedindex* are common for maildir
599 %attr(755,root,root) %{_bindir}/couriertls
600 %attr(755,root,root) %{_bindir}/deliverquota
601 %attr(755,root,root) %{_bindir}/makemime
602 %attr(755,root,root) %{_bindir}/mimegpg
603 %attr(755,root,root) %{_bindir}/reformime
604 %attr(755,root,root) %{_sbindir}/couriertcpd
605 %attr(755,root,root) %{_sbindir}/mkdhparams
606 %attr(755,root,root) %{_sbindir}/sharedindexinstall
607 %attr(755,root,root) %{_sbindir}/sharedindexsplit
608 %dir %{_libexecdir}/courier
609 %dir %{_datadir}/courier
610 %attr(755,root,root) %{_datadir}/courier/mkdhparams
611 %attr(755,daemon,daemon) %dir %{_sysconfdir}
612 %attr(750,daemon,daemon) %dir %{_certsdir}
613 %dir %{_docdir}/courier
614 %{_docdir}/courier/bg.png
615 %{_docdir}/courier/japanese_flag.png
616 %{_docdir}/courier/icon.gif
617 %{_docdir}/courier/manpage.css
618 %{_docdir}/courier/draft-varshavchik-*-smtpext.txt
619 %{_docdir}/courier/FAQ.html
620 %{_docdir}/courier/couriertcpd.html
621 %{_docdir}/courier/couriertls.html
622 %{_docdir}/courier/deliverquota.html
623 %{_docdir}/courier/documentation.html
624 %{_docdir}/courier/download.html
625 %{_docdir}/courier/index.html
626 %{_docdir}/courier/install.html
627 %{_docdir}/courier/layout.html
628 %{_docdir}/courier/links.html
629 %{_docdir}/courier/makedat.html
630 %{_docdir}/courier/makemime.html
631 %{_docdir}/courier/menu.html
632 %{_docdir}/courier/mimegpg.html
633 %{_docdir}/courier/mkdhparams.html
634 %{_docdir}/courier/modules.html
635 %{_docdir}/courier/reformime.html
636 %{_docdir}/courier/repo.html
637 %{_docdir}/courier/rpm.html
638 %{_docdir}/courier/socks.html
639 %{_docdir}/courier/status.html
640 %{_docdir}/courier/structures.html
641 %{_mandir}/man1/couriertcpd.1*
642 %{_mandir}/man1/couriertls.1*
643 %{_mandir}/man1/makemime.1*
644 %{_mandir}/man1/reformime.1*
645 %{_mandir}/man1/mimegpg.1*
646 %{_mandir}/man8/deliverquota.8*
647 %{_mandir}/man8/mkdhparams.8*
648
649 # MTA
650 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
651 %attr(755,root,root) %{_bindir}/courier-config
652 %attr(755,root,root) %{_bindir}/dotforward
653 %attr(2755,daemon,daemon) %{_bindir}/mailq
654 %attr(4755,root,root) %{_bindir}/rmail
655 %attr(755,root,root) %{_bindir}/testmxlookup
656 %attr(755,root,root) %{_sbindir}/aliaslookup
657 %attr(755,root,root) %{_sbindir}/courier
658 %attr(754,root,daemon) %{_sbindir}/makealiases
659 %attr(755,root,root) %{_sbindir}/makehosteddomains
660 %attr(755,root,root) %{_sbindir}/showconfig
661 %attr(754,root,daemon) %{_sbindir}/showmodules
662 %attr(4755,root,root) %{_sbindir}/sendmail
663 %attr(755,root,root) /usr/lib/sendmail
664 %attr(754,daemon,daemon) %{_libexecdir}/courier/aliascombine
665 %attr(754,daemon,daemon) %{_libexecdir}/courier/aliascreate
666 %attr(754,daemon,daemon) %{_libexecdir}/courier/aliasexp
667 %attr(754,daemon,daemon) %{_libexecdir}/courier/courierd
668 %attr(754,daemon,daemon) %{_libexecdir}/courier/submit
669 %attr(4554,daemon,daemon) %{_libexecdir}/courier/submitmkdir
670 %attr(755,root,root) %{_datadir}/courier/courierctl.start
671 %attr(754,root,daemon) %{_datadir}/courier/makealiases
672 %attr(755,root,root) %{_datadir}/courier/makehosteddomains
673 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
674 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
675 %attr(754,root,root) /etc/rc.d/init.d/courier
676 %attr(755,bin,bin) %dir %{_localstatedir}
677 %attr(755,daemon,daemon) %dir %{_localstatedir}/track
678 %{_docdir}/courier/aliases.html
679 %{_docdir}/courier/aliaslookup.html
680 %{_docdir}/courier/cancelmsg.html
681 %{_docdir}/courier/courier.html
682 %{_docdir}/courier/courierd.html
683 %{_docdir}/courier/dot-courier.html
684 %{_docdir}/courier/dot-forward.html
685 %{_docdir}/courier/mailq.html
686 %{_docdir}/courier/makealiases.html
687 %{_docdir}/courier/makehosteddomains.html
688 %{_docdir}/courier/queue.html
689 %{_docdir}/courier/sendmail.html
690 %{_docdir}/courier/submit.html
691 %{_docdir}/courier/testmxlookup.html
692 %{_mandir}/man1/cancelmsg.1*
693 %{_mandir}/man1/dot-forward.1*
694 %{_mandir}/man1/dotforward.1*
695 %{_mandir}/man1/mailq.1*
696 %{_mandir}/man1/rmail.1*
697 %{_mandir}/man1/sendmail.1*
698 %{_mandir}/man1/testmxlookup.1*
699 %{_mandir}/man5/dot-courier.5*
700 %{_mandir}/man7/localmailfilter.7*
701 %{_mandir}/man8/aliaslookup.8*
702 %{_mandir}/man8/courier.8*
703 %{_mandir}/man8/makealiases.8*
704 %{_mandir}/man8/makehosteddomains.8*
705 %{_mandir}/man8/submit.8*
706 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh
707 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/courierd
708 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enablefiltering
709 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locals
710 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/me
711 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
712 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
713 %attr(640,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aliases/system
714 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
715 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
716 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/smtpaccess/default
717 %{_sysconfdir}/quotawarnmsg.example
718 %dir %{_datadir}/courier/courierwebadmin
719 %{_datadir}/courier/courierwebadmin/admin-15*
720
721 # LDAP configuration
722 %attr(744,daemon,daemon) %{_sbindir}/courierldapaliasd
723 %attr(640,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldapaliasrc
724 %{_docdir}/courier/courierldapaliasd.html
725 %{_mandir}/man8/courierldapaliasd.8*
726
727 # filters
728 %attr(755,root,root) %{_bindir}/verifysmtp
729 %attr(754,root,daemon) %{_sbindir}/courierfilter
730 %attr(754,root,daemon) %{_sbindir}/filterctl
731 %attr(755,root,root) %{_libexecdir}/courier/courierfilter
732 %dir %{_libexecdir}/courier/filters
733 %attr(755,root,root) %{_libexecdir}/courier/filters/dupfilter
734 %attr(755,root,root) %{_libexecdir}/courier/filters/perlfilter
735 %attr(755,root,root) %{_libexecdir}/courier/filters/ratefilter
736 %attr(755,root,root) %{_libexecdir}/courier/filters/verifyfilter
737 %attr(754,root,daemon) %{_datadir}/courier/filterctl
738 %attr(755,root,root) %{_datadir}/courier/perlfilter-*.pl
739 %attr(755,root,root) %{_datadir}/courier/verifysender
740 %attr(755,root,root) %{_datadir}/courier/verifysenderfull
741 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
742 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
743 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
744 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
745 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
746 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
747 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
748 %{_docdir}/courier/courierfilter.html
749 %{_docdir}/courier/courierperlfilter.html
750 %{_docdir}/courier/dupfilter.html
751 %{_docdir}/courier/ratefilter.html
752 %{_docdir}/courier/verifyfilter.html
753 %{_mandir}/man8/courierfilter.8*
754 %{_mandir}/man8/courierperlfilter.8*
755 %{_mandir}/man8/dupfilter.8*
756 %{_mandir}/man8/filterctl.8*
757 %{_mandir}/man8/ratefilter.8*
758 %{_mandir}/man8/verifyfilter.8*
759 %{_mandir}/man8/verifysmtp.8*
760
761 # module.dsn
762 %dir %{_libexecdir}/courier/modules/dsn
763 %attr(755,root,root) %{_libexecdir}/courier/modules/dsn/courierdsn
764 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.dsn
765 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsndelayed.txt
766 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsndelivered.txt
767 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnfailed.txt
768 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnrelayed.txt
769 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnfooter.txt
770 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnsubjectnotice.txt
771 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnsubjectwarn.txt
772 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dsnheader.txt
773 %{_docdir}/courier/courierdsn.html
774
775 # module.esmtp
776 %attr(755,root,root) %{_bindir}/addcr
777 %attr(755,root,root) %{_sbindir}/courieresmtpd
778 %attr(755,root,root) %{_sbindir}/esmtpd
779 %attr(755,root,root) %{_sbindir}/esmtpd-msa
780 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
781 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
782 %attr(755,root,root) %{_sbindir}/makepercentrelay
783 %attr(755,root,root) %{_sbindir}/makesmtpaccess
784 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
785 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
786 %dir %{_libexecdir}/courier/modules/esmtp
787 %attr(754,root,daemon) %{_libexecdir}/courier/modules/esmtp/courieresmtp
788 %attr(754,root,daemon) %{_libexecdir}/courier/modules/esmtp/courieresmtpd
789 %attr(755,root,root) %{_libexecdir}/courier/modules/esmtp/addcr
790 %attr(755,root,root) %{_datadir}/courier/esmtpd
791 %attr(755,root,root) %{_datadir}/courier/esmtpd-ssl
792 %attr(755,root,root) %{_datadir}/courier/makeacceptmailfor
793 %attr(755,root,root) %{_datadir}/courier/makepercentrelay
794 %attr(755,root,root) %{_datadir}/courier/makesmtpaccess
795 %attr(755,root,root) %{_datadir}/courier/mkesmtpdcert
796 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/esmtp
797 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.esmtp
798 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd
799 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd-msa
800 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd-ssl
801 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpd.cnf
802 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpauthclient
803 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
804 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esmtpacceptmailfor.dir/default
805 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
806 %{_docdir}/courier/esmtp.html
807 %{_docdir}/courier/esmtpd.html
808 %{_docdir}/courier/makeacceptmailfor.html
809 %{_docdir}/courier/makepercentrelay.html
810 %{_docdir}/courier/makesmtpaccess.html
811 %{_docdir}/courier/mkesmtpdcert.html
812 %{_mandir}/man8/esmtpd.8*
813 %{_mandir}/man8/esmtpd-msa.8*
814 %{_mandir}/man8/makeacceptmailfor.8*
815 %{_mandir}/man8/makepercentrelay.8*
816 %{_mandir}/man8/makesmtpaccess.8*
817 %{_mandir}/man8/makesmtpaccess-msa.8*
818 %{_mandir}/man8/mkesmtpdcert.8*
819
820 # module.local
821 %attr(755,root,root) %{_bindir}/preline
822 %dir %{_libexecdir}/courier/modules/local
823 %attr(755,root,root) %{_libexecdir}/courier/modules/local/courierdeliver
824 %attr(755,root,root) %{_libexecdir}/courier/modules/local/courierlocal
825 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.local
826 %{_docdir}/courier/local.html
827 %{_docdir}/courier/localmailfilter.html
828 %{_docdir}/courier/preline.html
829 %{_mandir}/man1/preline.1*
830
831 # module.uucp
832 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
833 %dir %{_libexecdir}/courier/modules
834 %dir %{_libexecdir}/courier/modules/uucp
835 %attr(755,root,root) %{_libexecdir}/courier/modules/uucp/courieruucp
836 %attr(755,root,root) %{_datadir}/courier/makeuucpneighbors
837 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.uucp
838 %{_docdir}/courier/courieruucp.html
839 %{_mandir}/man8/courieruucp.8*
840 %{_mandir}/man8/makeuucpneighbors.8*
841
842 %files pop3d
843 %defattr(644,root,root,755)
844 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d
845 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d.cnf
846 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pop3d-ssl
847 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/pop3
848 %attr(755,root,root) %{_sbindir}/mkpop3dcert
849 %attr(755,root,root) %{_sbindir}/pop3d
850 %attr(755,root,root) %{_sbindir}/pop3d-ssl
851 %attr(755,root,root) %{_libexecdir}/courier/courierpop3d
852 %attr(755,root,root) %{_libexecdir}/courier/courierpop3login
853 %attr(755,root,root) %{_datadir}/courier/mkpop3dcert
854 %attr(755,root,root) %{_datadir}/courier/pop3d
855 %attr(755,root,root) %{_datadir}/courier/pop3d-ssl
856 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-45pop3.pl
857 %{_datadir}/courier/courierwebadmin/admin-45pop3.html
858 %{_docdir}/courier/courierpop3d.html
859 %{_docdir}/courier/mkpop3dcert.html
860 %{_docdir}/courier/pop3d.html
861 %{_mandir}/man8/courierpop3d.8*
862 %{_mandir}/man8/courierpop3login.8*
863 %{_mandir}/man8/mkpop3dcert.8*
864 %{_mandir}/man8/pop3d.8*
865 %{_mandir}/man8/pop3d-ssl.8*
866
867 %files imapd
868 %defattr(644,root,root,755)
869 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd
870 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd-ssl
871 %attr(600,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imapd.cnf
872 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/imap
873 %attr(755,root,root) %{_bindir}/imapd
874 %attr(755,root,root) %{_sbindir}/imapd
875 %attr(755,root,root) %{_sbindir}/imapd-ssl
876 %attr(755,root,root) %{_sbindir}/makeimapaccess
877 %attr(755,root,root) %{_sbindir}/mkimapdcert
878 %attr(755,root,root) %{_libexecdir}/courier/imaplogin
879 %attr(755,root,root) %{_datadir}/courier/imapd
880 %attr(755,root,root) %{_datadir}/courier/imapd-ssl
881 %attr(755,root,root) %{_datadir}/courier/makeimapaccess
882 %attr(755,root,root) %{_datadir}/courier/mkimapdcert
883 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-40imap.pl
884 %{_datadir}/courier/courierwebadmin/admin-40imap.html
885 %{_docdir}/courier/imapd.html
886 %{_docdir}/courier/makeimapaccess.html
887 %{_docdir}/courier/mkimapdcert.html
888 %{_mandir}/man8/imapd.8*
889 %{_mandir}/man8/makeimapaccess.8*
890 %{_mandir}/man8/mkimapdcert.8*
891
892 %files webadmin
893 %defattr(644,root,root,755)
894 # suid root to cgi-bin??? and it's not secured by apache config!
895 %attr(4755,root,root) %{_cgibindir}/webadmin
896 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
897 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
898 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
899 %attr(400,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/webadmin/password
900 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/webadmin/unsecureok
901 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-main.pl
902 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-save.pl
903 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-cancel.pl
904 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-[0235]*.pl
905 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-10password.pl
906 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/dumpenv.pl
907 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/webadmin.pl
908 %{_datadir}/courier/courierwebadmin/admin-[0235]*.html
909 %{_datadir}/courier/courierwebadmin/admin-10password.html
910 %{_datadir}/courier/courierwebadmin/admin-main.html
911 %{_datadir}/courier/courierwebadmin/admin-save.html
912 %{_datadir}/courier/courierwebadmin/login.html
913 %{_datadir}/courier/courierwebadmin/notsupp.html
914 %{_datadir}/courier/courierwebadmin/unsecure.html
915 %{_datadir}/courier/courierwebadmin/webadmin.pm
916
917 %files webmail
918 %defattr(644,root,root,755)
919 %doc libs/gpglib/README.html
920 %attr(755,root,root) %{_cgibindir}/webmail
921 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
922 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/webmail
923 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/calendar
924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/calendarmode
925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldapaddressbook
926 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sqwebmaild
927 %attr(755,root,root) %{_sbindir}/webgpg
928 %attr(755,root,root) %{_sbindir}/webmaild
929 %attr(755,root,root) %{_libexecdir}/courier/pcpd
930 %attr(755,root,root) %{_libexecdir}/courier/sqwebmaild
931 %attr(755,root,root) %{_libexecdir}/courier/sqwebpasswd
932 %dir %{_datadir}/courier/sqwebmail
933 %dir %{_datadir}/courier/sqwebmail/html
934 %dir %{_datadir}/courier/sqwebmail/html/en-us
935 %{_datadir}/courier/sqwebmail/html/en
936 %{_datadir}/courier/sqwebmail/images
937 %config %{_datadir}/courier/sqwebmail/html/en-us/[CILT]*
938 %{_datadir}/courier/sqwebmail/html/en-us/*.html
939 %{_datadir}/courier/sqwebmail/html/en-us/*.txt
940 %attr(755,root,root) %{_datadir}/courier/sqwebmail/cleancache.pl
941 %attr(755,root,root) %{_datadir}/courier/sqwebmail/ldapsearch
942 %attr(755,root,root) %{_datadir}/courier/sqwebmail/sendit.sh
943 %attr(755,root,root) %{_datadir}/courier/sqwebmail/webgpg
944 %attr(755,root,root) %{_datadir}/courier/courierwebadmin/admin-47webmail.pl
945 %{_datadir}/courier/courierwebadmin/admin-47webmail.html
946 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar
947 %attr(700,bin,daemon) %dir %{_localstatedir}/calendar/localcache
948 %attr(750,bin,daemon) %dir %{_localstatedir}/calendar/private
949 %attr(755,bin,daemon) %dir %{_localstatedir}/calendar/public
950 %attr(700,bin,bin) %dir %{_localstatedir}/webmail-logincache
951 %dir %attr(750,root,http) %{_webapps}/courier-webmail
952 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/courier-webmail/apache.conf
953 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/courier-webmail/httpd.conf
954 %{_docdir}/courier/pcp_README.html
955
956 %files webmlm
957 %defattr(644,root,root,755)
958 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webmlmrc
959 %attr(755,root,root) %{_bindir}/webmlmd
960 %attr(755,root,root) %{_bindir}/webmlmd.rc
961 %dir %{_libexecdir}/courier/webmail
962 %attr(755,root,root) %{_libexecdir}/courier/webmail/webmlm
963 %{_docdir}/courier/webmlmd.html
964 %{_mandir}/man1/webmlmd.1*
965
966 %files maildrop
967 %defattr(644,root,root,755)
968 %attr(644,daemon,daemon) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/maildrop
969 %attr(755,root,root) %{_bindir}/lockmail
970 %attr(755,root,root) %{_bindir}/mailbot
971 %attr(4755,root,root) %{_bindir}/maildrop
972 %attr(755,root,root) %{_bindir}/reformail
973 %{_docdir}/courier/lockmail.html
974 %{_docdir}/courier/mailbot.html
975 %{_docdir}/courier/maildrop*.html
976 %{_docdir}/courier/reformail.html
977 %{_mandir}/man1/lockmail.1*
978 %{_mandir}/man1/mailbot.1*
979 %{_mandir}/man1/maildrop.1*
980 %{_mandir}/man1/reformail.1*
981 %{_mandir}/man7/maildropex.7*
982 %{_mandir}/man7/maildropfilter.7*
983 %{_mandir}/man7/maildropgdbm.7*
984
985 %files maildir-tools
986 %defattr(644,root,root,755)
987 %doc libs/maildir/README.*.html
988 %attr(755,root,root) %{_bindir}/maildirmake
989 %attr(755,root,root) %{_bindir}/maildirkw
990 %attr(755,root,root) %{_bindir}/maildiracl
991 %{_docdir}/courier/maildir*.html
992 %{_mandir}/man1/maildirmake.1*
993 %{_mandir}/man1/maildirkw.1*
994 %{_mandir}/man1/maildiracl.1*
995 %{_mandir}/man5/maildir.5*
996 %{_mandir}/man7/maildirquota.7*
997
998 %files mlm
999 %defattr(644,root,root,755)
1000 %attr(755,root,root) %{_bindir}/couriermlm
1001 %{_datadir}/courier/couriermlm
1002 %{_docdir}/courier/couriermlm.html
1003 %{_mandir}/man1/couriermlm.1*
1004
1005 %files fax
1006 %defattr(644,root,root,755)
1007 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/faxcoverpage.tr
1008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/faxnotifyrc
1009 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/faxrc
1010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/module.fax
1011 %dir %{_libexecdir}/courier/modules/fax
1012 %attr(755,root,root) %{_libexecdir}/courier/modules/fax/courierfax
1013 %dir %{_datadir}/courier/faxmail
1014 %{_datadir}/courier/faxmail/*.filter
1015 %{_datadir}/courier/faxmail/coverpage
1016 %{_datadir}/courier/faxmail/init
1017 %{_datadir}/courier/faxmail/new_fax
1018 %{_docdir}/courier/courierfax.html
1019 %{_mandir}/man8/courierfax.8*
This page took 0.133897 seconds and 4 git commands to generate.