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