Ich gehe davon aus dass roundcube bereits gepacht ist... Ansonsten patch von obengenanntem Link einspielen...
Hier das Dovecot from Source Setup (für CentOS):
Code:
yum install sqlite-devel pam-devel mysql-devel ldap-devel openssl-devel make gcc binutils patch (in CentOS)
cd /usr/local/src
wget http://dovecot.org/releases/1.1/dovecot-1.1.11.tar.gz
wget http://dovecot.org/releases/sieve/dovecot-sieve-1.1.6.tar.gz
wget http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.11-managesieve-0.10.5.diff.gz
wget http://www.rename-it.nl/dovecot/1.1/dovecot-1.1-managesieve-0.10.5.tar.gz
tar -xvzf http://dovecot.org/releases/1.1/dovecot-1.1.11.tar.gz
tar -xvzf http://dovecot.org/releases/sieve/dovecot-sieve-1.1.6.tar.gz
tar -xvzf http://www.rename-it.nl/dovecot/1.1/dovecot-1.1-managesieve-0.10.5.tar.gz
cd dovecot-1.1.11
gzip -dc ../dovecot-1.1.11-managesieve-0.10.5.diff.gz | patch -p1
./configure --enable-ipv6 --with-pop3d --with-deliver --with-mysql --with-sqlite --with-passwd --with-passwd-file --with-shadow --with-pam --with-checkpassword --with-static-userdb --with-prefetch-userdb --with-sql --with-ldap
make
make install
cd ../dovecot-sieve-1.1.6
./configure --with-dovecot=../dovecot-1.1.11
make
make install
cd ../dovecot-1.1-managesieve-0.10.5
./configure --with-dovecot=../dovecot-1.1.11 --with-dovecot-sieve=../dovecot-sieve-1.1.6
make
make install
ln -s /usr/sbin/sendmail /usr/lib/sendmail
/usr/local/etc/dovecot.conf anpassen:
...
protocols = ... managesieve
...
protocol_lda {
mail_plugins = ... cmusieve
...
protocol managesieve {
sieve = ~/.dovecot.sieve
sieve_storage=~/sieve
}
...
/etc/postfix/master.cf anpassen:
...
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}
/etc/postfix/main.cf anpassen:
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
Falls in der dovecot config cram-md5 oder digest-md5 aktiviert sind, in der datei <rcdir>/plugins/sieverules/Net_Sieve.php:
Code:
var $supportedAuthMethods=array('DIGEST-MD5', 'CRAM-MD5', 'PLAIN' , 'LOGIN');
ersetzen durch
Code:
var $supportedAuthMethods=array( 'PLAIN' , 'LOGIN');