]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- /home -> /home/services
[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/services/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 zarz±dca 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 - program do zarz±dzania listami
165 dyskusyjnymi dla Couriera. couriermlm jest u¿ywany do konfigurowania,
166 zarz±dzania i prowadzenia pocztowej listy dyskusyjnej. Automatycznie
167 obs³uguje ¿±dania zapisywania i wypisywania oraz usuwa z listy
168 niedzia³aj±ce adresy subskrybentów. Listy obs³ugiwane przez couriermlm
169 nie wymagaj± pracy administratora. couriermlm obs³uguje digesty,
170 aliasy pocztowe tylko do 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 -p $RPM_BUILD_ROOT{%{_prefix},/etc/{cron.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 %clean
323 rm -rf $RPM_BUILD_ROOT
324
325 %post
326 /sbin/chkconfig --add courier
327 %{_sbindir}/makealiases 2>/dev/null || true
328 %{_sbindir}/makesmtpaccess 2>/dev/null || true
329
330 # If we do not have a certificate, make one up.
331 if [ ! -f %{_datadir}/esmtpd.pem ]; then
332         %{_sbindir}/mkesmtpdcert
333 fi
334
335 %preun
336 if [ "$1" = "0" ]; then
337         %{initdir}/courier stop
338         /sbin/chkconfig --del courier
339 fi
340
341 %post imapd
342 # If we do not have a certificate, make one up.
343 if [ ! -f %{_datadir}/imapd.pem ]; then
344         %{_sbindir}/mkimapdcert
345 fi
346 %{_sbindir}/imapd stop
347 %{_sbindir}/imapd start
348 %{_sbindir}/imapd-ssl stop
349 %{_sbindir}/imapd-ssl start
350
351 %preun imapd
352 if [ "$1" = "0" ]; then
353         %{_sbindir}/imapd stop
354         %{_sbindir}/imapd-ssl stop
355 fi
356
357 %post pop3d
358 %{_sbindir}/pop3d stop
359 %{_sbindir}/pop3d start
360
361 %preun pop3d
362 if [ "$1" = "0" ]; then
363         %{_sbindir}/pop3d stop
364 fi
365
366 %post smtpauth
367 %{_sbindir}/esmtpd stop
368 %{_sbindir}/esmtpd start
369
370 %postun smtpauth
371 if [ "$1" = "0" ]; then
372         %{_sbindir}/esmtpd stop
373         %{_sbindir}/esmtpd start
374 fi
375
376 %files
377 %defattr(644,root,root,755)
378 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
379 %{_mandir}/man1/sendmail.1*
380 %{_mandir}/man1/preline.1*
381 %{_mandir}/man1/maildirmake.1*
382 %{_mandir}/man1/cancelmsg.1*
383 %{_mandir}/man1/dotlock.1*
384 %{_mandir}/man1/mailbot.1*
385 %{_mandir}/man1/makemime.1*
386 %{_mandir}/man1/mimegpg.1*
387 %{_mandir}/man1/makedat.1*
388 %{_mandir}/man1/testmxlookup.1*
389 %{_mandir}/man1/dot-forward.1*
390 %{_mandir}/man1/couriertls.1*
391 %{_mandir}/man1/rmail.1*
392 %{_mandir}/man1/mailq*
393 %{_mandir}/man1/dotforward.1*
394 %{_mandir}/man1/couriertcpd*
395 %{_mandir}/man5/dot-courier.5*
396 %{_mandir}/man7/localmailfilter.7*
397 %{_mandir}/man7/maildirquota.7*
398 %{_mandir}/man7/auth*
399 %{_mandir}/man8/courierfilter.8*
400 %{_mandir}/man8/courierperlfilter.8*
401 %{_mandir}/man8/dupfilter.8*
402 %{_mandir}/man8/filterctl.8*
403 %{_mandir}/man8/courier.8*
404 %{_mandir}/man8/courierldapaliasd.8*
405 %{_mandir}/man8/deliverquota.8*
406 %{_mandir}/man8/esmtpd.8*
407 %{_mandir}/man8/makeacceptmailfor.8*
408 %{_mandir}/man8/makehosteddomains.8*
409 %{_mandir}/man8/mkesmtpdcert.8*
410 %{_mandir}/man8/makealiases.8*
411 %{_mandir}/man8/makepercentrelay.8*
412 %{_mandir}/man8/makesmtpaccess.8*
413 %{_mandir}/man8/makeuserdb.8*
414 %{_mandir}/man8/submit.8*
415 %{_mandir}/man8/userdb.8*
416 %{_mandir}/man8/userdbpw.8*
417 %{_mandir}/man8/pw2userdb.8*
418 %{_mandir}/man8/vchkpw2userdb.8*
419 %{_mandir}/man8/makesmtpaccess-msa.8*
420 %{_mandir}/man8/esmtpd-msa.8*
421 %{_mandir}/man8/courieruucp.8*
422 %{_mandir}/man8/makeuucpneighbors.8*
423 %config %{_sysconfdir}/ldapaddressbook.dist
424 %dir %{_sysconfdir}
425 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
426 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
427 %attr(644,daemon,daemon) %config %{_sysconfdir}/enablefiltering
428 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
429 %attr(644,daemon,daemon) %config %{_sysconfdir}/smtpaccess/default
430 %attr(644,daemon,daemon) %config %{_sysconfdir}/courierd.dist
431 %attr(640,daemon,daemon) %config %{_sysconfdir}/aliases/system
432 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d-ssl.dist
433 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
434 %dir %{_prefix}
435 %dir %{_bindir}
436 %dir %{_sbindir}
437 %dir %{_libdir}
438 %dir %{_libdir}/courier
439 %dir %{_datadir}
440 %{_datadir}/rootcerts
441 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
442 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
443 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
444 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
445 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
446 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
447 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
448 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
449 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
450 %{_datadir}/courierwebadmin/login.html
451 %{_datadir}/courierwebadmin/admin-save.html
452 %{_datadir}/courierwebadmin/admin-main.html
453 %{_datadir}/courierwebadmin/unsecure.html
454 %dir %{_libdir}/filters
455 %attr(755,root,root) %{_libdir}/filters/*
456 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
457 %dir %{_localstatedir}
458 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
459 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
460 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
461 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
462 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
463 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
464 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
465 %attr(754,root,daemon) %{_datadir}/filterctl
466 %attr(754,root,daemon) %{_sbindir}/filterctl
467 %attr(754,root,daemon) %{_sbindir}/courierfilter
468 %dir %{_datadir}/htmldoc
469 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0123]*.pl
470 %{_datadir}/courierwebadmin/admin-[0123]*.html
471 %{_datadir}/courierwebadmin/webadmin.pm
472 %{_datadir}/courierwebadmin/notsupp.html
473 %dir %{_libdir}/courier/modules
474 %dir %{_libdir}/courier/modules/uucp
475 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.uucp
476 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
477 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
478 %attr(755,root,root) %{_datadir}/makeuucpneighbors
479 %dir %{_libdir}/courier/modules/local
480 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.local
481 %attr(644,daemon,daemon) %config %{_sysconfdir}/authmodulelist
482 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
483 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
484 %attr(755,root,root) %{_bindir}/preline
485 %dir %{_libdir}/courier/modules/esmtp
486 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.esmtp
487 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
488 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
489 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
490 %attr(755,root,root) %{_sbindir}/courieresmtpd
491 %attr(755,root,root) %{_bindir}/addcr
492 %attr(755,root,root) %{_sbindir}/esmtpd
493 %attr(755,root,root) %{_datadir}/esmtpd
494 %attr(755,root,root) %{_sbindir}/makesmtpaccess
495 %attr(755,root,root) %{_datadir}/makesmtpaccess
496 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
497 %attr(755,root,root) %{_datadir}/makeacceptmailfor
498 %attr(755,root,root) %{_sbindir}/makepercentrelay
499 %attr(755,root,root) %{_datadir}/makepercentrelay
500 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
501 %attr(755,root,root) %{_datadir}/mkesmtpdcert
502 %attr(755,root,root) %{_sbindir}/esmtpd-msa
503 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
504 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.dist
505 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd-msa.dist
506 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
507 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
508 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtp.authpam
509 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.cnf
510 %attr(600,daemon,daemon) %config %{_sysconfdir}/esmtpauthclient
511 %dir %{_libdir}/courier/modules/dsn
512 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelayed.txt
513 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelivered.txt
514 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfailed.txt
515 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnrelayed.txt
516 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfooter.txt
517 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectnotice.txt
518 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectwarn.txt
519 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnheader.txt
520 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.dsn
521 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
522 %{_libdir}/courier/modules/modules.ctl
523 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
524 %attr(750,root,daemon) %{_libdir}/courier/courierd
525 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
526 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
527 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
528 %attr(750,root,daemon) %{_libdir}/courier/submit
529 %attr(755,root,root) %{_libdir}/courier/makedatprog
530 %attr(755,root,root) %{_sbindir}/courier
531 %attr(755,root,root) %{_sbindir}/showconfig
532 %attr(750,root,daemon) %{_sbindir}/showmodules
533 %attr(755,root,root) %{_sbindir}/userdbpw
534 %attr(755,root,root) %{_sbindir}/couriertcpd
535 %attr(755,root,root) %{_sbindir}/logger
536 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
537 %attr(755,root,root) %{_bindir}/courier-config
538 %attr(2755,root,daemon) %{_bindir}/mailq
539 %attr(755,root,root) %{_bindir}/maildirmake
540 %attr(4755,root,root) %{_bindir}/sendmail
541 %attr(4755,root,root) %{_bindir}/rmail
542 %attr(755,root,root) %{_bindir}/dotlock
543 %attr(755,root,root) %{_bindir}/deliverquota
544 %attr(755,root,root) %{_bindir}/mailbot
545 %attr(755,root,root) %{_bindir}/makemime
546 %attr(755,root,root) %{_bindir}/mimegpg
547 %attr(755,root,root) %{_bindir}/dotforward
548 %attr(755,root,root) %{_datadir}/makedat
549 %attr(755,root,root) %{_bindir}/makedat
550 %attr(755,root,root) %{_bindir}/testmxlookup
551 %attr(750,root,daemon) %{_datadir}/makealiases
552 %attr(750,root,daemon) %{_sbindir}/makealiases
553 %attr(755,root,root) %{_datadir}/makehosteddomains
554 %attr(755,root,root) %{_sbindir}/makehosteddomains
555 %attr(755,root,root) %{_datadir}/pop3d-ssl
556 %attr(755,root,root) %{_sbindir}/pop3d-ssl
557 %attr(755,root,root) %{_datadir}/makeuserdb
558 %attr(755,root,root) %{_sbindir}/makeuserdb
559 %attr(755,root,root) %{_datadir}/webgpg
560 %attr(755,root,root) %{_sbindir}/webgpg
561 %attr(755,root,root) %{_datadir}/userdb
562 %attr(755,root,root) %{_sbindir}/userdb
563 %attr(755,root,root) %{_datadir}/pw2userdb
564 %attr(755,root,root) %{_sbindir}/pw2userdb
565 %attr(755,root,root) %{_datadir}/vchkpw2userdb
566 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
567 %attr(755,root,root) %{_datadir}/courierctl.start
568 %attr(755,root,root) %{_bindir}/couriertls
569 %attr(640,daemon,daemon) %config %{_sysconfdir}/ldapaliasrc.dist
570 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
571 %attr(660,daemon,daemon) %config %{_sysconfdir}/authldaprc.dist
572 %attr(660,daemon,daemon) %config %{_sysconfdir}/authmysqlrc.dist
573 %attr(660,daemon,daemon) %config %{_sysconfdir}/authdaemonrc.dist
574 %dir %{_libdir}/authlib
575 %attr(755,root,root) %{_libdir}/authlib/authdaemon
576 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
577 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
578 %attr(755,root,root) %{_libdir}/authlib/authdaemond.mysql
579 %attr(755,root,root) %{_libdir}/authlib/authdaemond
580 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
581 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
582 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
583 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
584 %attr(755,root,root) %{_datadir}/authsystem.passwd
585 %config(noreplace) /etc/pam.d/esmtp
586 %attr(755,root,root) /etc/profile.d/courier.sh
587 %attr(755,root,root) /etc/profile.d/courier.csh
588 %attr(754,root,root) /etc/rc.d/init.d/courier
589 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
590 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
591 /usr/lib/sendmail
592 /usr/sbin/sendmail
593
594 %files pop3d
595 %defattr(644,root,root,755)
596 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
597 %{_mandir}/man8/courierpop3login.8*
598 %{_mandir}/man8/courierpop3d.8*
599 %{_mandir}/man8/pop3d.8*
600 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
601 %{_datadir}/courierwebadmin/admin-45pop3.html
602 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.dist
603 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.authpam
604 %attr(600,daemon,daemon) %config %{_sysconfdir}/pop3d.cnf
605 %attr(755,root,root) %{_libdir}/courier/courierpop3d
606 %attr(755,root,root) %{_libdir}/courier/courierpop3login
607 %attr(755,root,root) %{_datadir}/pop3d
608 %attr(755,root,root) %{_sbindir}/pop3d
609 %attr(755,root,root) %{_datadir}/mkpop3dcert
610 %attr(755,root,root) %{_sbindir}/mkpop3dcert
611
612 %files imapd
613 %defattr(644,root,root,755)
614 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
615 %{_mandir}/man8/imapd.8*
616 %{_mandir}/man8/mkimapdcert.8*
617 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
618 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
619 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.dist
620 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd-ssl.dist
621 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.authpam
622 %attr(600,daemon,daemon) %config %{_sysconfdir}/imapd.cnf
623 %attr(755,root,root) %{_libdir}/courier/imaplogin
624 %attr(755,root,root) %{_sbindir}/imapd
625 %attr(755,root,root) %{_sbindir}/imapd-ssl
626 %attr(755,root,root) %{_datadir}/imapd
627 %attr(755,root,root) %{_datadir}/imapd-ssl
628 %attr(755,root,root) %{_bindir}/imapd
629 %attr(755,root,root) %{_datadir}/mkimapdcert
630 %attr(755,root,root) %{_sbindir}/mkimapdcert
631
632 %files webmail
633 %defattr(644,root,root,755)
634 %attr(4755,root,root) %{_cgibindir}/webmail
635 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
636 %{_documentrootdir}/webmail
637 %dir %{_datadir}/sqwebmail
638 %dir %{_datadir}/sqwebmail/html
639 %dir %{_datadir}/sqwebmail/html/en-us
640 %{_datadir}/sqwebmail/html/en
641 %config %{_datadir}/sqwebmail/html/en-us/[CIL]*
642 %{_datadir}/sqwebmail/html/en-us/*.html
643 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
644 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
645 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
646 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
647 %attr(644,daemon,daemon) %config %{_sysconfdir}/webmail.authpam
648 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
649
650 %files maildrop
651 %defattr(644,root,root,755)
652 %{_mandir}/man1/maildrop.1*
653 %{_mandir}/man1/refor*
654 %{_mandir}/man5/maildrop*
655 %attr(644,daemon,daemon) %config %{_sysconfdir}/maildrop
656 %attr(755,root,root)  %{_bindir}/reformail
657 %attr(755,root,root)  %{_bindir}/reformime
658 %attr(4755,root,root) %{_bindir}/maildrop
659
660 %files mlm
661 %defattr(644,root,root,755)
662 %{_mandir}/man1/couriermlm.1*
663 %attr(755,root,root) %{_bindir}/couriermlm
664 %{_datadir}/couriermlm
665
666 %files smtpauth
667 %defattr(644,root,root,755)
668 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
669 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
This page took 0.129711 seconds and 3 git commands to generate.