- dovecot updated to 2.0 beta 4

This commit is contained in:
Michal Hlavinka 2010-03-25 14:22:30 +00:00
parent cd18c470c6
commit 08701bf9bf
8 changed files with 139 additions and 238 deletions

BIN
doveadm.1.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,11 @@
diff -up dovecot-2.0.beta4/doc/example-config/conf.d/mail.conf.defconf dovecot-2.0.beta4/doc/example-config/conf.d/mail.conf
--- dovecot-2.0.beta4/doc/example-config/conf.d/mail.conf.defconf 2010-03-25 15:13:01.458494067 +0100
+++ dovecot-2.0.beta4/doc/example-config/conf.d/mail.conf 2010-03-25 15:13:01.459364459 +0100
@@ -262,6 +262,7 @@
# them simultaneously.
#mbox_read_locks = fcntl
#mbox_write_locks = dotlock fcntl
+mbox_write_locks = fcntl
# Maximum time to wait for lock (all of them) before aborting.
#mbox_lock_timeout = 5 mins

BIN
dovecot.1.gz Normal file

Binary file not shown.

View File

@ -1,52 +0,0 @@
.TH DOVECOT 8 2009/09/26 "dovecot" "System Administration tools and Deamons"
.SH NAME
\fBdovecot\fP \- Secure imap and pop3 server
.SH SYNOPSIS
.B dovecot [\-F] [\-c <config file>] [\-p] [\-n] [\-a] [\-\-version] [\-\-build-options] [\-\-exec-mail <protocol> [<args>]]
.SH FULL PATH
.B /usr/sbin/dovecot
.SH DESCRIPTION
Dovecot is an IMAP server for Linux/UNIX-like systems, written with security
primarily in mind. It also contains a small POP3 server. It supports mail
in either of maildir or mbox formats.
.SH OPTIONS
.TP
.B \-a
Dump complete configuration and exit
.TP
.B \-\-build-options
Print build options and exit
.TP
.B \-c
Use <config\-file> as path to the configuration instead of default /etc/dovecot.conf
.TP
.B \-\-exec\-mail <protocol> [<args>]
Start protocol from section. If \-\-exec\-mail is used, it must be the last argument on the command line, as <section> is an optional parameter, otherwise if no section is given but
another parameter follows, this parameter is used as section.
.TP
.B \-F
Start dovecot as foreground process (otherwise: start as daemon)
.TP
.B --log-error
Test dovecot's logging capability and exit
.TP
.B \-n
Dump all non-default configuration items and exit
.TP
.B \-p
Ask for private SSL key password
.TP
.B \-\-version
Print version and exit
.SH "SEE ALSO"
.BR dovecotpw(1),
.BR dovecot.conf(5),
.BR /usr/share/doc/dovecot*/wiki/
.SH AUTHOR
.TP
dovecotpw was written by Timo Sirainen <tss@iki.fi>.

View File

@ -1,17 +0,0 @@
.TH DOVECOT.CONF 5 2009/09/26 "dovecot" "File Formats and Conventions"
.SH NAME
\fBdovecot.conf\fP \- The configuration file for dovect imap and pop3 server
.SH FULL PATH
.B /etc/dovecot.conf
.SH DESCRIPTION
The dovecot.conf file is a configuration file for the dovecot(8) imap and pop3 server. The dovecot.conf configuration file contains description to all available options. Some of these options are described also in offline wiki documentation placed in /usr/share/doc/dovecot*/wiki/.
For backup purposes unmodified version of dovecot.conf can be found in /usr/share/doc/dovecot-<version>/dovecot.conf.default
.SH "SEE ALSO"
.BR dovecot(8),
.BR dovecotpw(1),
.BR /usr/share/doc/dovecot*/wiki/
.BR /usr/share/doc/dovecot*/dovecot.conf.default

View File

