大网数据广告活动
服务器运维问答

Managesieve unable to connect to server when trying to install Roundcube autoresponder with Dovecot on Ubuntu

· 52CE 我爱测

In order to establish an autoresponder i'm trying to install filters through activating the plugin Managesieve in Roundcube. Probably i'm doing something wrong, there's an errormessage in Roundcube saying 'unable to connect to se…

问题原文

原帖链接 · C.A. Vuyk · CC BY-SA 3.0

In order to establish an autoresponder i'm trying to install filters through activating the plugin Managesieve in Roundcube.

Probably i'm doing something wrong, there's an errormessage in Roundcube saying 'unable to connect to server'

The mailserver and Roundcube are succesfully running, versions: Roundcube 0.9.5 / Postfix 2.11.0 / Dovecot 2.2.9 / Ubuntu 14.04.4

Roundcube errorlog is empty Mail errorlog says: Jul 23 16:06:01 vuyk postfix/submission/smtpd[27845]: fatal: no SASL authentication mechanisms

In /etc/dovecot/dovecot.conf:

protocols = imap lmtp pop3 sieve

In 20lmtp.conf:

protocol lmtp {

  postmaster_address = [email omitted]
  mail_plugins = $mail_plugins sieve
}

In /etc/dovecot/conf.d/20-managesieve.conf:

  protocols = $protocols sieve

 service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
#} <- still commented, this was the problem!

In /etc/roundcube/main.inc.php:

$rcmail_config = array('managesieve');
$rcmail_config['managesieve_host'] = 'localhost'; 

In /etc/dovecot/conf.d/15-lda.conf:

protocol lda {
  mail_plugins = $mail_plugins quota sieve
}

In /etc/dovecot/conf.d/90-sieve.conf:

sieve = ~/.dovecot.sieve
   sieve_global_path = /var/lib/dovecot/sieve/default.sieve
   sieve_dir = ~/sieve
   sieve_global_dir = /var/lib/dovecot/sieve/

In usr/share/roundcube/plugins/managesieve/conf.inc.php.dist:

$rcmail_config['managesieve_port'] = 4190;

已采纳解答

原帖链接 · Kondybas · CC BY-SA 3.0

You have to configure managesieve server from the dovecot bundle:

---- dovecot.conf -----
. . . . . 
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count         = 1
  process_min_avail     = 1
}
. . . . . 

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。