tar xzf dovecot-2.3-pigeonhole-0.5.20.tar.gz
cd dovecot-2.3-pigeonhole-0.5.20/
./configure
make
make install
cp /usr/local/share/doc/dovecot/example-config/conf.d/*sieve*.conf /usr/local/etc/dovecot/conf.d/
protocols = $protocols sieve
service managesieve-login{
inet_listener sieve {
port = 4190
}
}
service managesieve{
}
90-sieve.confはデフォルトのままで動作するので、編集不要です。
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
protocol lmtp {
postmaster_address = yamada@virtual.localdomain
mail_plugins = $mail_plugins sieve
}
編集が終わったら、リロードします。
doveadm reload
virtual_transport = lmtp:unix:private/dovecot-lmtp
$config['plugins'] = ['acl', 'managesieve'];
cp -p plugins/managesieve/config.inc.php.dist plugins/managesieve/config.inc.php
タグ: CentOS, Dovecot, pigeonhole, sieve