Summary(pl): Serwer poczty Courier
Name: courier
Version: 0.45.6
-Release: 1
+Release: 4
License: GPL
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
rm -rf $RPM_BUILD_ROOT
umask 022
install -d -p $RPM_BUILD_ROOT{/etc/{cron.hourly,pam.d},%{initdir}} \
- $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir}} \
+ $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir},/usr/lib} \
$RPM_BUILD_ROOT%{_sysconfdir}/{hosteddomains,userdb} \
$RPM_BUILD_ROOT{/etc/cron.hourly,%{_certsdir}}
touch $RPM_BUILD_ROOT%{_sysconfdir}/esmtpacceptmailfor.dir/default
touch $RPM_BUILD_ROOT%{_sysconfdir}/locals
+# file with important options
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/bofh <<EOF
+# enable this option if you want to pass bad converted mails
+# opt BOFHBADMIME=accept
+EOF
+
# Make password and unsecureok (files for webadmin)
touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/password
touch $RPM_BUILD_ROOT%{_sysconfdir}/webadmin/unsecureok
else
test -w /etc
if ( \$? ) then
- then
setenv PATH "%{_sbindir}:\$PATH"
endif
setenv PATH "%{_bindir}:\$PATH"
# remove unpackaged files
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rfcerr*.txt
rm -rf $RPM_BUILD_ROOT%{_datadir}/faxmail
rm -f $RPM_BUILD_ROOT%{_datadir}/courierwebadmin/*fax*
if [ "$1" = "1" ]; then
echo
- echo Remember to enable auth in esmtp config files
+ echo To enable smtpauth look for ESMTPAUTH option
+ echo in esmtpd config files
echo
fi
%{_mandir}/man8/makeuucpneighbors.8*
%{_mandir}/man8/pw2userdb.8*
%{_mandir}/man8/vchkpw2userdb.8*
-%dir %{_sysconfdir}
-%attr(750,daemon,root) %dir %{_certsdir}
+%attr(755,daemon,daemon) %dir %{_sysconfdir}
+%attr(750,daemon,daemon) %dir %{_certsdir}
%attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/me
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook
%attr(755,daemon,daemon) %dir %{_sysconfdir}/smtpaccess
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smtpaccess/default
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/esmtpacceptmailfor.dir/default
+%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bofh
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locals
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courierd
%attr(640,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aliases/system
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnsubjectwarn.txt
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dsnheader.txt
%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/module.dsn
+%attr(644,daemon,daemon) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rfcerr*.txt
%dir %{_libdir}/courier/modules/dsn
%attr(755,root,root) %{_libdir}/courier/modules/dsn/courierdsn
%{_libdir}/courier/modules/modules.ctl