]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- files fixes, updated docs
[packages/courier.git] / courier.spec
1 #
2 # Conditional build:
3 %bcond_with     fam             # with fam support
4 #
5 Summary:        Courier mail server
6 Summary(pl):    Serwer poczty Courier
7 Name:           courier
8 Version:        0.45.1
9 Release:        0.9
10 License:        GPL
11 Group:          Networking/Daemons
12 Source0:        http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13 # Source0-md5:  449b03a7d61e2174ad7dc65e4ddf57c6
14 Patch0:         %{name}-openssl-path.patch
15 Patch1:         %{name}-withoutfam.patch
16 Patch2:         %{name}-maildir.patch
17 Patch3:         %{name}-no_res_query.patch
18 Patch4:         %{name}-sendmail_dir.patch
19 Patch5:         %{name}-start_scripts.patch
20 URL:            http://www.courier-mta.org/
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  db-devel
24 BuildRequires:  expect
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool
27 BuildRequires:  mailcap
28 BuildRequires:  mysql-devel
29 BuildRequires:  openldap-devel
30 BuildRequires:  openssl-devel >= 0.9.7c
31 BuildRequires:  openssl-tools >= 0.9.7c
32 BuildRequires:  openssl-tools-perl >= 0.9.7c
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.7c
41 %{?with_fam:Requires:   fam}
42 Provides:       smtpdaemon
43 Obsoletes:      exim
44 Obsoletes:      masqmail
45 Obsoletes:      nullmailer
46 Obsoletes:      omta
47 Obsoletes:      qmail
48 Obsoletes:      sendmail
49 Obsoletes:      sendmail-cf
50 Obsoletes:      sendmail-doc
51 Obsoletes:      smail
52 Obsoletes:      smtpdaemon
53 Obsoletes:      ssmtp
54 Obsoletes:      zmailer
55 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
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
65
66 # Change the following if your DocumentRoot and cgibindir differ.  This is
67 # the default redhat build:
68
69 %define         _cgibindir              %{apachedir}/cgi-bin
70 %define         _documentrootdir        %{apachedir}/html
71 %define         _imageurl               /webmail/
72
73 %description
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
79 available.
80
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.
84
85 %description -l pl
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 jesgt bardzo ma³a, i s± dostêpne
90 lepsze alternatywy.
91
92 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
93 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
94 filtrowania spamu.
95
96 %package pop3d
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.7c
102
103 %description pop3d
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.
110
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.
116
117 %package imapd
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.7c
123 Obsoletes:      courier-imap
124 Obsoletes:      courier-imap-common
125
126 %description imapd
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.
132
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
138 standalone version.
139
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
144 pojedynczych plików.
145
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.
150
151 %package webmail
152 Summary:        Courier Integrated HTTP (webmail) server
153 Summary(pl):    Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
154 Group:          Networking/Daemons
155 Requires:       %{name} = %{version}-%{release}
156 Requires:       %{_cgibindir}
157 Requires:       %{_documentrootdir}
158
159 %description webmail
160 This package installs Courier mail server's integrated HTTP webmail
161 server. If you do not need the ability to access your mail using a web
162 browser, you do not need to install this package. Courier's webmail
163 server can only be used to download mail from maildir mailboxes. This
164 server does not support mailbox files.
165
166 This is the same server that's distributed separately under the name
167 of SqWebMail, however its configuration is customized for the Courier
168 mail server.
169
170 %description webmail -l pl
171 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
172 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
173 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
174 nie obs³uguje skrzynek w postaci pojedynczych plików.
175
176 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
177 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
178
179 %package mlm
180 Summary:        Courier Integrated Mailing List Manager
181 Summary(pl):    Zintegrowany zarz±dca list dyskusyjnych do Couriera
182 Group:          Applications/Mail
183 Requires:       %{name} = %{version}-%{release}
184
185 %description mlm
186 This package installs couriermlm - a mailing list manager for the
187 Courier mail server. If you do not need the ability to manage mailing
188 lists, you do not need to install this package.
189
190 couriermlm is used to set up, maintain, and run a mailing list.
191 couriermlm automatically processes subscription and unsubscription
192 requests, and removes undeliverable addresses from the subscription
193 rolls. Mailing lists managed by couriermlm require zero human
194 administrative oversight. couriermlm supports digests, write-only
195 posting aliases, and moderated mailing lists.
196
197 %description mlm -l pl
198 Ten pakiet zawiera couriermlm - program do zarz±dzania listami
199 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
200 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
201 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
202 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
203 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
204 aliasy pocztowe tylko do wysy³ania i listy moderowane.
205
206 %package maildrop
207 Summary:        Courier Integrated mail filter
208 Summary(pl):    Zintegrowany filtr poczty do Couriera
209 Group:          Applications/Mail
210 Requires:       %{name} = %{version}-%{release}
211
212 %description maildrop
213 This package installs Courier mail server's integrated mail filter.
214 You need to install this package if you want to be able to filter your
215 incoming mail.
216
217 %description maildrop -l pl
218 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
219 potrzebny do filtrowania przychodz±cej poczty.
220
221 %package smtpauth
222 Summary:        Courier mail server authenticated ESMTP module
223 Summary(pl):    Modu³ uwierzytelniania ESMTP (SMTP AUTH) do Couriera
224 Group:          Networking/Daemons
225 Requires:       %{name} = %{version}-%{release}
226
227 %description smtpauth
228 Authenticated ESMTP allows remote users to authenticate themselves and
229 be able to relay outbound mail through the Courier mail server.
230
231 %description smtpauth -l pl
232 SMTP AUTH pozwala zdalnym u¿ytkownikom na uwierzytelnianie i
233 umo¿liwienie przekazania wychodz±cej poczty poprzez serwer poczty
234 Courier.
235
236 %package authldap
237 Summary:        LDAP authentication daemon for Courier mail server
238 Summary(pl):    Demon autentykacji LDAP do Couriera
239 Group:          Networking/Daemons
240 PreReq:         %{name} = %{version}-%{release}
241
242 %description authldap
243 This package provides LDAP authentication for Courier.
244
245 %description authldap -l pl
246 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courierze.
247
248 %package authmysql
249 Summary:        MySQL authentication daemon for Courier mail server
250 Summary(pl):    Demon autentykacji MySQL do Couriera
251 Group:          Networking/Daemons
252 PreReq:         %{name} = %{version}-%{release}
253
254 %description authmysql
255 This package provides MySQL authentication for Courier.
256
257 %description authmysql -l pl
258 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courierze.
259
260 %package authpgsql
261 Summary:        PostgreSQL authentication daemon for Courier mail server
262 Summary(pl):    Demon autentykacji PostgreSQL do Couriera
263 Group:          Networking/Daemons
264 PreReq:         %{name} = %{version}-%{release}
265
266 %description authpgsql
267 This package provides PostgreSQL authentication for Courier.
268
269 %description authpgsql -l pl
270 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courierze.
271
272 %prep
273 %setup -q
274 %patch0 -p1
275 %{!?with_fam:%patch1 -p1}
276 %patch2 -p1
277 %patch3 -p1
278 %patch4 -p1
279 %patch5 -p1
280
281 %build
282 # we don't want fax module
283 rm -rf courier/module.fax
284 cp -f /usr/share/automake/config.sub webmail
285
286 cd rootcerts
287 %{__libtoolize}
288 %{__aclocal}
289 %{__autoconf}
290 %{__automake}
291 cd ..
292
293 cd authlib
294 %{__aclocal}
295 %{__autoconf}
296 %{__automake}
297 cd ..
298
299 %{__libtoolize}
300 %{__aclocal}
301 %{__autoconf}
302 %{__automake}
303
304 cd courier
305 %{__aclocal}
306 %{__autoconf}
307 ln -s ../ltmain.sh .
308 %{__automake}
309 cd ..
310
311 %configure \
312         --localstatedir=%{_localstatedir} \
313         --sysconfdir=%{_sysconfdir} \
314         --mandir=%{_mandir} \
315         --enable-imageurl=%{_imageurl} \
316         --with-db=db \
317         --with-mailer=%{_sbindir}/sendmail
318
319 %{__make}
320 %{__make} check
321
322 %install
323 rm -rf $RPM_BUILD_ROOT
324 umask 022
325 install -d -p $RPM_BUILD_ROOT{%{_prefix}/lib,/etc/{cron.hourly,pam.d},%{initdir}} \
326         $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
327         $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}{/calendar,/tmp/broken}} \
328         $RPM_BUILD_ROOT/etc/cron.hourly
329
330 %{__make} install \
331         DESTDIR=$RPM_BUILD_ROOT
332
333 # fix pam problem
334 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
335 for X in imap esmtp pop3 webmail calendar
336 do
337 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
338 #%PAM-1.0
339 auth    required        pam_unix.so shadow nullok
340 account required        pam_unix.so
341 session required        pam_unix.so
342 EOF
343 done
344
345 # delete dead links
346 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
347 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
348 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
349 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
350 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
351 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
352 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
353 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
354 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
355 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
356 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
357 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
358 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
359 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
360 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
361 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
362 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
363 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
364 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
365
366 # make man links
367 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
368 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
369 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
370 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
371 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
372 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
373 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
374 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
375 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
376 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
377 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
378 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
379 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
380 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
381 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
382 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
383 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
384 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
385 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
386 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
387
388 %{__make} install-perms
389
390 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
391 # This removes all webmail-related stuff from the main filelist,
392 # and adds everything except the executable, webmail, to filelist.webmail.
393 # Here's why:
394
395 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
396         $RPM_BUILD_ROOT%{_cgibindir}/webmail
397
398 # And here's why we delete all images from filelist.webmail:
399 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
400
401 # install a cron job to clean out webmail's cache
402 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
403
404 # Move .html documentation back to build dir, so that RPM will move it to
405 # the appropriate docdir
406
407 rm -rf htmldoc
408 mkdir htmldoc
409 mv -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
410 chmod a-w htmldoc/*
411
412 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
413 # package, so after it's installed they should be runnable.
414
415 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
416 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
417
418 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
419 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
420
421 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
422 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
423
424 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
425 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
426
427 # Want to have esmtpd running by default
428 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
429 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
430
431 # run script from install-configure (make config files)
432 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
433 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
434 done
435
436 # make locals, esmtpacceptmailfor.dir/esmtpacceptmailfor
437 for X in locals esmtpacceptmailfor.dir/esmtpacceptmailfor
438 do
439 echo localhost >$RPM_BUILD_ROOT%{_sysconfdir}/$X
440 done
441
442 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
443
444 #
445 # Red Hat /etc/profile.d scripts
446 #
447
448 install -d $RPM_BUILD_ROOT/etc/profile.d
449 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
450 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
451 then
452         :
453 else
454         if test -w /etc
455         then
456                 PATH="%{_sbindir}:\$PATH"
457         fi
458         PATH="%{_bindir}:\$PATH"
459         export PATH
460 fi
461 EOF
462
463 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
464
465 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
466
467 if ( \$? ) then
468         true
469 else
470         test -w /etc
471         if ( \$? ) then
472         then
473                 setenv PATH "%{_sbindir}:\$PATH"
474         endif
475         setenv PATH "%{_bindir}:\$PATH"
476 endif
477 EOF
478
479 # sendmail soft links
480 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
481
482 # This link by default is missing
483 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
484
485 # remove unpackaged files
486 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
487 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
488 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
489
490 %clean
491 rm -rf $RPM_BUILD_ROOT
492
493 %post
494 if [ "$1" = "1" ]; then
495 /sbin/chkconfig --add courier
496
497 cat <<EOF
498
499 Now courier will refuse to accept SMTP messages except to localhost
500 add hosts to /etc/courier/esmtpacceptmailfor.dir/esmtpacceptmailfor
501 run makeacceptmailfor
502
503 Add hosts to /etc/courier/locals you want to accept mail for
504 run makealiases
505
506 Enter user, who should receive mail for root, mailer-daemon and postmaster
507 into /etc/courier/aliases/system
508
509 EOF
510 fi
511
512 if [ -e /var/lock/subsys/courier ]; then
513     %{initdir}/courier restart
514 fi
515
516 %preun
517 if [ "$1" = "0" ]; then
518     if [ -e /var/lock/subsys/courier ]; then
519         %{initdir}/courier stop
520     fi
521         /sbin/chkconfig --del courier
522 fi
523
524 %post imapd
525 if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
526     %{_sbindir}/imapd stop
527     %{_sbindir}/imapd start
528 fi
529 if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
530     %{_sbindir}/imapd-ssl stop
531     %{_sbindir}/imapd-ssl start
532 fi
533
534 %preun imapd
535 if [ "$1" = "0" ]; then
536     if [ -e %{_localstatedir}/tmp/imapd.pid ]; then
537         %{_sbindir}/imapd stop
538     fi
539     if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then
540         %{_sbindir}/imapd-ssl stop
541     fi
542 fi
543
544 %post pop3d
545 if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
546     %{_sbindir}/pop3d stop
547     %{_sbindir}/pop3d start
548 fi
549 if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
550     %{_sbindir}/pop3d-ssl stop
551     %{_sbindir}/pop3d-ssl start
552 fi
553
554 %preun pop3d
555 if [ "$1" = "0" ]; then
556     if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then
557         %{_sbindir}/pop3d stop
558     fi
559     if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then
560         %{_sbindir}/pop3d-ssl stop
561     fi
562 fi
563
564 %post webmail
565 if ps -A |grep -q authdaemond; then
566         %{_libdir}/courier/sqwebmaild start
567 fi
568
569 %preun webmail
570 if ps -A |grep -q sqwebmaild; then
571         %{_libdir}/courier/sqwebmaild stop
572 fi
573
574 %post smtpauth
575 if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
576     %{_sbindir}/esmtpd stop
577     %{_sbindir}/esmtpd start
578 fi
579 if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
580     %{_sbindir}/esmtpd-ssl stop
581     %{_sbindir}/esmtpd-ssl start
582 fi
583
584 if [ "$1" = "1" ]; then
585 echo
586 echo Remember to enable auth in esmtp config files
587 echo
588 fi
589
590 %postun smtpauth
591 if [ "$1" = "0" ]; then
592     if [ -e %{_localstatedir}/tmp/esmtpd.pid ]; then
593         %{_sbindir}/esmtpd stop
594         %{_sbindir}/esmtpd start
595     fi
596     if [ -e %{_localstatedir}/tmp/esmtpd-ssl.pid ]; then
597         %{_sbindir}/esmtpd-ssl stop
598         %{_sbindir}/esmtpd-ssl start
599     fi
600 fi
601
602 %post authldap
603 if ps -A |grep -q authdaemond.lda; then
604         %{_libdir}/authlib/authdaemond stop
605         %{_libdir}/authlib/authdaemond start
606 fi
607
608 %postun authldap
609 if [ -x %{_libdir}/authlib/authdaemond ]; then
610         if ps -A |grep -q authdaemond.lda; then
611                 %{_libdir}/authlib/authdaemond stop;
612                 %{_libdir}/authlib/authdaemond start;
613         fi
614 fi
615
616 %post authmysql
617 if ps -A |grep -q authdaemond.mys; then
618         %{_libdir}/authlib/authdaemond stop
619         %{_libdir}/authlib/authdaemond start
620 fi
621
622 %postun authmysql
623 if [ -x %{_libdir}/authlib/authdaemond ]; then
624         if ps -A |grep -q authdaemond.mys; then
625                 %{_libdir}/authlib/authdaemond stop;
626                 %{_libdir}/authlib/authdaemond start;
627         fi
628 fi
629
630 %post authpgsql
631 if ps -A |grep -q authdaemond.pgs; then
632         %{_libdir}/authlib/authdaemond stop
633         %{_libdir}/authlib/authdaemond start
634 fi
635
636 %postun authpgsql
637 if [ -x %{_libdir}/authlib/authdaemond ]; then
638         if ps -A |grep -q authdaemond.pgs; then
639                 %{_libdir}/authlib/authdaemond stop;
640                 %{_libdir}/authlib/authdaemond start;
641         fi
642 fi
643
644 %files
645 %defattr(644,root,root,755)
646 %doc AUTHORS BENCHMARKS ChangeLog NEWS README TODO htmldoc/* maildir/README.*.html
647 %{_mandir}/man1/sendmail.1*
648 %{_mandir}/man1/preline.1*
649 %{_mandir}/man1/maildirmake.1*
650 %{_mandir}/man1/maildirkw.1*
651 %{_mandir}/man1/maildiracl.1*
652 %{_mandir}/man1/cancelmsg.1*
653 %{_mandir}/man1/lockmail.1*
654 %{_mandir}/man1/mailbot.1*
655 %{_mandir}/man1/makemime.1*
656 %{_mandir}/man1/mimegpg.1*
657 %{_mandir}/man1/makedat.1*
658 %{_mandir}/man1/testmxlookup.1*
659 %{_mandir}/man1/dot-forward.1*
660 %{_mandir}/man1/couriertls.1*
661 %{_mandir}/man1/mailq*
662 %{_mandir}/man1/couriertcpd*
663 %{_mandir}/man1/dotforward.1*
664 %{_mandir}/man1/rmail.1*
665 %{_mandir}/man5/dot-courier.5*
666 %{_mandir}/man5/maildir.5*
667 %{_mandir}/man7/localmailfilter.7*
668 %{_mandir}/man7/maildirquota.7*
669 %{_mandir}/man7/authlib.7*
670 %{_mandir}/man7/authcram.7*
671 %{_mandir}/man7/authdaemon.7*
672 %{_mandir}/man7/authdaemond.7*
673 %{_mandir}/man7/authpam.7*
674 %{_mandir}/man7/authpwd.7*
675 %{_mandir}/man7/authshadow.7*
676 %{_mandir}/man7/authuserdb.7*
677 %{_mandir}/man7/authvchkpw.7*
678 %{_mandir}/man8/courierfilter.8*
679 %{_mandir}/man8/courierperlfilter.8*
680 %{_mandir}/man8/dupfilter.8*
681 %{_mandir}/man8/courier.8*
682 %{_mandir}/man8/courierldapaliasd.8*
683 %{_mandir}/man8/deliverquota.8*
684 %{_mandir}/man8/esmtpd.8*
685 %{_mandir}/man8/makeacceptmailfor.8*
686 %{_mandir}/man8/makehosteddomains.8*
687 %{_mandir}/man8/mkesmtpdcert.8*
688 %{_mandir}/man8/makealiases.8*
689 %{_mandir}/man8/makepercentrelay.8*
690 %{_mandir}/man8/makesmtpaccess.8*
691 %{_mandir}/man8/makeuserdb.8*
692 %{_mandir}/man8/submit.8*
693 %{_mandir}/man8/userdb.8*
694 %{_mandir}/man8/userdbpw.8*
695 %{_mandir}/man8/courieruucp.8*
696 %{_mandir}/man8/esmtpd-msa.8*
697 %{_mandir}/man8/filterctl.8*
698 %{_mandir}/man8/makesmtpaccess-msa.8*
699 %{_mandir}/man8/makeuucpneighbors.8*
700 %{_mandir}/man8/pw2userdb.8*
701 %{_mandir}/man8/vchkpw2userdb.8*
702 %dir %{_sysconfdir}
703 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
704 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
705 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
706 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
707 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
708 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
709 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/esmtpacceptmailfor
710 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
711 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
712 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
713 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
714 %dir %{_libdir}
715 %dir %{_libdir}/courier
716 %dir %{_datadir}
717 %{_datadir}/rootcerts
718 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
719 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
720 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
721 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
722 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
723 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
724 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
725 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
726 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
727 %{_datadir}/courierwebadmin/login.html
728 %{_datadir}/courierwebadmin/admin-save.html
729 %{_datadir}/courierwebadmin/admin-main.html
730 %{_datadir}/courierwebadmin/unsecure.html
731 %dir %{_libdir}/filters
732 %attr(755,root,root) %{_libdir}/filters/*
733 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
734 %dir %{_localstatedir}
735 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
736 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
737 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
738 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
739 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
740 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
741 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
742 %attr(754,root,daemon) %{_datadir}/filterctl
743 %attr(754,root,daemon) %{_sbindir}/filterctl
744 %attr(754,root,daemon) %{_sbindir}/courierfilter
745 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[01235]*.pl
746 %{_datadir}/courierwebadmin/admin-[01235]*.html
747 %{_datadir}/courierwebadmin/webadmin.pm
748 %{_datadir}/courierwebadmin/notsupp.html
749 %dir %{_libdir}/courier/modules
750 %dir %{_libdir}/courier/modules/uucp
751 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
752 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
753 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
754 %attr(755,root,root) %{_datadir}/makeuucpneighbors
755 %dir %{_libdir}/courier/modules/local
756 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
757 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
758 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
759 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
760 %attr(755,root,root) %{_bindir}/preline
761 %dir %{_libdir}/courier/modules/esmtp
762 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
763 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
764 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
765 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
766 %attr(755,root,root) %{_sbindir}/courieresmtpd
767 %attr(755,root,root) %{_bindir}/addcr
768 %attr(755,root,root) %{_sbindir}/esmtpd
769 %attr(755,root,root) %{_datadir}/esmtpd
770 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
771 %attr(755,root,root) %{_datadir}/esmtpd-ssl
772 %attr(755,root,root) %{_sbindir}/makesmtpaccess
773 %attr(755,root,root) %{_datadir}/makesmtpaccess
774 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
775 %attr(755,root,root) %{_datadir}/makeacceptmailfor
776 %attr(755,root,root) %{_sbindir}/makepercentrelay
777 %attr(755,root,root) %{_datadir}/makepercentrelay
778 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
779 %attr(755,root,root) %{_datadir}/mkesmtpdcert
780 %attr(755,root,root) %{_sbindir}/esmtpd-msa
781 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
782 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
783 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
784 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
785 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
786 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
787 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
788 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
789 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
790 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
791 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
792 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
793 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
794 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
795 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
796 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
797 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
798 %dir %{_libdir}/courier/modules/dsn
799 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
800 %{_libdir}/courier/modules/modules.ctl
801 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
802 %attr(750,root,daemon) %{_libdir}/courier/courierd
803 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
804 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
805 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
806 %attr(750,root,daemon) %{_libdir}/courier/submit
807 %attr(755,root,root) %{_libdir}/courier/makedatprog
808 %attr(755,root,root) %{_sbindir}/authenumerate
809 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
810 %attr(755,root,root) %{_sbindir}/courier
811 %attr(755,root,root) %{_datadir}/courierctl.start
812 %attr(755,root,root) %{_bindir}/couriertls
813 %attr(755,root,root) %{_sbindir}/couriertcpd
814 %attr(755,root,root) %{_sbindir}/courierlogger
815 %attr(755,root,root) %{_bindir}/courier-config
816 %attr(755,root,root) %{_bindir}/deliverquota
817 %attr(755,root,root) %{_bindir}/dotforward
818 %attr(755,root,root) %{_bindir}/lockmail
819 %attr(755,root,root) %{_bindir}/mailbot
820 %attr(755,root,root) %{_bindir}/maildirmake
821 %attr(755,root,root) %{_bindir}/maildirkw
822 %attr(755,root,root) %{_bindir}/maildiracl
823 %attr(2755,root,daemon) %{_bindir}/mailq
824 %attr(750,root,daemon) %{_datadir}/makealiases
825 %attr(750,root,daemon) %{_sbindir}/makealiases
826 %attr(755,root,root) %{_datadir}/makedat
827 %attr(755,root,root) %{_bindir}/makedat
828 %attr(755,root,root) %{_datadir}/makehosteddomains
829 %attr(755,root,root) %{_sbindir}/makehosteddomains
830 %attr(755,root,root) %{_bindir}/makemime
831 %attr(755,root,root) %{_datadir}/makeuserdb
832 %attr(755,root,root) %{_sbindir}/makeuserdb
833 %attr(755,root,root) %{_bindir}/mimegpg
834 %attr(755,root,root) %{_datadir}/pw2userdb
835 %attr(755,root,root) %{_sbindir}/pw2userdb
836 %attr(4755,root,root) %{_bindir}/rmail
837 %attr(755,root,root) %{_sbindir}/sharedindexinstall
838 %attr(755,root,root) %{_sbindir}/sharedindexsplit
839 %attr(755,root,root) %{_sbindir}/showconfig
840 %attr(750,root,daemon) %{_sbindir}/showmodules
841 %attr(4755,root,root) %{_sbindir}/sendmail
842 %attr(755,root,root) %{_bindir}/testmxlookup
843 %attr(755,root,root) %{_datadir}/userdb
844 %attr(755,root,root) %{_sbindir}/userdb
845 %attr(755,root,root) %{_sbindir}/userdbpw
846 %attr(755,root,root) %{_datadir}/vchkpw2userdb
847 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
848 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
849 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
850 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
851 %dir %{_libdir}/authlib
852 %attr(755,root,root) %{_libdir}/authlib/authdaemon
853 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
854 %attr(755,root,root) %{_libdir}/authlib/authdaemond
855 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
856 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
857 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
858 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
859 %attr(755,root,root) %{_datadir}/authsystem.passwd
860 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
861 %attr(755,root,root) /etc/profile.d/courier.sh
862 %attr(755,root,root) /etc/profile.d/courier.csh
863 %attr(754,root,root) /etc/rc.d/init.d/courier
864 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
865 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
866 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
867 %attr(755,root,root) /usr/lib/sendmail
868
869 %files pop3d
870 %defattr(644,root,root,755)
871 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
872 %{_mandir}/man8/courierpop3d.8*
873 %{_mandir}/man8/courierpop3login.8*
874 %{_mandir}/man8/mkpop3dcert.8*
875 %{_mandir}/man8/pop3d.8*
876 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
877 %{_datadir}/courierwebadmin/admin-45pop3.html
878 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
879 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
880 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
881 %attr(755,root,root) %{_libdir}/courier/courierpop3d
882 %attr(755,root,root) %{_libdir}/courier/courierpop3login
883 %attr(755,root,root) %{_datadir}/mkpop3dcert
884 %attr(755,root,root) %{_sbindir}/mkpop3dcert
885 %attr(755,root,root) %{_datadir}/pop3d
886 %attr(755,root,root) %{_sbindir}/pop3d
887 %attr(755,root,root) %{_datadir}/pop3d-ssl
888 %attr(755,root,root) %{_sbindir}/pop3d-ssl
889
890 %files imapd
891 %defattr(644,root,root,755)
892 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
893 %{_mandir}/man8/imapd.8*
894 %{_mandir}/man8/mkimapdcert.8*
895 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
896 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
897 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
898 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
899 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
900 %attr(755,root,root) %{_libdir}/courier/imaplogin
901 %attr(755,root,root) %{_sbindir}/imapd
902 %attr(755,root,root) %{_sbindir}/imapd-ssl
903 %attr(755,root,root) %{_datadir}/imapd
904 %attr(755,root,root) %{_datadir}/imapd-ssl
905 %attr(755,root,root) %{_bindir}/imapd
906 %attr(755,root,root) %{_datadir}/mkimapdcert
907 %attr(755,root,root) %{_sbindir}/mkimapdcert
908
909 %files webmail
910 %defattr(644,root,root,755)
911 %attr(4755,root,root) %{_cgibindir}/webmail
912 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
913 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
914 %{_documentrootdir}/webmail
915 %dir %{_datadir}/sqwebmail
916 %dir %{_datadir}/sqwebmail/html
917 %dir %{_datadir}/sqwebmail/html/en-us
918 %{_datadir}/sqwebmail/html/en
919 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
920 %{_datadir}/sqwebmail/html/en-us/*.html
921 %{_datadir}/sqwebmail/html/en-us/*.txt
922 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-4*.pl
923 %{_datadir}/courierwebadmin/admin-4*.html
924 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
925 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
926 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
927 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
928 %attr(755,root,root) %{_sbindir}/webgpg
929 %dir %{_libdir}/courier/webmail
930 %attr(755,root,root) %{_libdir}/courier/pcpd
931 %attr(755,root,root) %{_libdir}/courier/sqwebmaild
932 %attr(755,root,root) %{_libdir}/courier/webmail/webadmin
933 %attr(755,root,root) %{_libdir}/courier/webmail/webmail
934 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
935 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
936
937 %files maildrop
938 %defattr(644,root,root,755)
939 %{_mandir}/man1/maildrop.1*
940 %{_mandir}/man1/refor*
941 %{_mandir}/man5/maildrop*
942 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
943 %attr(4755,root,root) %{_bindir}/maildrop
944 %attr(755,root,root) %{_bindir}/reformail
945 %attr(755,root,root) %{_bindir}/reformime
946
947 %files mlm
948 %defattr(644,root,root,755)
949 %{_mandir}/man1/couriermlm.1*
950 %attr(755,root,root) %{_bindir}/couriermlm
951 %{_datadir}/couriermlm
952
953 %files smtpauth
954 %defattr(644,root,root,755)
955 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
956 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
957
958 %files authldap
959 %defattr(644,root,root,755)
960 %doc authlib/README.ldap
961 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
962 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
963 %{_mandir}/man7/authldap.7*
964
965 %files authmysql
966 %defattr(644,root,root,755)
967 %doc authlib/README.authmysql.html authlib/README.authmysql.myownquery
968 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
969 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
970 %{_mandir}/man7/authmysql.7*
971
972 %files authpgsql
973 %defattr(644,root,root,755)
974 %doc authlib/README.authpostgres.html
975 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
976 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
977 %{_mandir}/man7/authpgsql.7*
This page took 0.13118 seconds and 4 git commands to generate.