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