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