我有一个问题,在圆形立方体中,dovecot-sieve对我不起作用。在Roundcube Web界面中,过滤器选项卡和休假选项卡一起存在。我可以编辑,保存,启用和禁用过滤器,但是尽管启用了假期过滤器并设置了正确的日期,但不会发送任何消息。从Roundcube内部创建HTML消息时,我可以从界面内发送,这个问题似乎只是筛选了假期消息。据我所知(对于这种事情并不好),我应该正确设置所有内容。请参阅下面的我的配置,我只包含了相应的代码:
/etc/dovecot/conf.的/90-sieve.conf:
plugin {
sieve = ~/.dovecot.sieve
sieve = ~/.dovecot.sieve
sieve_global_dir = /var/lib/dovecot/sieve/
sieve_before = /etc/dovecot/common.sieve
sieve_extenesions = +vacation
}
/etc/dovecot/conf.的/20-manage sieve.conf:
protocols = $protocols sieve
service managesieve-login {
inet_listener sieve {
port = 4190
}
/etc/dovecot/dovecot.conf:
protocols = imap pop3 lmtp sieve imaps
/var/呜呜呜/website.com/plugins/manage sieve/config.Inc.PHP:
$config['managesieve_port'] = 4190;
$config['managesieve_host'] = 'localhost';
$config['managesieve_auth_type'] = null;
$config['managesieve_auth_cid'] = null;
$config['managesieve_auth_pw'] = null;
$config['managesieve_usetls'] = false;
$config['managesieve_default'] = '/etc/dovecot/sieve/global';
$config['managesieve_script_name'] = 'managesieve';
$config['managesieve_replace_delimiter'] = '';
$config['managesieve_disabled_extensions'] = array();
$config['managesieve_debug'] = true;
$config['managesieve_kolab_master'] = false;
$config['managesieve_filename_extension'] = '.sieve';
$config['managesieve_filename_exceptions'] = array();
$config['managesieve_domains'] = array();
$config['managesieve_vacation'] = 1;
$config['managesieve_notify_methods'] = array('mailto');
/var/呜呜呜/website.com/config/config.Inc.PHP:
$config['plugins'] = array('managesieve','jqueryui');
$config['smtp_server'] = 'localhost';
$config['default_host'] = 'localhost';
$config['force_https'] = true;
另外,我也可以看到它在端口4190上运行:
#netstat -tunlp | grep :4190
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 11214/dovecot
tcp6 0 0 :::4190 :::* LISTEN 11214/dovecot
我遇到过同样的问题。我为LDA配置了mail_plugins,但实际上是在使用LMTP!一旦我为LMTP配置了mail_plugins = $ mail_plugins筛选,就会启动休假消息。
Dovecot必须启用LDA或LMTP。见https://wiki.dovecot.org/Pigeonhole/Sieve/Troubleshooting。 LMTP是更好的选择。
通过设置/etc/dovecot/conf.d/10-logging.conf
,还可以在mail_debug = yes
下启用日志记录。然后tail -f /var/log/syslog
跟随究竟发生了什么。