On 10/13/13 7:27 PM, Maxime wrote:> Hi all.
>
> I'm trying to use Sieve with Dovecot and imaps (OpenBSD 5.3).
>
> When sieve protocol is enabled I can't connect to my IMAP server
> anymore; as soon as I remove sieve from the "protocols" list it works
again.
> Does anyone already experienced this?
> Any help would be really appreciated.
Dear Maxime,
I am running a very similar setup, without any problems running Sieve. I
have added my output of dovecot -n below, but perhaps you can see
anything that is different.
Also, please have a look at the /var/dovecot directory. Perhaps there
are some permissions wrong. I have also added the output from my
configuration below.
If you want to delta-debug, I am happy to provide any more information.
Regards,
Bernd
------
# 2.1.15: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.3 amd64
first_valid_uid = 1000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = bsdauth
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth {
user = $default_internal_user
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
}
ssl_cert = </etc/ssl/CUT-AWAY
ssl_key = </etc/ssl/private/CUT-AWAY
userdb {
driver = passwd
}
protocol lmtp {
mail_plugins = sieve
}
protocol lda {
mail_plugins = sieve
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
tb-lsub-flags
mail_max_userip_connections = 30
}
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
-----
total 64
drwxr-xr-x 4 root wheel 1024 Oct 14 06:11 .
drwxr-xr-x 32 root wheel 512 Feb 27 2013 ..
srw------- 1 root wheel 0 Jul 27 19:09 anvil
srw------- 1 root wheel 0 Jul 27 19:09 anvil-auth-penalty
srw------- 1 root wheel 0 Jul 27 19:09 auth-client
srw------- 1 _dovecot wheel 0 Jul 27 19:09 auth-login
srw------- 1 root wheel 0 Jul 27 19:09 auth-master
srw-rw-rw- 1 _dovecot wheel 0 Jul 27 19:09 auth-userdb
srw------- 1 _dovecot wheel 0 Jul 27 19:09 auth-worker
srw------- 1 root wheel 0 Jul 27 19:09 config
srw------- 1 root wheel 0 Jul 27 19:09 dict
srw------- 1 root wheel 0 Jul 27 19:09 director-admin
srw------- 1 root wheel 0 Jul 27 19:09 director-userdb
srw-rw-rw- 1 root wheel 0 Jul 27 19:09 dns-client
srw------- 1 root wheel 0 Jul 27 19:09 doveadm-server
lrwx------ 1 root wheel 25 Jul 27 19:09 dovecot.conf ->
/etc/dovecot/dovecot.conf
drwxr-xr-x 2 root wheel 512 Dec 30 2012 empty
srw-rw-rw- 1 root wheel 0 Jul 27 19:09 indexer
srw------- 1 _dovecot wheel 0 Jul 27 19:09 indexer-worker
-rw-r--r-- 1 root wheel 58 Oct 13 21:54 instances
srw------- 1 root wheel 0 Jul 27 19:09 ipc
srw-rw-rw- 1 root wheel 0 Jul 27 19:09 lmtp
srw------- 1 root wheel 0 Jul 27 19:09 log-errors
drwxr-x--- 2 root _dovenull 512 Jul 27 19:09 login
-rw------- 1 root wheel 6 Jul 27 19:09 master.pid
-rw-r--r-- 1 root wheel 58 Jul 27 19:09 mounts
srw------- 1 root wheel 0 Jul 27 19:09 replication-notify
prw------- 1 root wheel 0 Jul 27 19:09
replication-notify-fifo
srw------- 1 _dovecot wheel 0 Jul 27 19:09 replicator
-rw-r--r-- 1 root wheel 230 Oct 14 02:22 ssl-parameters.dat
srw------- 1 root wheel 0 Jul 27 19:09 stats
prw------- 1 root wheel 0 Jul 27 19:09 stats-mail
-----