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