]> git.pld-linux.org Git - packages/courier.git/blob - courier.spec
- updated to 0.44.0 (few changed file names, added maildirkw, manpages)
[packages/courier.git] / courier.spec
1 Summary:        Courier mail server
2 Summary(pl):    Serwer poczty Courier
3 Name:           courier
4 Version:        0.44.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:  acf6721a56f94791adf4fd7f56ba3e38
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.7c
22 BuildRequires:  openssl-tools >= 0.9.7c
23 BuildRequires:  openssl-tools-perl >= 0.9.7c
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 \
243         DESTDIR=$RPM_BUILD_ROOT
244
245 ln -sf %{_sysconfdir}/pop3d.authpam $RPM_BUILD_ROOT/etc/pam.d/pop3
246 ln -sf %{_sysconfdir}/esmtp.authpam $RPM_BUILD_ROOT/etc/pam.d/esmtp
247 ln -sf %{_sysconfdir}/imapd.authpam $RPM_BUILD_ROOT/etc/pam.d/imap
248 ln -sf %{_sysconfdir}/webmail.authpam $RPM_BUILD_ROOT/etc/pam.d/webmail
249
250 %{__make} install-perms
251
252 # Note that we delete all 'webmail's, but copy over only 'sqwebmail's.
253 # This removes all webmail-related stuff from the main filelist,
254 # and adds everything except the executable, webmail, to filelist.webmail.
255 # Here's why:
256
257 cp -f $RPM_BUILD_ROOT%{_libexecdir}/courier/webmail/webmail \
258         $RPM_BUILD_ROOT%{_cgibindir}/webmail
259
260 # And here's why we delete all images from filelist.webmail:
261 mv -f $RPM_BUILD_ROOT%{_datadir}/sqwebmail/images $RPM_BUILD_ROOT%{_documentrootdir}/webmail
262
263 # install a cron job to clean out webmail's cache
264 install webmail/cron.cmd $RPM_BUILD_ROOT/etc/cron.hourly/courier-webmail-cleancache
265
266 # Move .html documentation back to build dir, so that RPM will move it to
267 # the appropriate docdir
268
269 rm -rf htmldoc
270 mkdir htmldoc
271 cp -f $RPM_BUILD_ROOT%{_datadir}/htmldoc/* htmldoc
272 chmod a-w htmldoc/*
273
274 # Manually set POP3DSTART and IMAPDSTART to yes, they'll go into a separate
275 # package, so after it's installed they should be runnable.
276
277 sed 's/^POP3DSTART.*/POP3DSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new
278 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d.dist
279
280 sed 's/^POP3DSSLSTART.*/POP3DSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new
281 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.new $RPM_BUILD_ROOT%{_sysconfdir}/pop3d-ssl.dist
282
283 sed 's/^IMAPDSTART.*/IMAPDSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new
284 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new $RPM_BUILD_ROOT%{_sysconfdir}/imapd.dist
285
286 sed 's/^IMAPDSSLSTART.*/IMAPDSSLSTART=YES/' <$RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist >$RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl
287 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/imapd.new-ssl $RPM_BUILD_ROOT%{_sysconfdir}/imapd-ssl.dist
288
289 install courier.sysvinit $RPM_BUILD_ROOT%{initdir}/courier
290
291 #
292 # Red Hat /etc/profile.d scripts
293 #
294
295 install -d $RPM_BUILD_ROOT/etc/profile.d
296 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.sh <<EOF
297 if echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
298 then
299         :
300 else
301         if test -w /etc
302         then
303                 PATH="%{_sbindir}:\$PATH"
304         fi
305         PATH="%{_bindir}:\$PATH"
306         export PATH
307 fi
308 EOF
309
310 cat >$RPM_BUILD_ROOT/etc/profile.d/courier.csh <<EOF
311
312 echo "\$PATH" | tr ':' '\012' | fgrep -qx %{_bindir}
313
314 if ( \$? ) then
315         true
316 else
317         test -w /etc
318         if ( \$? ) then
319         then
320                 setenv PATH "%{_sbindir}:\$PATH"
321         endif
322         setenv PATH "%{_bindir}:\$PATH"
323 endif
324 EOF
325
326 #
327 # sendmail soft links
328 #
329
330 install -d $RPM_BUILD_ROOT/usr/sbin
331 install -d $RPM_BUILD_ROOT/usr/lib
332
333 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/sbin/sendmail
334 ln -sf %{_bindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
335
336 # This link by default is missing 
337 ln -sf %{_datadir}/esmtpd-ssl $RPM_BUILD_ROOT%{_sbindir}/esmtpd-ssl
338
339 #
340 # The following directories are not created by default, but I want them here.
341 #
342
343 %clean
344 rm -rf $RPM_BUILD_ROOT
345
346 %post
347 /sbin/chkconfig --add courier
348 %{_sbindir}/makealiases 2>/dev/null || true
349 %{_sbindir}/makesmtpaccess 2>/dev/null || true
350
351 # If we do not have a certificate, make one up.
352 if [ ! -f %{_datadir}/esmtpd.pem ]; then
353         %{_sbindir}/mkesmtpdcert
354 fi
355
356 # make man links
357 ln -sf /usr/share/man/man1/dot-forward.1.gz /usr/share/man/man1/dotforward.1.gz
358 ln -sf /usr/share/man/man1/sendmail.1.gz /usr/share/man/man1/rmail.1.gz
359 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authcram.7.gz
360 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authdaemon.7.gz
361 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authdaemond.7.gz
362 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authldap.7.gz
363 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authmysql.7.gz
364 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authpam.7.gz
365 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authpwd.7.gz
366 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authshadow.7.gz
367 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authuserdb.7.gz
368 ln -sf /usr/share/man/man7/authlib.7.gz /usr/share/man/man7/authvchkpw.7.gz
369 ln -sf /usr/share/man/man8/esmtpd.8.gz /usr/share/man/man8/esmtpd-msa.8.gz
370 ln -sf /usr/share/man/man8/courierfilter.8.gz /usr/share/man/man8/filterctl.8.gz
371 ln -sf /usr/share/man/man8/makesmtpaccess.8.gz /usr/share/man/man8/makesmtpaccess-msa.8.gz
372 ln -sf /usr/share/man/man8/courieruucp.8.gz /usr/share/man/man8/makeuucpneighbours.8.gz
373 ln -sf /usr/share/man/man8/makeuserdb.8.gz /usr/share/man/man8/pw2userdb.8.gz
374 ln -sf /usr/share/man/man8/makeuserdb.8.gz /usr/share/man/man8/vchkpw2userdb.8.gz
375
376 %preun
377 if [ "$1" = "0" ]; then
378         %{initdir}/courier stop
379         /sbin/chkconfig --del courier
380 fi
381
382 # delete man links
383 rm /usr/share/man/man1/dotforward.1.gz /usr/share/man/man1/rmail.1.gz \
384    /usr/share/man/man7/authcram.7.gz /usr/share/man/man7/authdaemon.7.gz \
385    /usr/share/man/man7/authdaemond.7.gz /usr/share/man/man7/authldap.7.gz \
386    /usr/share/man/man7/authmysql.7.gz /usr/share/man/man7/authpam.7.gz \
387    /usr/share/man/man7/authpwd.7.gz /usr/share/man/man7/authshadow.7.gz \
388    /usr/share/man/man7/authuserdb.7.gz /usr/share/man/man7/authvchkpw.7.gz \
389    /usr/share/man/man8/esmtpd-msa.8.gz /usr/share/man/man8/filterctl.8.gz \
390    /usr/share/man/man8/makesmtpaccess-msa.8.gz \
391    /usr/share/man/man8/makeuucpneighbours.8.gz \
392    /usr/share/man/man8/pw2userdb.8.gz /usr/share/man/man8/vchkpw2userdb.8.gz
393
394 %post imapd
395 # If we do not have a certificate, make one up.
396 if [ ! -f %{_datadir}/imapd.pem ]; then
397         %{_sbindir}/mkimapdcert
398 fi
399 %{_sbindir}/imapd stop
400 %{_sbindir}/imapd start
401 %{_sbindir}/imapd-ssl stop
402 %{_sbindir}/imapd-ssl start
403
404 %preun imapd
405 if [ "$1" = "0" ]; then
406         %{_sbindir}/imapd stop
407         %{_sbindir}/imapd-ssl stop
408 fi
409
410 %post pop3d
411 %{_sbindir}/pop3d stop
412 %{_sbindir}/pop3d start
413
414 # make man link
415 ln -sf /usr/share/man/man8/courierpop3d.8.gz /usr/share/man/man8/courierpop3login.8
416
417 %preun pop3d
418 if [ "$1" = "0" ]; then
419         %{_sbindir}/pop3d stop
420 fi
421
422 # delete man link
423 rm /usr/share/man/man8/courierpop3login.8.gz
424
425 %post smtpauth
426 %{_sbindir}/esmtpd stop
427 %{_sbindir}/esmtpd start
428
429 %postun smtpauth
430 if [ "$1" = "0" ]; then
431         %{_sbindir}/esmtpd stop
432         %{_sbindir}/esmtpd start
433 fi
434
435 %files
436 %defattr(644,root,root,755)
437 %doc AUTHORS BENCHMARKS NEWS README TODO htmldoc/*
438 %{_mandir}/man1/sendmail.1*
439 %{_mandir}/man1/preline.1*
440 %{_mandir}/man1/maildirmake.1*
441 %{_mandir}/man1/maildirkw.1*
442 %{_mandir}/man1/cancelmsg.1*
443 %{_mandir}/man1/lockmail.1*
444 %{_mandir}/man1/mailbot.1*
445 %{_mandir}/man1/makemime.1*
446 %{_mandir}/man1/mimegpg.1*
447 %{_mandir}/man1/makedat.1*
448 %{_mandir}/man1/testmxlookup.1*
449 %{_mandir}/man1/dot-forward.1*
450 %{_mandir}/man1/couriertls.1*
451 %{_mandir}/man1/mailq*
452 %{_mandir}/man1/couriertcpd*
453 %{_mandir}/man5/dot-courier.5*
454 %{_mandir}/man7/localmailfilter.7*
455 %{_mandir}/man7/maildirquota.7*
456 %{_mandir}/man7/authlib.7*
457 %{_mandir}/man8/courierfilter.8*
458 %{_mandir}/man8/courierperlfilter.8*
459 %{_mandir}/man8/dupfilter.8*
460 %{_mandir}/man8/courier.8*
461 %{_mandir}/man8/courierldapaliasd.8*
462 %{_mandir}/man8/deliverquota.8*
463 %{_mandir}/man8/esmtpd.8*
464 %{_mandir}/man8/makeacceptmailfor.8*
465 %{_mandir}/man8/makehosteddomains.8*
466 %{_mandir}/man8/mkesmtpdcert.8*
467 %{_mandir}/man8/makealiases.8*
468 %{_mandir}/man8/makepercentrelay.8*
469 %{_mandir}/man8/makesmtpaccess.8*
470 %{_mandir}/man8/makeuserdb.8*
471 %{_mandir}/man8/submit.8*
472 %{_mandir}/man8/userdb.8*
473 %{_mandir}/man8/userdbpw.8*
474 %{_mandir}/man8/courieruucp.8*
475 %config %{_sysconfdir}/ldapaddressbook.dist
476 %dir %{_sysconfdir}
477 %attr(755,daemon,daemon) %dir %{_sysconfdir}/aliasdir
478 %attr(750,daemon,daemon) %dir %{_sysconfdir}/aliases
479 %attr(644,daemon,daemon) %config %{_sysconfdir}/enablefiltering
480 %attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
481 %attr(644,daemon,daemon) %config %{_sysconfdir}/smtpaccess/default
482 %attr(644,daemon,daemon) %config %{_sysconfdir}/courierd.dist
483 %attr(640,daemon,daemon) %config %{_sysconfdir}/aliases/system
484 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d-ssl.dist
485 %attr(644,root,root) %{_sysconfdir}/quotawarnmsg.example
486 %dir %{_prefix}
487 %dir %{_bindir}
488 %dir %{_sbindir}
489 %dir %{_libdir}
490 %dir %{_libdir}/courier
491 %dir %{_datadir}
492 %{_datadir}/rootcerts
493 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin
494 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/added
495 %attr(700,daemon,daemon) %dir %{_sysconfdir}/webadmin/removed
496 %attr(755,root,root) %dir %{_datadir}/courierwebadmin
497 %attr(755,root,root) %{_datadir}/courierwebadmin/webadmin.pl
498 %attr(755,root,root) %{_datadir}/courierwebadmin/dumpenv.pl
499 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-main.pl
500 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-save.pl
501 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-cancel.pl
502 %{_datadir}/courierwebadmin/login.html
503 %{_datadir}/courierwebadmin/admin-save.html
504 %{_datadir}/courierwebadmin/admin-main.html
505 %{_datadir}/courierwebadmin/unsecure.html
506 %dir %{_libdir}/filters
507 %attr(755,root,root) %{_libdir}/filters/*
508 %attr(755,root,root) %{_datadir}/perlfilter-*.pl
509 %dir %{_localstatedir}
510 %attr(770,daemon,daemon) %dir %{_localstatedir}/tmp
511 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgs
512 %attr(750,daemon,daemon) %dir %{_localstatedir}/msgq
513 %attr(750,daemon,daemon) %dir %{_localstatedir}/filters
514 %attr(750,daemon,daemon) %dir %{_localstatedir}/allfilters
515 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters
516 %attr(750,daemon,daemon) %dir %{_sysconfdir}/filters/active
517 %attr(754,root,daemon) %{_datadir}/filterctl
518 %attr(754,root,daemon) %{_sbindir}/filterctl
519 %attr(754,root,daemon) %{_sbindir}/courierfilter
520 %dir %{_datadir}/htmldoc
521 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-[0123]*.pl
522 %{_datadir}/courierwebadmin/admin-[0123]*.html
523 %{_datadir}/courierwebadmin/webadmin.pm
524 %{_datadir}/courierwebadmin/notsupp.html
525 %dir %{_libdir}/courier/modules
526 %dir %{_libdir}/courier/modules/uucp
527 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.uucp
528 %attr(755,root,root) %{_libdir}/courier/modules/uucp/courieruucp
529 %attr(755,root,root) %{_sbindir}/makeuucpneighbors
530 %attr(755,root,root) %{_datadir}/makeuucpneighbors
531 %dir %{_libdir}/courier/modules/local
532 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.local
533 %attr(644,daemon,daemon) %config %{_sysconfdir}/authmodulelist
534 %attr(755,root,root) %{_libdir}/courier/modules/local/courierlocal
535 %attr(755,root,root) %{_libdir}/courier/modules/local/courierdeliver
536 %attr(755,root,root) %{_bindir}/preline
537 %dir %{_libdir}/courier/modules/esmtp
538 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.esmtp
539 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtp
540 %attr(750,root,daemon) %{_libdir}/courier/modules/esmtp/courieresmtpd
541 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/addcr
542 %attr(755,root,root) %{_sbindir}/courieresmtpd
543 %attr(755,root,root) %{_bindir}/addcr
544 %attr(755,root,root) %{_sbindir}/esmtpd
545 %attr(755,root,root) %{_datadir}/esmtpd
546 %attr(755,root,root) %{_sbindir}/esmtpd-ssl
547 %attr(755,root,root) %{_datadir}/esmtpd-ssl
548 %attr(755,root,root) %{_sbindir}/makesmtpaccess
549 %attr(755,root,root) %{_datadir}/makesmtpaccess
550 %attr(755,root,root) %{_sbindir}/makeacceptmailfor
551 %attr(755,root,root) %{_datadir}/makeacceptmailfor
552 %attr(755,root,root) %{_sbindir}/makepercentrelay
553 %attr(755,root,root) %{_datadir}/makepercentrelay
554 %attr(755,root,root) %{_sbindir}/mkesmtpdcert
555 %attr(755,root,root) %{_datadir}/mkesmtpdcert
556 %attr(755,root,root) %{_sbindir}/esmtpd-msa
557 %attr(755,root,root) %{_sbindir}/makesmtpaccess-msa
558 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.dist
559 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd-msa.dist
560 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd-ssl.dist
561 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtpacceptmailfor.dir
562 %attr(755,daemon,daemon) %dir %{_sysconfdir}/esmtppercentrelay.dir
563 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtp.authpam
564 %attr(644,daemon,daemon) %config %{_sysconfdir}/esmtpd.cnf
565 %attr(600,daemon,daemon) %config %{_sysconfdir}/esmtpauthclient
566 %dir %{_libdir}/courier/modules/dsn
567 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelayed.txt
568 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsndelivered.txt
569 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfailed.txt
570 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnrelayed.txt
571 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnfooter.txt
572 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectnotice.txt
573 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnsubjectwarn.txt
574 %attr(644,daemon,daemon) %config %{_sysconfdir}/dsnheader.txt
575 %attr(644,daemon,daemon) %config %{_sysconfdir}/module.dsn
576 %attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
577 %{_libdir}/courier/modules/modules.ctl
578 %attr(4550,daemon,daemon) %{_libdir}/courier/submitmkdir
579 %attr(750,root,daemon) %{_libdir}/courier/courierd
580 %attr(750,root,daemon) %{_libdir}/courier/aliasexp
581 %attr(750,root,daemon) %{_libdir}/courier/aliascombine
582 %attr(750,root,daemon) %{_libdir}/courier/aliascreate
583 %attr(750,root,daemon) %{_libdir}/courier/submit
584 %attr(755,root,root) %{_libdir}/courier/makedatprog
585 %attr(755,root,root) %{_sbindir}/courier
586 %attr(755,root,root) %{_sbindir}/showconfig
587 %attr(750,root,daemon) %{_sbindir}/showmodules
588 %attr(755,root,root) %{_sbindir}/userdbpw
589 %attr(755,root,root) %{_sbindir}/couriertcpd
590 %attr(755,root,root) %{_sbindir}/courierlogger
591 %attr(6555,daemon,daemon) %{_bindir}/cancelmsg
592 %attr(755,root,root) %{_bindir}/courier-config
593 %attr(2755,root,daemon) %{_bindir}/mailq
594 %attr(755,root,root) %{_bindir}/maildirmake
595 %attr(755,root,root) %{_bindir}/maildirkw
596 %attr(4755,root,root) %{_bindir}/sendmail
597 %attr(4755,root,root) %{_bindir}/rmail
598 %attr(755,root,root) %{_bindir}/lockmail
599 %attr(755,root,root) %{_bindir}/deliverquota
600 %attr(755,root,root) %{_bindir}/mailbot
601 %attr(755,root,root) %{_bindir}/makemime
602 %attr(755,root,root) %{_bindir}/mimegpg
603 %attr(755,root,root) %{_bindir}/dotforward
604 %attr(755,root,root) %{_datadir}/makedat
605 %attr(755,root,root) %{_bindir}/makedat
606 %attr(755,root,root) %{_bindir}/testmxlookup
607 %attr(750,root,daemon) %{_datadir}/makealiases
608 %attr(750,root,daemon) %{_sbindir}/makealiases
609 %attr(755,root,root) %{_datadir}/makehosteddomains
610 %attr(755,root,root) %{_sbindir}/makehosteddomains
611 %attr(755,root,root) %{_datadir}/pop3d-ssl
612 %attr(755,root,root) %{_sbindir}/pop3d-ssl
613 %attr(755,root,root) %{_datadir}/makeuserdb
614 %attr(755,root,root) %{_sbindir}/makeuserdb
615 %attr(755,root,root) %{_datadir}/sqwebmail/webgpg
616 %attr(755,root,root) %{_sbindir}/webgpg
617 %attr(755,root,root) %{_datadir}/userdb
618 %attr(755,root,root) %{_sbindir}/userdb
619 %attr(755,root,root) %{_datadir}/pw2userdb
620 %attr(755,root,root) %{_sbindir}/pw2userdb
621 %attr(755,root,root) %{_datadir}/vchkpw2userdb
622 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
623 %attr(755,root,root) %{_datadir}/courierctl.start
624 %attr(755,root,root) %{_bindir}/couriertls
625 %attr(640,daemon,daemon) %config %{_sysconfdir}/ldapaliasrc.dist
626 %attr(700,daemon,daemon) %{_sbindir}/courierldapaliasd
627 %attr(660,daemon,daemon) %config %{_sysconfdir}/authldaprc.dist
628 %attr(660,daemon,daemon) %config %{_sysconfdir}/authpgsqlrc.dist
629 %attr(660,daemon,daemon) %config %{_sysconfdir}/authdaemonrc.dist
630 %dir %{_libdir}/authlib
631 %attr(755,root,root) %{_libdir}/authlib/authdaemon
632 %attr(755,root,root) %{_libdir}/authlib/authdaemond.plain
633 %attr(755,root,root) %{_libdir}/authlib/authdaemond.ldap
634 %attr(755,root,root) %{_libdir}/authlib/authdaemond.pgsql
635 %attr(755,root,root) %{_libdir}/authlib/authdaemond
636 %attr(770,daemon,daemon) %dir %{_localstatedir}/authdaemon
637 %attr(755,root,root) %dir %{_libdir}/authlib/changepwd
638 %attr(4755,root,root) %{_libdir}/authlib/changepwd/authdaemon.passwd
639 %attr(755,root,root) %{_libdir}/authlib/changepwd/authsystem.passwd
640 %attr(755,root,root) %{_datadir}/authsystem.passwd
641 %config(noreplace) /etc/pam.d/esmtp
642 %attr(755,root,root) /etc/profile.d/courier.sh
643 %attr(755,root,root) /etc/profile.d/courier.csh
644 %attr(754,root,root) /etc/rc.d/init.d/courier
645 %attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
646 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
647 /usr/lib/sendmail
648 /usr/sbin/sendmail
649
650 %files pop3d
651 %defattr(644,root,root,755)
652 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
653 %{_mandir}/man8/courierpop3d.8*
654 %{_mandir}/man8/mkpop3dcert.8*
655 %{_mandir}/man8/pop3d.8*
656 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-45pop3.pl
657 %{_datadir}/courierwebadmin/admin-45pop3.html
658 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.dist
659 %attr(644,daemon,daemon) %config %{_sysconfdir}/pop3d.authpam
660 %attr(600,daemon,daemon) %config %{_sysconfdir}/pop3d.cnf
661 %attr(755,root,root) %{_libdir}/courier/courierpop3d
662 %attr(755,root,root) %{_libdir}/courier/courierpop3login
663 %attr(755,root,root) %{_datadir}/pop3d
664 %attr(755,root,root) %{_sbindir}/pop3d
665 %attr(755,root,root) %{_datadir}/mkpop3dcert
666 %attr(755,root,root) %{_sbindir}/mkpop3dcert
667
668 %files imapd
669 %defattr(644,root,root,755)
670 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
671 %{_mandir}/man8/imapd.8*
672 %{_mandir}/man8/mkimapdcert.8*
673 %attr(755,root,root) %{_datadir}/courierwebadmin/admin-40imap.pl
674 %attr(644,root,root) %{_datadir}/courierwebadmin/admin-40imap.html
675 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.dist
676 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd-ssl.dist
677 %attr(644,daemon,daemon) %config %{_sysconfdir}/imapd.authpam
678 %attr(600,daemon,daemon) %config %{_sysconfdir}/imapd.cnf
679 %attr(755,root,root) %{_libdir}/courier/imaplogin
680 %attr(755,root,root) %{_sbindir}/imapd
681 %attr(755,root,root) %{_sbindir}/imapd-ssl
682 %attr(755,root,root) %{_datadir}/imapd
683 %attr(755,root,root) %{_datadir}/imapd-ssl
684 %attr(755,root,root) %{_bindir}/imapd
685 %attr(755,root,root) %{_datadir}/mkimapdcert
686 %attr(755,root,root) %{_sbindir}/mkimapdcert
687
688 %files webmail
689 %defattr(644,root,root,755)
690 %attr(4755,root,root) %{_cgibindir}/webmail
691 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/webmail
692 %{_documentrootdir}/webmail
693 %dir %{_datadir}/sqwebmail
694 %dir %{_datadir}/sqwebmail/html
695 %dir %{_datadir}/sqwebmail/html/en-us
696 %{_datadir}/sqwebmail/html/en
697 %config %{_datadir}/sqwebmail/html/en-us/[CIL]*
698 %{_datadir}/sqwebmail/html/en-us/*
699 %attr(755,root,root) %{_datadir}/sqwebmail/cleancache.pl
700 %attr(755,root,root) %{_datadir}/sqwebmail/sendit.sh
701 %attr(755,root,root) %{_datadir}/sqwebmail/ldapsearch
702 %attr(700, bin, bin) %dir %{_localstatedir}/webmail-logincache
703 %attr(644,daemon,daemon) %config %{_sysconfdir}/webmail.authpam
704 %attr(755,root,root) /etc/cron.hourly/courier-webmail-cleancache
705
706 %files maildrop
707 %defattr(644,root,root,755)
708 %{_mandir}/man1/maildrop.1*
709 %{_mandir}/man1/refor*
710 %{_mandir}/man5/maildrop*
711 %attr(644,daemon,daemon) %config %{_sysconfdir}/maildrop
712 %attr(755,root,root)  %{_bindir}/reformail
713 %attr(755,root,root)  %{_bindir}/reformime
714 %attr(4755,root,root) %{_bindir}/maildrop
715
716 %files mlm
717 %defattr(644,root,root,755)
718 %{_mandir}/man1/couriermlm.1*
719 %attr(755,root,root) %{_bindir}/couriermlm
720 %{_datadir}/couriermlm
721
722 %files smtpauth
723 %defattr(644,root,root,755)
724 %attr(4750,root,daemon) %{_libdir}/courier/modules/esmtp/authstart
725 %attr(755,root,root) %{_libdir}/courier/modules/esmtp/authend
This page took 0.116067 seconds and 4 git commands to generate.