]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- added /usr/bin to "openssl" program search path in configure.in
[packages/courier.git] / courier.spec
1 Summary:        Courier mail server
2 Summary(pl):    Serwer poczty Courier
3 Name:           courier
4 Version:        0.38.1
5 Release:        1.1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://ftp1.sourceforge.net/courier/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-openssl-path.patch
10 URL:            http://www.courier-mta.org/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 BuildRequires:  autoconf
13 BuildRequires:  db3-devel
14 BuildRequires:  expect
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  mysql-devel
17 BuildRequires:  openldap-devel
18 BuildRequires:  openssl-devel
19 BuildRequires:  openssl-tools
20 BuildRequires:  openssl-tools-perl
21 BuildRequires:  pam-devel
22 BuildRequires:  perl-devel
23 BuildRequires:  zlib-devel
24 Provides:       smtpdaemon
25 Prereq:         /sbin/chkconfig
26
27 %define         apachedir       /home/httpd
28 %define         _prefix         /usr/lib/courier
29 %define         _localstatedir  /var/spool/courier
30 %define         _sysconfdir     /etc/courier
31 %define         _mandir         /usr/share/man
32 %define         initdir         /etc/rc.d/init.d
33
34 # Change the following if your DocumentRoot and cgibindir differ.  This is
35 # the default redhat build:
36
37 %define         _cgibindir              %{apachedir}/cgi-bin
38 %define         _documentrootdir        %{apachedir}/html
39 %define         _imageurl               /webmail/
40
41 %description
42 Courier is a fully functional mail server, that can completely take
43 over the mail services normally provided by sendmail, Qmail, or any
44 other mail server. Although Courier does not support all legacy
45 features of existing mail servers, the number of obsoleted functions
46 is very small, and there are better, and more robust, alternatives
47 available.
48
49 Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
50 Courier also implements several new SMTP extensions for mailing list
51 management and spam filtering.
52
53 %description -l pl
54 Courier jest w pe³ni funkcjonalnym serwerem poczty, mo¿e ca³kowicie
55 zast±piæ us³ugi pocztowe dawane przez sendmail, Qmaila i inne serwery.
56 Wprawdzie Courier nie ma wszystkich mo¿liwo¶ci istniej±cych serwerów,
57 ilo¶æ nie obs³ugiwanych funkcji jesgt bardzo ma³a, i s± dostêpne
58 lepsze alternatywy.
59
60 Courier zawiera wiele rozszerzeñ SMTP: DSN, PIPELINING, 8BITMIME. Ma
61 tak¿e nowe rozszerzenia SMTP dla pocztowych list dyskusyjnych i
62 filtrowania spamu.
63
64 %package pop3d
65 Summary:        Courier Integrated POP3 server
66 Summary(pl):    Zintegrowany serwer POP3 do Couriera
67 Group:          Networking/Daemons
68 Requires:       %{name} = %{version}
69
70 %description pop3d
71 This package installs Courier mail server's integrated POP3 server,
72 which allows you to download mail from your mailbox using any POP3
73 client. Courier's POP3 server can only be used to download mail from
74 maildir mailboxes. This server does not support mailbox files. If you
75 do not need the ability to download your mail using a POP3 client, you
76 do not need to install this package.
77
78 %description pop3d -l pl
79 Ten pakiet zawiera zintegrowany serwer POP3 do Couriera, pozwalaj±cy
80 na ¶ci±ganie poczty ze skrzynki przy pomocy dowolnego klienta POP3.
81 Serwer POP3 Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir, nie
82 obs³uguje skrzynek w postaci pojedynczych plików.
83
84 %package imapd
85 Summary:        Courier Integrated IMAP server
86 Summary(pl):    Zintegrowany serwer IMAP do Couriera
87 Group:          Networking/Daemons
88 Requires:       %{name} = %{version}
89 Obsoletes:      courier-imap
90 Obsoletes:      courier-imap-common
91
92 %description imapd
93 This package installs Courier mail server's integrated IMAP server. If
94 you do not need the ability to download your mail using an IMAP mail
95 client, you do not need to install this package. Courier's IMAP server
96 can only be used to download mail from maildir mailboxes. This server
97 does not support mailbox files.
98
99 This package requires that Courier must be already installed, this is
100 NOT the standalone version of the Courier-IMAP server, and you cannot
101 install both this package, and the standalone version of Courier-IMAP.
102 If you have the standalone version of the Courier-IMAP server already
103 installed, installing this package will automatically remove the
104 standalone version.
105
106 %description imapd -l pl
107 Ten pakiet zawiera zintegrowany serwer IMAP do Couriera. Pozwala
108 ¶ci±gaæ pocztê przy pomocy klienta IMAP. Serwer IMAP Couriera mo¿e byæ
109 u¿ywany tylko ze skrzynami Maildir, nie obs³uguje skrzynek w postaci
110 pojedynczych plików.
111
112 Ten pakiet wymaga serwera Courier, to NIE jest samodzielna wersja
113 serwera Courier-IMAP. Nie mo¿na te¿ instalowaæ jednocze¶nie tego
114 pakietu i samodzielnej wersji Courier-IMAP. Zainstalowanie tego
115 pakietu automatycznie odinstaluje Courier-IMAP je¶li by³ zinstalowany.
116
117 %package webmail
118 Summary:        Courier Integrated HTTP (webmail) server
119 Summary(pl):    Zintegrowany serwer poczty przez HTTP (webmail) do Couriera
120 Group:          Networking/Daemons
121 Requires:       %{name} = %{version}
122 Requires:       %{_cgibindir}
123 Requires:       %{_documentrootdir}
124
125 %description webmail
126 This package installs Courier mail server's integrated HTTP webmail
127 server. If you do not need the ability to access your mail using a web
128 browser, you do not need to install this package. Courier's webmail
129 server can only be used to download mail from maildir mailboxes. This
130 server does not support mailbox files.
131
132 This is the same server that's distributed separately under the name
133 of SqWebMail, however its configuration is customized for the Courier
134 mail server.
135
136 %description webmail -l pl
137 Ten pakiet zawiera zintegrowany serwer poczty przez HTTP (webmail) dla
138 Couriera, pozwalaj±cy na dostêp do poczty za pomoc± przegl±darki WWW.
139 Serwer webmail Couriera mo¿e byæ u¿ywany tylko ze skrzynkami Maildir,
140 nie obs³uguje skrzynek w postaci pojedynczych plików.
141
142 Jest to ten sam serwer, co dystrybuowany oddzielnie pod nazw±
143 SqWebMail, ale jego konfiguracja jest dostosowana do serwera Courier.
144
145 %package mlm
146 Summary:        Courier Integrated Mailing List Manager
147 Summary(pl):    Zintegrowany menad¿er list dyskusyjnych do Couriera
148 Group:          Applications/Mail
149 Requires:       %{name} = %{version}
150
151 %description mlm
152 This package installs couriermlm - a mailing list manager for the
153 Courier mail server. If you do not need the ability to manage mailing
154 lists, you do not need to install this package.
155
156 couriermlm is used to set up, maintain, and run a mailing list.
157 couriermlm automatically processes subscription and unsubscription
158 requests, and removes undeliverable addresses from the subscription
159 rolls. Mailing lists managed by couriermlm require zero human
160 administrative oversight. couriermlm supports digests, write-only
161 posting aliases, and moderated mailing lists.
162
163 %description mlm -l pl
164 Ten pakiet zawiera couriermlm - menad¿er list dyskusyjnych dla
165 Couriera. couriermlm jest u¿ywany do skonfigurowania, zarz±dzania i
166 prowadzenia pocztowej listy dyskusyjnej. Automatycznie obs³uguje
167 ¿±dania zapisywania i wypisywania i usuwa niedzia³aj±ce adresy z listy
168 subskrybentów. Listy obs³ugiwane przez couriermlm nie wymagaj± pracy
169 administratora. couriermlm obs³uguje digesty, aliasy pocztowe tylko do
170 wysy³ania i listy moderowane.
171
172 %package maildrop
173 Summary:        Courier Integrated mail filter
174 Summary(pl):    Zintegrowany filtr poczty do Couriera
175 Group:          Applications/Mail
176 Requires:       %{name} = %{version}
177
178 %description maildrop
179 This package installs Courier mail server's integrated mail filter.
180 You need to install this package if you want to be able to filter your
181 incoming mail.
182
183 %description maildrop -l pl
184 Ten pakiet zawiera zintegrowany filtr poczty dla Couriera. Jest
185 potrzebny do filtrowania przychodz±cej poczty.
186
187 %package smtpauth
188 Summary:        Courier mail server authenticated ESMTP module
189 Summary(pl):    Modu³ autentykacji ESMTP (SMTP AUTH) do Couriera
190 Group:          Networking/Daemons
191 Requires:       %{name} = %{version}
192
193 %description smtpauth
194 Authenticated ESMTP allows remote users to authenticate themselves and
195 be able to relay outbound mail through the Courier mail server.
196
197 %description smtpauth -l pl
198 SMTP AUTH pozwala zdalnym u¿ytkownikom na autentykacjê i umo¿liwienie
199 przekazania wychodz±cej poczty poprzez serwer poczty Courier.
200
201 %prep
202 %setup -q
203 %patch -p1
204
205 (cd rootcerts ; autoconf)
206 %configure2_13 \
207         --localstatedir=%{_localstatedir} \
208         --sysconfdir=%{_sysconfdir} \
209         --mandir=%{_mandir} \
210         --enable-imageurl=%{_imageurl} \
211         --with-db=db
212
213 %build
214 %{__make}
215 %{__make} check
216
217 %install
218 rm -rf $RPM_BUILD_ROOT
219 umask 022
220 install -d $RPM_BUILD_ROOT{%{_prefix},/etc/{crn.hourly,pam.d},%{initdir}} \
221         $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
222         $RPM_BUILD_ROOT{%{_sysconfdir}/userdb,%{_localstatedir}/tmp/broken} \
223         $RPM_BUILD_ROOT/etc/cron.hourly
224
225 %{__make} install DESTDIR=$RPM_BUILD_ROOT
226
227 ln -sf %{_sysconfdir}/pop3d.authpam $RPM_BUILD_ROOT/etc/pam.d/pop3
228 ln -sf %{_sysconfdir}/esmtp.authpam $RPM_BUILD_ROOT/etc/pam.d/esmtp
229 ln -sf %{_sysconfdir}/imapd.authpam $RPM_BUILD_ROOT/etc/pam.d/imap
230 ln -sf %{_sysconfdir}/webmail.authpam $RPM_BUILD_ROOT/etc/pam.d/webmail
231
232 %{__make} install-perms
233
234 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
235 # This removes all webmail-related stuff from the main filelist,
236 # and adds everything except the executable, webmail, to filelist.webmail.
237 # Here's why:
238
239 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
240         $RPM_BUILD_ROOT%{_cgibindir}/webmail
241
242 # And here's why we delete all images from filelist.webmail:
243 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
244
245 # install a cron job to clean out webmail's cache
246 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
247
248 # Move .html documentation back to build dir, so that RPM will move it to
249 # the appropriate docdir
250
251 rm -rf htmldoc
252 mkdir htmldoc
253 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
254 chmod a-w htmldoc/*
255
256 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
257 # package, so after it's installed they should be runnable.
258
259 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
260 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
261
262 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
263 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
264
265 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
266 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
267
268 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
269 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
270
271 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
272
273 #
274 # Red Hat /etc/profile.d scripts
275 #
276
277 install -d $RPM_BUILD_ROOT/etc/profile.d
278 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
279 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
280 then
281         :
282 else
283         if test -w /etc
284         then
285                 PATH="%{_sbindir}:\$PATH"
286         fi
287         PATH="%{_bindir}:\$PATH"
288         export PATH
289 fi
290 EOF
291
292 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
293
294 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
295
296 if ( \$? ) then
297         true
298 else
299         test -w /etc
300         if ( \$? ) then
301         then
302                 setenv PATH "%{_sbindir}:\$PATH"
303         endif
304         setenv PATH "%{_bindir}:\$PATH"
305 endif
306 EOF
307
308 #
309 # sendmail soft links
310 #
311
312 install -d $RPM_BUILD_ROOT/usr/sbin
313 install -d $RPM_BUILD_ROOT/usr/lib
314
315 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/sbin/sendmail
316 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
317
318 #
319 # The following directories are not created by default, but I want them here.
320 #
321
322 gzip -9nf AUTHORS BENCHMARKS NEWS README TODO
323
324 %clean
325 rm -rf $RPM_BUILD_ROOT
326
327 %post
328 /sbin/chkconfig --add courier
329 %{_sbindir}/makealiases 2>/dev/null || true
330 %{_sbindir}/makesmtpaccess 2>/dev/null || true
331
332 # If we do not have a certificate, make one up.
333 if [ ! -f %{_datadir}/esmtpd.pem ]; then
334         %{_sbindir}/mkesmtpdcert
335 fi
336
337 %preun
338 if [ "$1" = "0" ]; then
339         %{initdir}/courier stop
340         /sbin/chkconfig --del courier
341 fi
342
343 %post imapd
344 # If we do not have a certificate, make one up.
345 if [ ! -f %{_datadir}/imapd.pem ]; then
346         %{_sbindir}/mkimapdcert
347 fi
348 %{_sbindir}/imapd stop
349 %{_sbindir}/imapd start
350 %{_sbindir}/imapd-ssl stop
351 %{_sbindir}/imapd-ssl start
352
353 %preun imapd
354 if [ "$1" = "0" ]; then
355         %{_sbindir}/imapd stop
356         %{_sbindir}/imapd-ssl stop
357 fi
358
359 %post pop3d
360 %{_sbindir}/pop3d stop
361 %{_sbindir}/pop3d start
362
363 %preun pop3d
364 if [ "$1" = "0" ]; then
365         %{_sbindir}/pop3d stop
366 fi
367
368 %post smtpauth
369 %{_sbindir}/esmtpd stop
370 %{_sbindir}/esmtpd start
371
372 %postun smtpauth
373 if [ "$1" = "0" ]; then
374         %{_sbindir}/esmtpd stop
375         %{_sbindir}/esmtpd start
376 fi
377
378 %files
379 %defattr(644,root,root,755)
380 %doc *.gz htmldoc/*
381 %{_mandir}/man1/sendmail.1*
382 %{_mandir}/man1/preline.1*
383 %{_mandir}/man1/maildirmake.1*
384 %{_mandir}/man1/cancelmsg.1*
385 %{_mandir}/man1/dotlock.1*
386 %{_mandir}/man1/mailbot.1*
387 %{_mandir}/man1/makemime.1*
388 %{_mandir}/man1/mimegpg.1*
389 %{_mandir}/man1/makedat.1*
390 %{_mandir}/man1/testmxlookup.1*
391 %{_mandir}/man1/dot-forward.1*
392 %{_mandir}/man1/couriertls.1*
393 %{_mandir}/man1/rmail.1*
394 %{_mandir}/man1/mailq*
395 %{_mandir}/man1/dotforward.1*
396 %{_mandir}/man1/couriertcpd*
397 %{_mandir}/man5/dot-courier.5*
398 %{_mandir}/man7/localmailfilter.7*
399 %{_mandir}/man7/maildirquota.7*
400 %{_mandir}/man7/auth*
401 %{_mandir}/man8/courierfilter.8*
402 %{_mandir}/man8/courierperlfilter.8*
403 %{_mandir}/man8/dupfilter.8*
404 %{_mandir}/man8/filterctl.8*
405 %{_mandir}/man8/courier.8*
406 %{_mandir}/man8/courierldapaliasd.8*
407 %{_mandir}/man8/deliverquota.8*
408 %{_mandir}/man8/esmtpd.8*
409 %{_mandir}/man8/makeacceptmailfor.8*
410 %{_mandir}/man8/makehosteddomains.8*
411 %{_mandir}/man8/mkesmtpdcert.8*
412 %{_mandir}/man8/makealiases.8*
413 %{_mandir}/man8/makepercentrelay.8*
414 %{_mandir}/man8/makesmtpaccess.8*
415 %{_mandir}/man8/makeuserdb.8*
416 %{_mandir}/man8/submit.8*
417 %{_mandir}/man8/userdb.8*
418 %{_mandir}/man8/userdbpw.8*
419 %{_mandir}/man8/pw2userdb.8*
420 %{_mandir}/man8/vchkpw2userdb.8*
421 %{_mandir}/man8/makesmtpaccess-msa.8*
422 %{_mandir}/man8/esmtpd-msa.8*
423 %{_mandir}/man8/courieruucp.8*
424 %{_mandir}/man8/makeuucpneighbors.8*
425 %config %{_sysconfdir}/ldapaddressbook.dist
426 %dir %{_sysconfdir}
427 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
428 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
429 %attr(644,daemon,daemon) %config %{_sysconfdir}/enablefiltering
430 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
431 %attr(644,daemon,daemon) %config %{_sysconfdir}/smtpaccess/default
432 %attr(644,daemon,daemon) %config %{_sysconfdir}/courierd.dist
433 %attr(640,daemon,daemon) %config %{_sysconfdir}/aliases/system
434 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d-ssl.dist
435 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
436 %dir %{_prefix}
437 %dir %{_bindir}
438 %dir %{_sbindir}
439 %dir %{_libdir}
440 %dir %{_libdir}/courier
441 %dir %{_datadir}
442 %{_datadir}/rootcerts
443 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
444 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
445 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
446 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
447 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
448 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
449 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
450 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
451 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
452 %{_datadir}/courierwebadmin/login.html
453 %{_datadir}/courierwebadmin/admin-save.html
454 %{_datadir}/courierwebadmin/admin-main.html
455 %{_datadir}/courierwebadmin/unsecure.html
456 %dir %{_libdir}/filters
457 %attr(755,root,root) %{_libdir}/filters/*
458 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
459 %dir %{_localstatedir}
460 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
461 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
462 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
463 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
464 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
465 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
466 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
467 %attr(754,root,daemon) %{_datadir}/filterctl
468 %attr(754,root,daemon) %{_sbindir}/filterctl
469 %attr(754,root,daemon) %{_sbindir}/courierfilter
470 %dir %{_datadir}/htmldoc
471 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0123]*.pl
472 %{_datadir}/courierwebadmin/admin-[0123]*.html
473 %{_datadir}/courierwebadmin/webadmin.pm
474 %{_datadir}/courierwebadmin/notsupp.html
475 %dir %{_libdir}/courier/modules
476 %dir %{_libdir}/courier/modules/uucp
477 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.uucp
478 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
479 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
480 %attr(755,root,root) %{_datadir}/makeuucpneighbors
481 %dir %{_libdir}/courier/modules/local
482 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.local
483 %attr(644,daemon,daemon) %config %{_sysconfdir}/authmodulelist
484 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
485 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
486 %attr(755,root,root) %{_bindir}/preline
487 %dir %{_libdir}/courier/modules/esmtp
488 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.esmtp
489 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
490 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
491 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
492 %attr(755,root,root) %{_sbindir}/courieresmtpd
493 %attr(755,root,root) %{_bindir}/addcr
494 %attr(755,root,root) %{_sbindir}/esmtpd
495 %attr(755,root,root) %{_datadir}/esmtpd
496 %attr(755,root,root) %{_sbindir}/makesmtpaccess
497 %attr(755,root,root) %{_datadir}/makesmtpaccess
498 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
499 %attr(755,root,root) %{_datadir}/makeacceptmailfor
500 %attr(755,root,root) %{_sbindir}/makepercentrelay
501 %attr(755,root,root) %{_datadir}/makepercentrelay
502 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
503 %attr(755,root,root) %{_datadir}/mkesmtpdcert
504 %attr(755,root,root) %{_sbindir}/esmtpd-msa
505 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
506 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.dist
507 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd-msa.dist
508 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
509 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
510 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtp.authpam
511 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.cnf
512 %attr(600,daemon,daemon) %config %{_sysconfdir}/esmtpauthclient
513 %dir %{_libdir}/courier/modules/dsn
514 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelayed.txt
515 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelivered.txt
516 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfailed.txt
517 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnrelayed.txt
518 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfooter.txt
519 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectnotice.txt
520 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectwarn.txt
521 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnheader.txt
522 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.dsn
523 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
524 %{_libdir}/courier/modules/modules.ctl
525 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
526 %attr(750,root,daemon) %{_libdir}/courier/courierd
527 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
528 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
529 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
530 %attr(750,root,daemon) %{_libdir}/courier/submit
531 %attr(755,root,root) %{_libdir}/courier/makedatprog
532 %attr(755,root,root) %{_sbindir}/courier
533 %attr(755,root,root) %{_sbindir}/showconfig
534 %attr(750,root,daemon) %{_sbindir}/showmodules
535 %attr(755,root,root) %{_sbindir}/userdbpw
536 %attr(755,root,root) %{_sbindir}/couriertcpd
537 %attr(755,root,root) %{_sbindir}/logger
538 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
539 %attr(755,root,root) %{_bindir}/courier-config
540 %attr(2755,root,daemon) %{_bindir}/mailq
541 %attr(755,root,root) %{_bindir}/maildirmake
542 %attr(4755,root,root) %{_bindir}/sendmail
543 %attr(4755,root,root) %{_bindir}/rmail
544 %attr(755,root,root) %{_bindir}/dotlock
545 %attr(755,root,root) %{_bindir}/deliverquota
546 %attr(755,root,root) %{_bindir}/mailbot
547 %attr(755,root,root) %{_bindir}/makemime
548 %attr(755,root,root) %{_bindir}/mimegpg
549 %attr(755,root,root) %{_bindir}/dotforward
550 %attr(755,root,root) %{_datadir}/makedat
551 %attr(755,root,root) %{_bindir}/makedat
552 %attr(755,root,root) %{_bindir}/testmxlookup
553 %attr(750,root,daemon) %{_datadir}/makealiases
554 %attr(750,root,daemon) %{_sbindir}/makealiases
555 %attr(755,root,root) %{_datadir}/makehosteddomains
556 %attr(755,root,root) %{_sbindir}/makehosteddomains
557 %attr(755,root,root) %{_datadir}/pop3d-ssl
558 %attr(755,root,root) %{_sbindir}/pop3d-ssl
559 %attr(755,root,root) %{_datadir}/makeuserdb
560 %attr(755,root,root) %{_sbindir}/makeuserdb
561 %attr(755,root,root) %{_datadir}/webgpg
562 %attr(755,root,root) %{_sbindir}/webgpg
563 %attr(755,root,root) %{_datadir}/userdb
564 %attr(755,root,root) %{_sbindir}/userdb
565 %attr(755,root,root) %{_datadir}/pw2userdb
566 %attr(755,root,root) %{_sbindir}/pw2userdb
567 %attr(755,root,root) %{_datadir}/vchkpw2userdb
568 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
569 %attr(755,root,root) %{_datadir}/courierctl.start
570 %attr(755,root,root) %{_bindir}/couriertls
571 %attr(640,daemon,daemon) %config %{_sysconfdir}/ldapaliasrc.dist
572 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
573 %attr(660,daemon,daemon) %config %{_sysconfdir}/authldaprc.dist
574 %attr(660,daemon,daemon) %config %{_sysconfdir}/authmysqlrc.dist
575 %attr(660,daemon,daemon) %config %{_sysconfdir}/authdaemonrc.dist
576 %dir %{_libdir}/authlib
577 %attr(755,root,root) %{_libdir}/authlib/authdaemon
578 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
579 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
580 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
581 %attr(755,root,root) %{_libdir}/authlib/authdaemond
582 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
583 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
584 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
585 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
586 %attr(755,root,root) %{_datadir}/authsystem.passwd
587 %config(noreplace) /etc/pam.d/esmtp
588 %attr(755,root,root) /etc/profile.d/courier.sh
589 %attr(755,root,root) /etc/profile.d/courier.csh
590 %attr(754,root,root) /etc/rc.d/init.d/courier
591 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
592 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
593 /usr/lib/sendmail
594 /usr/sbin/sendmail
595
596 %files pop3d
597 %defattr(644,root,root,755)
598 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
599 %{_mandir}/man8/courierpop3login.8*
600 %{_mandir}/man8/courierpop3d.8*
601 %{_mandir}/man8/pop3d.8*
602 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
603 %{_datadir}/courierwebadmin/admin-45pop3.html
604 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.dist
605 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.authpam
606 %attr(600,daemon,daemon) %config %{_sysconfdir}/pop3d.cnf
607 %attr(755,root,root) %{_libdir}/courier/courierpop3d
608 %attr(755,root,root) %{_libdir}/courier/courierpop3login
609 %attr(755,root,root) %{_datadir}/pop3d
610 %attr(755,root,root) %{_sbindir}/pop3d
611 %attr(755,root,root) %{_datadir}/mkpop3dcert
612 %attr(755,root,root) %{_sbindir}/mkpop3dcert
613
614 %files imapd
615 %defattr(644,root,root,755)
616 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
617 %{_mandir}/man8/imapd.8*
618 %{_mandir}/man8/mkimapdcert.8*
619 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
620 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
621 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.dist
622 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd-ssl.dist
623 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.authpam
624 %attr(600,daemon,daemon) %config %{_sysconfdir}/imapd.cnf
625 %attr(755,root,root) %{_libdir}/courier/imaplogin
626 %attr(755,root,root) %{_sbindir}/imapd
627 %attr(755,root,root) %{_sbindir}/imapd-ssl
628 %attr(755,root,root) %{_datadir}/imapd
629 %attr(755,root,root) %{_datadir}/imapd-ssl
630 %attr(755,root,root) %{_bindir}/imapd
631 %attr(755,root,root) %{_datadir}/mkimapdcert
632 %attr(755,root,root) %{_sbindir}/mkimapdcert
633
634 %files webmail
635 %defattr(644,root,root,755)
636 %attr(4755,root,root) %{_cgibindir}/webmail
637 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
638 %{_documentrootdir}/webmail
639 %dir %{_datadir}/sqwebmail
640 %dir %{_datadir}/sqwebmail/html
641 %dir %{_datadir}/sqwebmail/html/en-us
642 %{_datadir}/sqwebmail/html/en
643 %config %{_datadir}/sqwebmail/html/en-us/[CIL]*
644 %{_datadir}/sqwebmail/html/en-us/*.html
645 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
646 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
647 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
648 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
649 %attr(644,daemon,daemon) %config %{_sysconfdir}/webmail.authpam
650 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
651
652 %files maildrop
653 %defattr(644,root,root,755)
654 %{_mandir}/man1/maildrop.1*
655 %{_mandir}/man1/refor*
656 %{_mandir}/man5/maildrop*
657 %attr(644,daemon,daemon) %config %{_sysconfdir}/maildrop
658 %attr(755,root,root)  %{_bindir}/reformail
659 %attr(755,root,root)  %{_bindir}/reformime
660 %attr(4755,root,root) %{_bindir}/maildrop
661
662 %files mlm
663 %defattr(644,root,root,755)
664 %{_mandir}/man1/couriermlm.1*
665 %attr(755,root,root) %{_bindir}/couriermlm
666 %{_datadir}/couriermlm
667
668 %files smtpauth
669 %defattr(644,root,root,755)
670 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
671 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
This page took 0.431078 seconds and 3 git commands to generate.