Egroupware: Sieve not accessible

Hi,

we are currently using eGroupware on UCS 4.1-4 errata408. When configuring the eGroupware email account, we would like to activate Sieve (IP 127.0.0.1, unsecured, Port 4190). According to netstat port 4190 is open and serviced by cyrmaster. But the check returns the following error:

Horde\ManageSieve\Exception: No supported authentication method found. The server supports these methods: , but we only support: DIGEST-MD5, CRAM-MD5, EXTERNAL, PLAIN, LOGIN (0)
#0 /var/www/eg16/vendor/pear-pear.horde.org/Horde_ManageSieve/Horde/ManageSieve.php(592): Horde\ManageSieve->_getBestAuthMethod(0)
#1 /var/www/eg16/vendor/pear-pear.horde.org/Horde_ManageSieve/Horde/ManageSieve.php(397): Horde\ManageSieve->_cmdAuthenticate('user1', 'geheim', 0, NULL)
#2 /var/www/eg16/admin/inc/class.admin_mail.inc.php(551): Horde\ManageSieve->login('user1', 'geheim')
#3 [internal function]: admin_mail->sieve(Array)
#4 /var/www/eg16/api/src/loader/deprecated_factory.php(179): call_user_func(Array, Array)
#5 /var/www/eg16/api/src/Etemplate.php(369): ExecMethod('mail.mail_wizar...', Array)
#6 [internal function]: EGroupware\Api\Etemplate::ajax_process_content('mail_user1_596...', Array, false)
#7 /var/www/eg16/api/src/Json/Request.php(179): call_user_func_array(Array, Array)
#8 /var/www/eg16/api/src/Json/Request.php(91): EGroupware\Api\Json\Request->handleRequest('EGroupware\\Api\\...', Array)
#9 /var/www/eg16/json.php(119): EGroupware\Api\Json\Request->parseRequest('EGroupware\\Api\\...', '{"request":{"pa...')
#10 {main}

How can I tell Sieve which auth method to support?

Thanks for any suggestions or hints,

Stefan

Hi Stefan,

there seems to be something mis-configured - in general UCS works by default out of the box.

Depending on the imap server you use, best googling how to set the auth methods there e.g. see the following for cyrus: https://lists.andrew.cmu.edu/pipermail/info-cyrus/2011-May/034915.html

Birgit Becker
EGroupware GmbH

Hi Birgit,

as suggested in the posting, I added

sieve_allowplaintext: 1

but this did not change anything. (I did not forget to restart cyrus).

Currently the two configuration files look like this:

/etc/imapd.conf

configdirectory: /var/lib/cyrus
proc_path: /run/cyrus/proc
mboxname_lockpath: /run/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sieve_allowplaintext: 1
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: LOGIN PLAIN 
sasl_pwcheck_method: auxprop
sasl_auto_transition: no
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
syslog_prefix: cyrus

/etc/cyrus.conf

START {
	recover		cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
	delprune	cmd="/usr/sbin/cyrus expire -E 3"
	tlsprune	cmd="/usr/sbin/cyrus tls_prune"
}
SERVICES {
	imap		cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
	pop3		cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
	nntp		cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
	lmtpunix	cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
  	sieve		cmd="timsieved" listen="sieve" prefork=0 maxchild=100
	notify		cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
}
EVENTS {
	checkpoint	cmd="/usr/sbin/cyrus ctl_cyrusdb -c" period=30
	delprune	cmd="/usr/sbin/cyrus expire -E 3" at=0401
	tlsprune	cmd="/usr/sbin/cyrus tls_prune" at=0401
}

Do you have any further suggestions?

Thanks for your help,

Stefan

Mastodon