Hello everybody,
I'm having problems with my fresh SOGo 3.1.3 installation on Ubuntu
16.04 with dovecot: when I modify email filters, SOGo does not send
sieve scripts to managesieve. I tracked the TCP traffic to the
managesieve server:
# tcpflow -c -i lo port 4190
tcpflow: listening on lo
127.000.000.001.04190-127.000.000.001.56344: "IMPLEMENTATION"
"Dovecot
Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation
subaddress comparator-i;ascii-numeric relational regex imap4flags
copy
include variables body enotify environment mailbox date index ihave
duplicate mime foreverypart extracttext"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
127.000.000.001.56344-127.000.000.001.04190: AUTHENTICATE "PLAIN"
{100+}
[...]
127.000.000.001.56344-127.000.000.001.04190:
127.000.000.001.04190-127.000.000.001.56344: OK "Logged in."
127.000.000.001.04190-127.000.000.001.56346: "IMPLEMENTATION"
"Dovecot
Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation
subaddress comparator-i;ascii-numeric relational regex imap4flags
copy
include variables body enotify environment mailbox date index ihave
duplicate mime foreverypart extracttext"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
127.000.000.001.56346-127.000.000.001.04190: AUTHENTICATE "PLAIN"
{100+}
[...]
127.000.000.001.56346-127.000.000.001.04190:
127.000.000.001.04190-127.000.000.001.56346: OK "Logged in."
127.000.000.001.56346-127.000.000.001.04190: SETACTIVE ""
127.000.000.001.56346-127.000.000.001.04190:
127.000.000.001.04190-127.000.000.001.56346: OK "No scripts
currently
active."
127.000.000.001.56346-127.000.000.001.04190: DELETESCRIPT "sogo"
127.000.000.001.56346-127.000.000.001.04190:
127.000.000.001.04190-127.000.000.001.56346: NO (NONEXISTENT) "Sieve
script `sogo' not found"
Here the tcp flow ends. No more communication between SOGo and the
managesieve server.
/var/log/sogo/sogo.log:
Jun 26 23:45:14 sogod [11583]: [ERROR]
<0x55580dc3f5c0[SOGoAppointmentInboxFolder]:inbox> (-[SOGoGCSFolder
toOneRelationshipKeys]): fetch failed!
Jun 26 23:45:14 sogod [11583]: <IP> "PROPFIND
/dav/oliver/Calendar/inbox/ HTTP/1.1" 207 333/128 0.069 - - 0
Jun 26 23:49:35 sogod [11583]: <IP> "GET /so/oliver/Preferences
HTTP/1.1" 200 22307/0 0.116 97847 77% 192K
Jun 26 23:49:36 sogod [11585]: <IP> "GET /so/oliver/jsonSettings
HTTP/1.1" 200 1353/0 0.007 - - 0
Jun 26 23:49:36 sogod [11584]: <IP> "GET /so/oliver/jsonDefaults
HTTP/1.1" 200 4031/0 0.016 - - 0
Jun 26 23:49:36 sogod [11583]: <IP> "GET
/so/oliver/Calendar/alarmslist?browserTime=1466977768 HTTP/1.1" 200
389/0 0.033 - - 0
Jun 26 23:49:36 sogod [11583]: <IP> "GET /so/oliver/Mail/0/view
HTTP/1.1" 200 5065/0 0.283 - - 0
Jun 26 23:49:41 sogod [11583]: <IP> "GET
/so/oliver/editFilter?filter=new HTTP/1.1" 200 1780/0 0.008 7536 76%
0
Jun 26 23:49:53 sogod [11583]: <0x0x55580dc5dc10[SOGoSieveManager]>
WARNING: Could not delete Sieve script - continuing...: {RawResponse
=
"{ok = 0; }"; result = 0; }
Jun 26 23:49:53 sogod [11583]: <IP> "POST
/so/oliver/Preferences/save
HTTP/1.1" 200 0/5193 0.260 - - 0
In /var/log/mail.err and /var/log/mail.log there are no abnormal
entries.
If I create a file named sogo.sieve in the sieve directory, then the
managesieve server returns a positive answer to the delete command of
SOGo, but SOGO doesn't send more commands either.
I at first had installed SOGo version 3.1.2, where the error was
already
present. I then did the update in the hope of resolving the problem.
What am I missing?
Thanks.
Oliver
--
[email protected]
https://inverse.ca/sogo/lists