]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- don't check for res_query - never used (patch3)
[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}
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}
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}
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}
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}
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}
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}
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}
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}
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 rm -f missing
272 %{__libtoolize}
273 %{__aclocal}
274 %{__autoconf}
275 %{__automake}
276 cd ..
277
278 cd authlib
279 %{__aclocal}
280 %{__autoconf}
281 %{__automake}
282 cd ..
283
284 rm -f missing
285 %{__libtoolize}
286 %{__aclocal}
287 %{__autoconf}
288 %{__automake}
289 %configure \
290         --localstatedir=%{_localstatedir} \
291         --sysconfdir=%{_sysconfdir} \
292         --mandir=%{_mandir} \
293         --enable-imageurl=%{_imageurl} \
294         --with-db=db
295
296 %{__make}
297 %{__make} check
298
299 %install
300 rm -rf $RPM_BUILD_ROOT
301 umask 022
302 install -d -p $RPM_BUILD_ROOT{%{_prefix},/etc/{cron.hourly,pam.d},%{initdir}} \
303         $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
304         $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}{/calendar,/tmp/broken}} \
305         $RPM_BUILD_ROOT/etc/cron.hourly
306
307 %{__make} install \
308         DESTDIR=$RPM_BUILD_ROOT
309
310 # fix pam problem
311 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.authpam
312 for X in imap esmtp pop3 webmail calendar
313 do
314 cat > $RPM_BUILD_ROOT/etc/pam.d/$X <<EOF
315 #%PAM-1.0
316 auth       required     /lib/security/pam_unix.so shadow nullok
317 account    required     /lib/security/pam_unix.so
318 session    required     /lib/security/pam_unix.so
319 EOF
320 done
321
322 # delete dead links
323 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1 \
324 $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1 \
325 $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7 \
326 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7 \
327 $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7 \
328 $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7 \
329 $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7 \
330 $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7 \
331 $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7 \
332 $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7 \
333 $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7 \
334 $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7 \
335 $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8 \
336 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
337 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
338 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
339 $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
340 $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
341 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
342
343 # make man links
344 echo '.so dot-forward.1' > $RPM_BUILD_ROOT%{_mandir}/man1/dotforward.1
345 echo '.so sendmail.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rmail.1
346 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authcram.7
347 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemon.7
348 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authdaemond.7
349 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authldap.7
350 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authmysql.7
351 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpgsql.7
352 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpam.7
353 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authpwd.7
354 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authshadow.7
355 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authuserdb.7
356 echo '.so authlib.7' > $RPM_BUILD_ROOT%{_mandir}/man7/authvchkpw.7
357 echo '.so esmtpd.8' > $RPM_BUILD_ROOT%{_mandir}/man8/esmtpd-msa.8
358 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
359 echo '.so makesmtpaccess.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
360 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
361 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
362 echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
363 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
364
365 %{__make} install-perms
366
367 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
368 # This removes all webmail-related stuff from the main filelist,
369 # and adds everything except the executable, webmail, to filelist.webmail.
370 # Here's why:
371
372 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
373         $RPM_BUILD_ROOT%{_cgibindir}/webmail
374
375 # And here's why we delete all images from filelist.webmail:
376 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
377
378 # install a cron job to clean out webmail's cache
379 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
380
381 # Move .html documentation back to build dir, so that RPM will move it to
382 # the appropriate docdir
383
384 rm -rf htmldoc
385 mkdir htmldoc
386 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
387 chmod a-w htmldoc/*
388
389 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
390 # package, so after it's installed they should be runnable.
391
392 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
393 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
394
395 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
396 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
397
398 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
399 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
400
401 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
402 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
403
404 # Want to have esmtpd running by default
405 sed 's/^ESMTPDSTART.*/ESMTPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new
406 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.new $RPM_BUILD_ROOT%{_sysconfdir}/esmtpd.dist
407
408 # run script from install-configure (make config files)
409 for confdist in `awk ' $5 == "config" && $1 ~ /\.dist$/ { print $1 }' <permissions.dat`
410 do /usr/bin/perl ././sysconftool $RPM_BUILD_ROOT$confdist
411 done
412
413 # make locals, esmtpacceptmailfor.dir/esmtpacceptmailfor
414 for X in locals esmtpacceptmailfor.dir/esmtpacceptmailfor
415 do
416 echo localhost >$RPM_BUILD_ROOT%{_sysconfdir}/$X
417 done
418
419 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
420
421 #
422 # Red Hat /etc/profile.d scripts
423 #
424
425 install -d $RPM_BUILD_ROOT/etc/profile.d
426 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
427 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
428 then
429         :
430 else
431         if test -w /etc
432         then
433                 PATH="%{_sbindir}:\$PATH"
434         fi
435         PATH="%{_bindir}:\$PATH"
436         export PATH
437 fi
438 EOF
439
440 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
441
442 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
443
444 if ( \$? ) then
445         true
446 else
447         test -w /etc
448         if ( \$? ) then
449         then
450                 setenv PATH "%{_sbindir}:\$PATH"
451         endif
452         setenv PATH "%{_bindir}:\$PATH"
453 endif
454 EOF
455
456 # sendmail soft links
457
458 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT%{_prefix}/%{_lib}/sendmail
459
460 # This link by default is missing
461 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
462
463 # remove unpackaged files
464 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
465 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
466 rm -rf $RPM_BUILD_ROOT%{_datadir}/htmldoc
467 rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
468 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/maildir.5*
469
470 %clean
471 rm -rf $RPM_BUILD_ROOT
472
473 %post
474 /sbin/chkconfig --add courier
475 %{_sbindir}/makealiases 2>/dev/null || true
476 %{_sbindir}/makesmtpaccess 2>/dev/null || true
477
478 # If we do not have a certificate, make one up.
479 if [ ! -f %{_datadir}/esmtpd.pem ]; then
480         %{_sbindir}/mkesmtpdcert
481 fi
482
483 cat <<EOF
484
485 Now courier will refuse to accept SMTP messages except to localhost
486 add hosts to /etc/courier/esmtpacceptmailfor.dir/esmtpacceptmailfor
487 run makeacceptmailfor
488
489 Add hosts to /etc/courier/locals you want to accept mail for
490 run makealiases
491
492 Enter user, who should receive mail for root, mailer-daemon and postmaster
493 into /etc/courier/aliases/system
494
495 EOF
496
497 %preun
498 if [ "$1" = "0" ]; then
499         %{initdir}/courier stop
500         /sbin/chkconfig --del courier
501 fi
502
503 %post imapd
504 # If we do not have a certificate, make one up.
505 if [ ! -f %{_datadir}/imapd.pem ]; then
506         %{_sbindir}/mkimapdcert
507 fi
508 %{_sbindir}/imapd stop
509 %{_sbindir}/imapd start
510 %{_sbindir}/imapd-ssl stop
511 %{_sbindir}/imapd-ssl start
512
513 %preun imapd
514 if [ "$1" = "0" ]; then
515         %{_sbindir}/imapd stop
516         %{_sbindir}/imapd-ssl stop
517 fi
518
519 %post pop3d
520 # If we do not have a certificate, make one up.
521 if [ ! -f %{_datadir}/pop3d.pem ]; then
522         %{_sbindir}/mkpop3dcert
523 fi
524 %{_sbindir}/pop3d stop
525 %{_sbindir}/pop3d start
526
527 %preun pop3d
528 if [ "$1" = "0" ]; then
529         %{_sbindir}/pop3d stop
530 fi
531
532 %post webmail
533 if ps -A |grep -q authdaemond; then
534     %{_libdir}/courier/sqwebmaild start
535 fi
536
537 %preun webmail
538 if ps -A |grep -q sqwebmaild; then
539     %{_libdir}/courier/sqwebmaild stop
540 fi
541
542 %post smtpauth
543 %{_sbindir}/esmtpd stop
544 %{_sbindir}/esmtpd start
545
546 echo
547 echo Remember to enable auth in esmtp config files
548 echo
549
550 %postun smtpauth
551 if [ "$1" = "0" ]; then
552         %{_sbindir}/esmtpd stop
553         %{_sbindir}/esmtpd start
554 fi
555
556 %post authldap
557 if ps -A |grep -q authdaemond; then
558     %{_libdir}/authlib/authdaemond stop
559     %{_libdir}/authlib/authdaemond start
560 fi
561
562 %postun authldap
563 if [ -x %{_libdir}/authlib/authdaemond ]; then
564     if ps -A |grep -q authdaemond; then
565         %{_libdir}/authlib/authdaemond stop;
566         %{_libdir}/authlib/authdaemond start;
567     fi
568 fi
569
570 %post authmysql
571 if ps -A |grep -q authdaemond; then
572     %{_libdir}/authlib/authdaemond stop
573     %{_libdir}/authlib/authdaemond start
574 fi
575
576 %postun authmysql
577 if [ -x %{_libdir}/authlib/authdaemond ]; then
578     if ps -A |grep -q authdaemond; then
579         %{_libdir}/authlib/authdaemond stop;
580         %{_libdir}/authlib/authdaemond start;
581     fi
582 fi
583
584 %post authpgsql
585 if ps -A |grep -q authdaemond; then
586     %{_libdir}/authlib/authdaemond stop
587     %{_libdir}/authlib/authdaemond start
588 fi
589
590 %postun authpgsql
591 if [ -x %{_libdir}/authlib/authdaemond ]; then
592     if ps -A |grep -q authdaemond; then
593         %{_libdir}/authlib/authdaemond stop;
594         %{_libdir}/authlib/authdaemond start;
595     fi
596 fi
597
598 %files
599 %defattr(644,root,root,755)
600 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
601 %{_mandir}/man1/sendmail.1*
602 %{_mandir}/man1/preline.1*
603 %{_mandir}/man1/maildirmake.1*
604 %{_mandir}/man1/maildirkw.1*
605 %{_mandir}/man1/cancelmsg.1*
606 %{_mandir}/man1/lockmail.1*
607 %{_mandir}/man1/mailbot.1*
608 %{_mandir}/man1/makemime.1*
609 %{_mandir}/man1/mimegpg.1*
610 %{_mandir}/man1/makedat.1*
611 %{_mandir}/man1/testmxlookup.1*
612 %{_mandir}/man1/dot-forward.1*
613 %{_mandir}/man1/couriertls.1*
614 %{_mandir}/man1/mailq*
615 %{_mandir}/man1/couriertcpd*
616 %{_mandir}/man1/dotforward.1*
617 %{_mandir}/man1/rmail.1*
618 %{_mandir}/man5/dot-courier.5*
619 %{_mandir}/man7/localmailfilter.7*
620 %{_mandir}/man7/maildirquota.7*
621 %{_mandir}/man7/authlib.7*
622 %{_mandir}/man7/authcram.7*
623 %{_mandir}/man7/authdaemon.7*
624 %{_mandir}/man7/authdaemond.7*
625 %{_mandir}/man7/authpam.7*
626 %{_mandir}/man7/authpwd.7*
627 %{_mandir}/man7/authshadow.7*
628 %{_mandir}/man7/authuserdb.7*
629 %{_mandir}/man7/authvchkpw.7*
630 %{_mandir}/man8/courierfilter.8*
631 %{_mandir}/man8/courierperlfilter.8*
632 %{_mandir}/man8/dupfilter.8*
633 %{_mandir}/man8/courier.8*
634 %{_mandir}/man8/courierldapaliasd.8*
635 %{_mandir}/man8/deliverquota.8*
636 %{_mandir}/man8/esmtpd.8*
637 %{_mandir}/man8/makeacceptmailfor.8*
638 %{_mandir}/man8/makehosteddomains.8*
639 %{_mandir}/man8/mkesmtpdcert.8*
640 %{_mandir}/man8/makealiases.8*
641 %{_mandir}/man8/makepercentrelay.8*
642 %{_mandir}/man8/makesmtpaccess.8*
643 %{_mandir}/man8/makeuserdb.8*
644 %{_mandir}/man8/submit.8*
645 %{_mandir}/man8/userdb.8*
646 %{_mandir}/man8/userdbpw.8*
647 %{_mandir}/man8/courieruucp.8*
648 %{_mandir}/man8/esmtpd-msa.8*
649 %{_mandir}/man8/filterctl.8*
650 %{_mandir}/man8/makesmtpaccess-msa.8*
651 %{_mandir}/man8/makeuucpneighbors.8*
652 %{_mandir}/man8/pw2userdb.8*
653 %{_mandir}/man8/vchkpw2userdb.8*
654 %dir %{_sysconfdir}
655 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
656 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
657 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
658 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/enablefiltering
659 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
660 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
661 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/esmtpacceptmailfor
662 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
663 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
664 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
665 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
666 %dir %{_libdir}
667 %dir %{_libdir}/courier
668 %dir %{_datadir}
669 %{_datadir}/rootcerts
670 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
671 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
672 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
673 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
674 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
675 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
676 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
677 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
678 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
679 %{_datadir}/courierwebadmin/login.html
680 %{_datadir}/courierwebadmin/admin-save.html
681 %{_datadir}/courierwebadmin/admin-main.html
682 %{_datadir}/courierwebadmin/unsecure.html
683 %dir %{_libdir}/filters
684 %attr(755,root,root) %{_libdir}/filters/*
685 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
686 %dir %{_localstatedir}
687 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
688 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
689 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
690 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
691 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
692 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
693 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
694 %attr(754,root,daemon) %{_datadir}/filterctl
695 %attr(754,root,daemon) %{_sbindir}/filterctl
696 %attr(754,root,daemon) %{_sbindir}/courierfilter
697 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[01235]*.pl
698 %{_datadir}/courierwebadmin/admin-[01235]*.html
699 %{_datadir}/courierwebadmin/webadmin.pm
700 %{_datadir}/courierwebadmin/notsupp.html
701 %dir %{_libdir}/courier/modules
702 %dir %{_libdir}/courier/modules/uucp
703 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.uucp
704 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
705 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
706 %attr(755,root,root) %{_datadir}/makeuucpneighbors
707 %dir %{_libdir}/courier/modules/local
708 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.local
709 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmodulelist
710 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
711 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
712 %attr(755,root,root) %{_bindir}/preline
713 %dir %{_libdir}/courier/modules/esmtp
714 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.esmtp
715 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
716 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
717 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
718 %attr(755,root,root) %{_sbindir}/courieresmtpd
719 %attr(755,root,root) %{_bindir}/addcr
720 %attr(755,root,root) %{_sbindir}/esmtpd
721 %attr(755,root,root) %{_datadir}/esmtpd
722 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
723 %attr(755,root,root) %{_datadir}/esmtpd-ssl
724 %attr(755,root,root) %{_sbindir}/makesmtpaccess
725 %attr(755,root,root) %{_datadir}/makesmtpaccess
726 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
727 %attr(755,root,root) %{_datadir}/makeacceptmailfor
728 %attr(755,root,root) %{_sbindir}/makepercentrelay
729 %attr(755,root,root) %{_datadir}/makepercentrelay
730 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
731 %attr(755,root,root) %{_datadir}/mkesmtpdcert
732 %attr(755,root,root) %{_sbindir}/esmtpd-msa
733 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
734 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd
735 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-msa
736 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd-ssl
737 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
738 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
739 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpd.cnf
740 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpauthclient
741 %dir %{_libdir}/courier/modules/dsn
742 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelayed.txt
743 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsndelivered.txt
744 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfailed.txt
745 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnrelayed.txt
746 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnfooter.txt
747 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectnotice.txt
748 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
749 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
750 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
751 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
752 %{_libdir}/courier/modules/modules.ctl
753 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
754 %attr(750,root,daemon) %{_libdir}/courier/courierd
755 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
756 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
757 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
758 %attr(750,root,daemon) %{_libdir}/courier/submit
759 %attr(755,root,root) %{_libdir}/courier/makedatprog
760 %attr(755,root,root) %{_libdir}/%{name}/pcpd
761 %attr(755,root,root) %{_sbindir}/courier
762 %attr(755,root,root) %{_sbindir}/showconfig
763 %attr(750,root,daemon) %{_sbindir}/showmodules
764 %attr(755,root,root) %{_sbindir}/userdbpw
765 %attr(755,root,root) %{_sbindir}/couriertcpd
766 %attr(755,root,root) %{_sbindir}/courierlogger
767 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
768 %attr(755,root,root) %{_bindir}/courier-config
769 %attr(2755,root,daemon) %{_bindir}/mailq
770 %attr(755,root,root) %{_bindir}/maildirmake
771 %attr(755,root,root) %{_bindir}/maildirkw
772 %attr(4755,root,root) %{_bindir}/sendmail
773 %attr(4755,root,root) %{_bindir}/rmail
774 %attr(755,root,root) %{_bindir}/lockmail
775 %attr(755,root,root) %{_bindir}/deliverquota
776 %attr(755,root,root) %{_bindir}/mailbot
777 %attr(755,root,root) %{_bindir}/makemime
778 %attr(755,root,root) %{_bindir}/mimegpg
779 %attr(755,root,root) %{_bindir}/dotforward
780 %attr(755,root,root) %{_datadir}/makedat
781 %attr(755,root,root) %{_bindir}/makedat
782 %attr(755,root,root) %{_bindir}/testmxlookup
783 %attr(750,root,daemon) %{_datadir}/makealiases
784 %attr(750,root,daemon) %{_sbindir}/makealiases
785 %attr(755,root,root) %{_datadir}/makehosteddomains
786 %attr(755,root,root) %{_sbindir}/makehosteddomains
787 %attr(755,root,root) %{_datadir}/makeuserdb
788 %attr(755,root,root) %{_sbindir}/makeuserdb
789 %attr(755,root,root) %{_datadir}/userdb
790 %attr(755,root,root) %{_sbindir}/userdb
791 %attr(755,root,root) %{_datadir}/pw2userdb
792 %attr(755,root,root) %{_sbindir}/pw2userdb
793 %attr(755,root,root) %{_datadir}/vchkpw2userdb
794 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
795 %attr(755,root,root) %{_datadir}/courierctl.start
796 %attr(755,root,root) %{_bindir}/couriertls
797 %attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaliasrc
798 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
799 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
800 %dir %{_libdir}/authlib
801 %attr(755,root,root) %{_libdir}/authlib/authdaemon
802 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
803 %attr(755,root,root) %{_libdir}/authlib/authdaemond
804 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
805 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
806 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
807 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
808 %attr(755,root,root) %{_datadir}/authsystem.passwd
809 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/esmtp
810 %attr(755,root,root) /etc/profile.d/courier.sh
811 %attr(755,root,root) /etc/profile.d/courier.csh
812 %attr(754,root,root) /etc/rc.d/init.d/courier
813 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
814 %attr(755,daemon,daemon) %dir %{_localstatedir}/calendar
815 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
816 %attr(755,root,root) %{_bindir}/sendmail
817 %attr(755,root,root) %{_prefix}/%{_lib}/sendmail
818
819 %files pop3d
820 %defattr(644,root,root,755)
821 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
822 %{_mandir}/man8/courierpop3d.8*
823 %{_mandir}/man8/mkpop3dcert.8*
824 %{_mandir}/man8/pop3d.8*
825 %{_mandir}/man8/courierpop3login.8*
826 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
827 %{_datadir}/courierwebadmin/admin-45pop3.html
828 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
829 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
830 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
831 %attr(755,root,root) %{_libdir}/courier/courierpop3d
832 %attr(755,root,root) %{_libdir}/courier/courierpop3login
833 %attr(755,root,root) %{_datadir}/pop3d
834 %attr(755,root,root) %{_sbindir}/pop3d
835 %attr(755,root,root) %{_datadir}/pop3d-ssl
836 %attr(755,root,root) %{_sbindir}/pop3d-ssl
837 %attr(755,root,root) %{_datadir}/mkpop3dcert
838 %attr(755,root,root) %{_sbindir}/mkpop3dcert
839
840 %files imapd
841 %defattr(644,root,root,755)
842 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
843 %{_mandir}/man8/imapd.8*
844 %{_mandir}/man8/mkimapdcert.8*
845 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
846 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
847 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
848 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
849 %attr(600,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
850 %attr(755,root,root) %{_libdir}/courier/imaplogin
851 %attr(755,root,root) %{_sbindir}/imapd
852 %attr(755,root,root) %{_sbindir}/imapd-ssl
853 %attr(755,root,root) %{_datadir}/imapd
854 %attr(755,root,root) %{_datadir}/imapd-ssl
855 %attr(755,root,root) %{_bindir}/imapd
856 %attr(755,root,root) %{_datadir}/mkimapdcert
857 %attr(755,root,root) %{_sbindir}/mkimapdcert
858
859 %files webmail
860 %defattr(644,root,root,755)
861 %attr(4755,root,root) %{_cgibindir}/webmail
862 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
863 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/calendar
864 %{_documentrootdir}/webmail
865 %dir %{_datadir}/sqwebmail
866 %dir %{_datadir}/sqwebmail/html
867 %dir %{_datadir}/sqwebmail/html/en-us
868 %{_datadir}/sqwebmail/html/en
869 %config %{_datadir}/sqwebmail/html/en-us/[CILT]*
870 %{_datadir}/sqwebmail/html/en-us/*.html
871 %{_datadir}/sqwebmail/html/en-us/*.txt
872 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-4*.pl
873 %{_datadir}/courierwebadmin/admin-4*.html
874 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
875 %attr(755,root,root) %{_sbindir}/webgpg
876 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
877 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
878 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
879 %attr(755,root,root) %{_libdir}/%{name}/sqwebmaild
880 %dir %{_libdir}/%{name}/webmail/
881 %attr(755,root,root) %{_libdir}/%{name}/webmail/webadmin
882 %attr(755,root,root) %{_libdir}/%{name}/webmail/webmail
883 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
884 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
885
886 %files maildrop
887 %defattr(644,root,root,755)
888 %{_mandir}/man1/maildrop.1*
889 %{_mandir}/man1/refor*
890 %{_mandir}/man5/maildrop*
891 %attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/maildrop
892 %attr(755,root,root)  %{_bindir}/reformail
893 %attr(755,root,root)  %{_bindir}/reformime
894 %attr(4755,root,root) %{_bindir}/maildrop
895
896 %files mlm
897 %defattr(644,root,root,755)
898 %{_mandir}/man1/couriermlm.1*
899 %attr(755,root,root) %{_bindir}/couriermlm
900 %{_datadir}/couriermlm
901
902 %files smtpauth
903 %defattr(644,root,root,755)
904 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
905 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
906
907 %files authldap
908 %{_mandir}/man7/authldap.7*
909 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
910 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
911
912 %files authmysql
913 %{_mandir}/man7/authmysql.7*
914 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
915 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
916
917 %files authpgsql
918 %{_mandir}/man7/authpgsql.7*
919 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
920 %attr(660,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
This page took 0.084153 seconds and 3 git commands to generate.