@ -35,7 +35,7 @@ fi
RETVAL=0 RETVAL=0
prog="Dovecot Imap" prog="Dovecot Imap"
exec="/usr/sbin/dovecot" exec="/usr/sbin/dovecot"
config="/etc/dovecot.conf" config="/etc/dovecot/dovecot.conf"
pidfile="/var/run/dovecot/master.pid" pidfile="/var/run/dovecot/master.pid"
lockfile="/var/lock/subsys/dovecot" lockfile="/var/lock/subsys/dovecot"

View File

@ -1,8 +1,9 @@
%global betasuffix .beta4
Summary: Secure imap and pop3 server Summary: Secure imap and pop3 server
Name: dovecot Name: dovecot
Epoch: 1 Epoch: 1
Version: 1.2.11 Version: 2.0
Release: 2%{?dist} Release: 0.1.beta4%{?dist}
#dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+ #dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+
License: MIT and LGPLv2 and GPLv2+ License: MIT and LGPLv2 and GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
@ -13,35 +14,30 @@ Group: System Environment/Daemons
%define managesieve_version 0.11.11 %define managesieve_version 0.11.11
%define managesieve_name dovecot-1.2-managesieve %define managesieve_name dovecot-1.2-managesieve
%if %{?fedora}00%{?rhel} < 6
%define _initddir %{_initrddir}
%endif
URL: http://www.dovecot.org/ URL: http://www.dovecot.org/
Source: http://www.dovecot.org/releases/1.2/%{name}-%{version}.tar.gz Source: http://www.dovecot.org/releases/2.0/beta/%{name}-%{version}%{betasuffix}.tar.gz
Source1: dovecot.init Source1: dovecot.init
Source2: dovecot.pam Source2: dovecot.pam
Source3: maildir-migration.txt #Source8: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/archive/tip.tar.bz2
Source4: migrate-folders %global phsnap 940554ef4a55
Source5: migrate-users Source8: pigeonhole-snap%{phsnap}.tar.bzip2
Source6: perfect_maildir.pl
Source8: http://www.rename-it.nl/dovecot/1.2/%{sieve_name}-%{sieve_version}.tar.gz
Source9: dovecot.sysconfig Source9: dovecot.sysconfig
Source10: http://www.rename-it.nl/dovecot/1.2/%{managesieve_name}-%{managesieve_version}.tar.gz
Source11: http://www.rename-it.nl/dovecot/1.2/dovecot-%{ver4mansieve}-managesieve-%{managesieve_version}.diff.gz #http://wiki2.dovecot.org/ManPages/dovecot?action=AttachFile&do=view&target=dovecot.1.gz
Source12: dovecot.8 Source12: dovecot.1.gz
Source13: dovecotpw.1
#http://wiki2.dovecot.org/ManPages/doveadm?action=AttachFile&do=view&target=doveadm.1.gz
Source13: doveadm.1.gz
#our own
Source14: dovecot.conf.5 Source14: dovecot.conf.5
# 3x Fedora specific # 3x Fedora specific
Patch1: dovecot-1.1-default-settings.patch Patch1: dovecot-2.0-defaultconfig.patch
Patch2: dovecot-1.0.beta2-mkcert-permissions.patch Patch2: dovecot-1.0.beta2-mkcert-permissions.patch
Patch3: dovecot-1.0.rc7-mkcert-paths.patch Patch3: dovecot-1.0.rc7-mkcert-paths.patch
Obsoletes: dovecot-sqlite < 1:1.2.10-3
Obsoletes: dovecot-ldap < 1:1.2.10-3
Obsoletes: dovecot-gssapi < 1:1.2.10-3
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel, pam-devel, zlib-devel, bzip2-devel, libcap-devel BuildRequires: openssl-devel, pam-devel, zlib-devel, bzip2-devel, libcap-devel
BuildRequires: libtool, autoconf, automake, pkgconfig BuildRequires: libtool, autoconf, automake, pkgconfig
@ -65,7 +61,6 @@ Requires(post): /sbin/chkconfig, /usr/sbin/useradd, /sbin/chkconfig
Requires(preun): /usr/sbin/userdel, /usr/sbin/groupdel, /sbin/chkconfig, /sbin/service Requires(preun): /usr/sbin/userdel, /usr/sbin/groupdel, /sbin/chkconfig, /sbin/service
Requires(postun): /sbin/service Requires(postun): /sbin/service
%define docdir %{_docdir}/%{name}
%define ssldir %{_sysconfdir}/pki/%{name} %define ssldir %{_sysconfdir}/pki/%{name}
%description %description
@ -108,70 +103,60 @@ Group: Development/Libraries
This package provides the development files for dovecot. This package provides the development files for dovecot.
%prep %prep
%setup -q %setup -q -n %{name}-%{version}%{?betasuffix}
zcat %{SOURCE11} | patch -p1 --fuzz=0 -s %setup -q -n %{name}-%{version}%{?betasuffix} -D -T -a 8
%setup -q -D -T -a 8 -a 10
%patch1 -p1 -b .default-settings #%patch1 -p1 -b .default-settings
%patch2 -p1 -b .mkcert-permissions %patch2 -p1 -b .mkcert-permissions
%patch3 -p1 -b .mkcert-paths %patch3 -p1 -b .mkcert-paths
%build %build
rm -f ./"configure" %configure \
autoreconf -i -f
%configure \
INSTALL_DATA="install -c -p -m644" \ INSTALL_DATA="install -c -p -m644" \
--docdir=%{_docdir}/%{name}-%{version} \
--enable-header-install \ --enable-header-install \
--disable-static \ --disable-static \
--with-libcap \ --with-nss \
--with-shadow \
--with-pam \
--with-gssapi=plugin \
--with-ldap=plugin \
--with-sql=plugin \
--with-pgsql \ --with-pgsql \
--with-mysql \ --with-mysql \
--with-sqlite \ --with-sqlite \
--with-sql=plugin \ --with-zlib \
--with-sql-drivers \ --with-libcap \
--with-ssl=openssl \ --with-ssl=openssl \
--with-ssldir=%{ssldir} \ --with-ssldir=%{ssldir} \
--with-ldap=plugin \ --with-docs
--with-gssapi=plugin
sed -i 's|/etc/ssl|/etc/pki|' doc/mkcert.sh doc/example-config/conf.d/ssl.conf
make %{?_smp_mflags} make %{?_smp_mflags}
#sieve #pigeonhole
pushd %{sieve_name}-%{sieve_version} pushd dovecot-2-0-pigeonhole-%{phsnap}
rm -f ./"configure" autoreconf -fiv
autoreconf -i -f
%configure \ %configure \
INSTALL_DATA="install -c -p -m644" \ INSTALL_DATA="install -c -p -m644" \
--disable-static \ --disable-static \
--with-dovecot=../ \ --with-dovecot=../ \
--with-unfinished-features --without-unfinished-features
make %{?_smp_mflags}
popd
#managesieve
pushd %{managesieve_name}-%{managesieve_version}
rm -f ./"configure"
autoreconf -i -f
%configure \
INSTALL_DATA="install -c -p -m644" \
--disable-static \
--with-dovecot=../ \
--with-dovecot-sieve=../%{sieve_name}-%{sieve_version}/
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
%if %{?fedora}00%{?rhel} < 6 pushd dovecot-2-0-pigeonhole-%{phsnap}
sed -i 's|password-auth|system-auth|' %{SOURCE2} make install DESTDIR=$RPM_BUILD_ROOT
%endif popd
install -p -m 755 src/plugins/convert/convert-tool $RPM_BUILD_ROOT%{_libexecdir}/%{name} mv $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} %{_builddir}/%{name}-%{version}%{?betasuffix}/docinstall
install -p -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initddir}/dovecot install -p -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initddir}/dovecot
@ -179,13 +164,13 @@ install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/dovecot
install -p -D -m 600 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dovecot install -p -D -m 600 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dovecot
mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,man5,man8} #install man pages
install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man8/ mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,man1,man8}
install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man1/
install -p -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_mandir}/man1/ install -p -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_mandir}/man1/
install -p -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_mandir}/man5/ install -p -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_mandir}/man5/
find $RPM_BUILD_ROOT%{_mandir} -type f -exec gzip '{}' \;
# generate ghost .pem file # generate ghost .pem files
mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs
mkdir -p $RPM_BUILD_ROOT%{ssldir}/private mkdir -p $RPM_BUILD_ROOT%{ssldir}/private
touch $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem touch $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem
@ -197,31 +182,18 @@ mkdir -p $RPM_BUILD_ROOT/var/run/dovecot/login
chmod 755 $RPM_BUILD_ROOT/var/run/dovecot chmod 755 $RPM_BUILD_ROOT/var/run/dovecot
chmod 700 $RPM_BUILD_ROOT/var/run/dovecot/login chmod 700 $RPM_BUILD_ROOT/var/run/dovecot/login
# Install dovecot.conf and dovecot-openssl.cnf # Install dovecot configuration and dovecot-openssl.cnf
mkdir -p $RPM_BUILD_ROOT%{ssldir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
install -p -m644 dovecot-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot.conf install -p -m 644 docinstall/example-config/dovecot.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot
install -p -m644 dovecot-example.conf $RPM_BUILD_ROOT%{docdir}/dovecot.conf.default install -p -m 644 docinstall/example-config/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dovecot-*example.conf # dovecot seems to install this by itself install -p -m 644 docinstall/example-config/conf.d/*.conf.ext $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
install -p -m644 doc/dovecot-openssl.cnf $RPM_BUILD_ROOT%{ssldir}/dovecot-openssl.cnf install -p -m 644 doc/dovecot-openssl.cnf $RPM_BUILD_ROOT%{ssldir}/dovecot-openssl.cnf
# Install the licensing files into the documentation area
install -p -m644 COPYING* $RPM_BUILD_ROOT%{docdir}
mkdir -p $RPM_BUILD_ROOT%{docdir}/examples/
install -p -m755 doc/mkcert.sh $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mkcert.sh install -p -m755 doc/mkcert.sh $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mkcert.sh
for f in `cd doc; echo *.conf`; do
install -p -m644 doc/$f $RPM_BUILD_ROOT%{docdir}/examples/$f;
done
install -p -m755 -d $RPM_BUILD_ROOT%{docdir}/UW-to-Dovecot-Migration
for f in %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
do
install -p -m644 $f $RPM_BUILD_ROOT%{docdir}/UW-to-Dovecot-Migration
done
# fix encoding # fix encoding
pushd $RPM_BUILD_ROOT pushd docinstall
for fe in ./%{docdir}/auth-protocol.txt for fe in auth-protocol.txt
do do
iconv -f iso-8859-1 -t utf-8 <$fe >$fe.new iconv -f iso-8859-1 -t utf-8 <$fe >$fe.new
touch -r $fe $fe.new touch -r $fe $fe.new
@ -229,29 +201,17 @@ do
done done
popd popd
mv $RPM_BUILD_ROOT%{docdir} $RPM_BUILD_ROOT%{docdir}-%{version}
mkdir -p $RPM_BUILD_ROOT/var/lib/dovecot mkdir -p $RPM_BUILD_ROOT/var/lib/dovecot
# sieve
pushd %{sieve_name}-%{sieve_version}
make install DESTDIR=$RPM_BUILD_ROOT
popd
# managesieve
pushd %{managesieve_name}-%{managesieve_version}
make install DESTDIR=$RPM_BUILD_ROOT
popd
#remove the libtool archives #remove the libtool archives
find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -name '*.la' | xargs rm -f find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -name '*.la' | xargs rm -f
#prepare the filelist #remove what we don't want
( rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/README
find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -type d | sed -e "s|^|%dir |"; pushd docinstall
find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -! -type d | \ #rm -f dovecot-initd.sh dovecot-openssl.cnf Makefile*
grep -v 'dovecot-config\|lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so'; rm -f securecoding.txt thread-refs.txt
) | sed -e "s|$RPM_BUILD_ROOT||" >libs.filelist popd
%clean %clean
@ -289,67 +249,112 @@ if [ "$1" -ge "1" ]; then
fi fi
%files -f libs.filelist #files -f libs.filelist
%files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc %{docdir}-%{version} %doc docinstall/* AUTHORS ChangeLog COPYING COPYING.LGPL COPYING.MIT NEWS README
%{_sbindir}/dovecot %{_sbindir}/dovecot
%{_sbindir}/dovecotpw
%config(noreplace) %{_sysconfdir}/dovecot.conf %{_bindir}/doveadm
%{_bindir}/doveconf
%{_bindir}/dsync
%dir %{_sysconfdir}/dovecot
%dir %{_sysconfdir}/dovecot/conf.d
%config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-checkpassword.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-deny.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-ldap.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-master.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-passwdfile.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-sql.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-system.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/auth-vpopmail.conf.ext
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/imap.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/lda.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/lmtp.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/logging.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/mail.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/master.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/plugin.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/pop3.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/ssl.conf
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot
%config(noreplace) %{_sysconfdir}/pam.d/dovecot %config(noreplace) %{_sysconfdir}/pam.d/dovecot
%config(noreplace) %{ssldir}/dovecot-openssl.cnf %config(noreplace) %{ssldir}/dovecot-openssl.cnf
%{_initddir}/dovecot %{_initddir}/dovecot
%dir %{ssldir} %dir %{ssldir}
%dir %{ssldir}/certs %dir %{ssldir}/certs
%dir %{ssldir}/private %dir %{ssldir}/private
%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/certs/dovecot.pem %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/certs/dovecot.pem
%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/private/dovecot.pem %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/private/dovecot.pem
%{_libdir}/%{name}/sql/libdriver_sqlite.so
%{_libdir}/%{name}/auth/libmech_gssapi.so %dir %{_libdir}/dovecot
%{_libdir}/%{name}/auth/libauthdb_ldap.so %dir %{_libdir}/dovecot/auth
%{_libdir}/%{name}/auth/libdriver_sqlite.so %dir %{_libdir}/dovecot/dict
%{_libdir}/%{name}/dict/libdriver_sqlite.so %{_libdir}/dovecot/doveadm
%{_libexecdir}/%{name} %{_libdir}/dovecot/*_plugin.so
%{_libdir}/dovecot/*.so.*
%{_libdir}/dovecot/auth/libauthdb_ldap.so
%{_libdir}/dovecot/auth/libmech_gssapi.so
%{_libdir}/dovecot/auth/libdriver_sqlite.so
%{_libdir}/dovecot/dict/libdriver_sqlite.so
%{_libdir}/dovecot/libdriver_sqlite.so
%{_libexecdir}/dovecot
%attr(0755,root,dovecot) %dir /var/run/dovecot %attr(0755,root,dovecot) %dir /var/run/dovecot
%attr(0750,root,dovecot) %dir /var/run/dovecot/login %attr(0750,root,dovecot) %dir /var/run/dovecot/login
%attr(0750,dovecot,dovecot) %dir /var/lib/dovecot %attr(0750,dovecot,dovecot) %dir /var/lib/dovecot
%{_mandir}/man1/dovecotpw.1.gz
%{_mandir}/man1/doveadm.1.gz
%{_mandir}/man5/dovecot.conf.5.gz %{_mandir}/man5/dovecot.conf.5.gz
%{_mandir}/man8/dovecot.8.gz %{_mandir}/man8/dovecot.8.gz
%files devel
%defattr(-,root,root,-)
%{_includedir}/dovecot
%{_datadir}/aclocal/dovecot.m4
%{_libdir}/dovecot/libdovecot*.so
%{_libdir}/dovecot/dovecot-config
%files pigeonhole %files pigeonhole
%defattr(-,root,root,-) %defattr(-,root,root,-)
#%{_libdir}/%{name}/lda/lib90_cmusieve_plugin.so
%{_bindir}/sieve-filter
%{_bindir}/sieve-test %{_bindir}/sieve-test
%{_bindir}/sievec %{_bindir}/sievec
%{_bindir}/sieved %{_bindir}/sieved
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/sieve.conf
%config(noreplace) %{_sysconfdir}/dovecot/conf.d/managesieve.conf
%{_libexecdir}/%{name}/managesieve %{_libexecdir}/%{name}/managesieve
%{_libexecdir}/%{name}/managesieve-login %{_libexecdir}/%{name}/managesieve-login
%{_mandir}/man1/sieve-filter.1.gz %dir %{_libdir}/dovecot/settings
%{_libdir}/dovecot/settings/libmanagesieve_*.so
%{_mandir}/man1/sieve-test.1.gz %{_mandir}/man1/sieve-test.1.gz
%{_mandir}/man1/sievec.1.gz %{_mandir}/man1/sievec.1.gz
%{_mandir}/man1/sieved.1.gz %{_mandir}/man1/sieved.1.gz
%files mysql %files mysql
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/%{name}/sql/libdriver_mysql.so %{_libdir}/%{name}/libdriver_mysql.so
%{_libdir}/%{name}/auth/libdriver_mysql.so %{_libdir}/%{name}/auth/libdriver_mysql.so
%{_libdir}/%{name}/dict/libdriver_mysql.so %{_libdir}/%{name}/dict/libdriver_mysql.so
%files pgsql %files pgsql
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/%{name}/sql/libdriver_pgsql.so %{_libdir}/%{name}/libdriver_pgsql.so
%{_libdir}/%{name}/auth/libdriver_pgsql.so %{_libdir}/%{name}/auth/libdriver_pgsql.so
%{_libdir}/%{name}/dict/libdriver_pgsql.so %{_libdir}/%{name}/dict/libdriver_pgsql.so
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/%{name}/dovecot-config
%changelog %changelog
* Thu Mar 25 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.1.beta4
- dovecot updated to 2.0 beta 4
* Fri Mar 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:1.2.11-2 * Fri Mar 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:1.2.11-2
- fix missing bzip2 support in zlib plugin (#572797) - fix missing bzip2 support in zlib plugin (#572797)

View File

@ -1,46 +0,0 @@
.\" Hey, EMACS: -*- nroff -*-
.TH "DOVECOTPW" "1" "6 November 2008"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
dovecotpw \- a tool to easily generate passwords for a specified password scheme.
.SH SYNOPSIS
\fBdovecotpw\fP [\-l] [\-p <password>] [\-s <scheme>] [\-u <user>] [\-V]
.br
.SH DESCRIPTION
\fBdovecotpw\fP is a small tool to easily generate passwords for a
specified password scheme known by \fIdovecot\fR\|(1). A password scheme means
the format in which any password is stored in password databases.
The main idea behind storing passwords in non-plaintext scheme is that
if an attacker gets access to your server, he can't easily just get
all users' passwords and start using them. With stronger schemes it
takes more time to crack the passwords.
Currently, the password schemes supported by \fBdovecotpw\fP are:
CRYPT MD5 MD5-CRYPT SHA SHA1 SMD5 SSHA PLAIN CLEARTEXT CRAM-MD5
HMAC-MD5 DIGEST-MD5 PLAIN-MD4 PLAIN-MD5 LDAP-MD5 LANMAN NTLM RPA.
\fBdovecotpw\fP can be used to populate \fIdovecot\fR\|(1) password databases.
.SH OPTIONS
.TP
\fB-l\fP
List known password schemes.
.TP
\fB-p <password>\fP
Use <password> as the password to be encoded with the specified scheme. If this option is not used, you are prompted for one interactively.
.TP
\fB-s <scheme>\fP
Specify the password scheme to be used to encrypt the password. <scheme> must be one of the supported password scheme as listed here above. If you omit this option, the default scheme is used (HMAC-MD5).
.TP
\fB-u <user>\fP
Specify the username. This can be needed by some schemes.
.TP
\fB-V\fP
Internally verify the generated hash.
.SH AUTHOR
.TP
dovecotpw was written by Timo Sirainen <tss@iki.fi>.
.PP
This manual page was written by Xavier Lüthi <xavier@caroxav.be>,
for the Debian project (but may be used by others).