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