Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-12-14 Thread Aki Tuomi
Actually, managesieve DOES use starttls, and does use the same config as rest 
of Dovecot does, unless you override it of course.

But other than that, you're right.

Aki

> On 15/12/2022 09:49 EET Christian Mack  wrote:
> 
>  
> Hello
> 
> This test only states, that you can connect to IMAP Port 143 with 
> STARTTLS and use your certificate there.
> It does not show, if your managesieve Port 4190 uses that certificate too.
> Managesieve does not use STARTTLS, and has its own configurations.
> 
> I suspect, that in your certificate you do not have the private IP as 
> alternate name included, as you try to reach 10.0.0.91:4190, not 
> mydomain.com:4190.
> 
> 
> Kind regards,
> Christian Mack
> 
> Am 14.12.22 um 21:48 schrieb co...@colinlikesfood.com:
> > 
> > 
> > Thank you for this.  I am not using self-signed, I am using letsencrypt 
> > as a CA, the certs are installed where certbot put them.
> > 
> > I tried the example from https://wiki2.dovecot.org/TestInstallation, 
> > using openssl s_client, and I achieved the following (lots of data 
> > replaced with "...")
> > 
> > I have not changed anything else since your last reply, I am honestly 
> > not sure what rc config has to do with certs (google has not given me a 
> > result that seems to apply).  Does the below help confirm my certs are 
> > properly installed and that i can connect to dovecot over tls and pass 
> > my credentials?
> > 
> > -
> > 
> > root@mc:~ # openssl s_client -connect mydomain.com:143 -starttls imap
> > CONNECTED(0004)
> > depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
> > verify return:1
> > depth=1 C = US, O = Let's Encrypt, CN = R3
> > verify return:1
> > depth=0 CN = mydomain.com
> > verify return:1
> > ---
> > Certificate chain
> >   ...
> > ---
> > Server certificate
> > -BEGIN CERTIFICATE-
> > ..
> > -END CERTIFICATE-
> > ..
> > ---
> > No client certificate CA names sent
> > Peer signing digest: SHA256
> > Peer signature type: RSA-PSS
> > Server Temp Key: X25519, 253 bits
> > ---
> > SSL handshake has read 4922 bytes and written 426 bytes
> > Verification: OK
> > ---
> > ..
> > ..
> > ..
> > ---
> > read R BLOCK
> > a login m...@mydomain.com MyPass
> > * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
> > SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT 
> > MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS 
> > LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
> > WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY 
> > PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
> > a OK Logged in
> > a OK Logged in
> > b select inbox
> > * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
> > * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] 
> > Flags permitted.
> > * 35 EXISTS
> > * 0 RECENT
> > * OK [UNSEEN 18] First unseen.
> > * OK [UIDVALIDITY 1669149589] UIDs valid
> > * OK [UIDNEXT 255] Predicted next UID
> > * OK [HIGHESTMODSEQ 615] Highest
> > b OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
> > c list "" *
> > * LIST (\HasNoChildren \Marked \Trash) "/" Trash
> > * LIST (\HasNoChildren \UnMarked \Junk) "/" Junk
> > * LIST (\HasNoChildren \Marked \Sent) "/" Sent
> > * LIST (\HasNoChildren \Drafts) "/" Drafts
> > * LIST (\HasNoChildren \UnMarked) "/" INBOX/email-reports
> > * LIST (\HasNoChildren \UnMarked) "/" INBOX/NAS-Alerts
> > * LIST (\HasChildren) "/" INBOX
> > c OK List completed (0.001 + 0.000 secs).
> > 
> > On 2022-11-23 14:49, PGNet Dev wrote:
> > 
> >>> i don't understand why it can't connect, this seems to work fine:
> >>
> >> fine ?
> >>
> >> you're manually overriding at least one problem with your certs/config
> >>
> >>> ...
> >>> - Status: The certificate is NOT trusted. The name in the certificate 
> >>> does not match the expected.
> >>> *** PKI verification of server certificate failed...
> >>> Host 10.0.0.91 (sieve) has never been contacted before.
> >>> Its certificate is valid for 10.0.0.91.
> >>> Are you sure you want to trust it? (y/N): y
> >>> ...
> >>
> >> it appears that you're using a self-signed cert?  are your trusted 
> >> certs defined and correctly chained?  if not explicitly defined, did 
> >> you correctly add you certs to system ssl dirs, and ensure hashes are 
> >> correct?
> >>
> >> demonstrate first that you can connect to dovecot over tls with a cmd 
> >> line client, without ignoring or overriding your cert problems
> >>
> >> including any client/server cert verification requirements you've 
> >> turned on in dovecot config
> >>
> >> once you've passed the correct certs, then demonstrate that you can 
> >> authenticate in the same session with any password/credentials you've set
> >>
> >> once that all works, make sure you've got those certs correctly set up 
> >> in your rc config
> > 
> > 
> 
> -- 
> Christian Mack
> Universität Konstanz
> Kommunikations-, Informations-, Medienzentrum (KIM)
> Abteilung 

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-12-14 Thread Christian Mack

Hello

This test only states, that you can connect to IMAP Port 143 with 
STARTTLS and use your certificate there.

It does not show, if your managesieve Port 4190 uses that certificate too.
Managesieve does not use STARTTLS, and has its own configurations.

I suspect, that in your certificate you do not have the private IP as 
alternate name included, as you try to reach 10.0.0.91:4190, not 
mydomain.com:4190.



Kind regards,
Christian Mack

Am 14.12.22 um 21:48 schrieb co...@colinlikesfood.com:



Thank you for this.  I am not using self-signed, I am using letsencrypt 
as a CA, the certs are installed where certbot put them.


I tried the example from https://wiki2.dovecot.org/TestInstallation, 
using openssl s_client, and I achieved the following (lots of data 
replaced with "...")


I have not changed anything else since your last reply, I am honestly 
not sure what rc config has to do with certs (google has not given me a 
result that seems to apply).  Does the below help confirm my certs are 
properly installed and that i can connect to dovecot over tls and pass 
my credentials?


-

root@mc:~ # openssl s_client -connect mydomain.com:143 -starttls imap
CONNECTED(0004)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = mydomain.com
verify return:1
---
Certificate chain
  ...
---
Server certificate
-BEGIN CERTIFICATE-
..
-END CERTIFICATE-
..
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 4922 bytes and written 426 bytes
Verification: OK
---
..
..
..
---
read R BLOCK
a login m...@mydomain.com MyPass
* CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT 
MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS 
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY 
PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE

a OK Logged in
a OK Logged in
b select inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] 
Flags permitted.

* 35 EXISTS
* 0 RECENT
* OK [UNSEEN 18] First unseen.
* OK [UIDVALIDITY 1669149589] UIDs valid
* OK [UIDNEXT 255] Predicted next UID
* OK [HIGHESTMODSEQ 615] Highest
b OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
c list "" *
* LIST (\HasNoChildren \Marked \Trash) "/" Trash
* LIST (\HasNoChildren \UnMarked \Junk) "/" Junk
* LIST (\HasNoChildren \Marked \Sent) "/" Sent
* LIST (\HasNoChildren \Drafts) "/" Drafts
* LIST (\HasNoChildren \UnMarked) "/" INBOX/email-reports
* LIST (\HasNoChildren \UnMarked) "/" INBOX/NAS-Alerts
* LIST (\HasChildren) "/" INBOX
c OK List completed (0.001 + 0.000 secs).

On 2022-11-23 14:49, PGNet Dev wrote:


i don't understand why it can't connect, this seems to work fine:


fine ?

you're manually overriding at least one problem with your certs/config


...
- Status: The certificate is NOT trusted. The name in the certificate 
does not match the expected.

*** PKI verification of server certificate failed...
Host 10.0.0.91 (sieve) has never been contacted before.
Its certificate is valid for 10.0.0.91.
Are you sure you want to trust it? (y/N): y
...


it appears that you're using a self-signed cert?  are your trusted 
certs defined and correctly chained?  if not explicitly defined, did 
you correctly add you certs to system ssl dirs, and ensure hashes are 
correct?


demonstrate first that you can connect to dovecot over tls with a cmd 
line client, without ignoring or overriding your cert problems


including any client/server cert verification requirements you've 
turned on in dovecot config


once you've passed the correct certs, then demonstrate that you can 
authenticate in the same session with any password/credentials you've set


once that all works, make sure you've got those certs correctly set up 
in your rc config





--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-12-14 Thread colin



Thank you for this.  I am not using self-signed, I am using letsencrypt 
as a CA, the certs are installed where certbot put them.


I tried the example from https://wiki2.dovecot.org/TestInstallation, 
using openssl s_client, and I achieved the following (lots of data 
replaced with "...")


I have not changed anything else since your last reply, I am honestly 
not sure what rc config has to do with certs (google has not given me a 
result that seems to apply).  Does the below help confirm my certs are 
properly installed and that i can connect to dovecot over tls and pass 
my credentials?


-

root@mc:~ # openssl s_client -connect mydomain.com:143 -starttls imap
CONNECTED(0004)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = mydomain.com
verify return:1
---
Certificate chain
 ...
---
Server certificate
-BEGIN CERTIFICATE-
..
-END CERTIFICATE-
..
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 4922 bytes and written 426 bytes
Verification: OK
---
..
..
..
---
read R BLOCK
a login m...@mydomain.com MyPass
* CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT 
MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS 
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY 
PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE

a OK Logged in
a OK Logged in
b select inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] 
Flags permitted.

* 35 EXISTS
* 0 RECENT
* OK [UNSEEN 18] First unseen.
* OK [UIDVALIDITY 1669149589] UIDs valid
* OK [UIDNEXT 255] Predicted next UID
* OK [HIGHESTMODSEQ 615] Highest
b OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
c list "" *
* LIST (\HasNoChildren \Marked \Trash) "/" Trash
* LIST (\HasNoChildren \UnMarked \Junk) "/" Junk
* LIST (\HasNoChildren \Marked \Sent) "/" Sent
* LIST (\HasNoChildren \Drafts) "/" Drafts
* LIST (\HasNoChildren \UnMarked) "/" INBOX/email-reports
* LIST (\HasNoChildren \UnMarked) "/" INBOX/NAS-Alerts
* LIST (\HasChildren) "/" INBOX
c OK List completed (0.001 + 0.000 secs).

On 2022-11-23 14:49, PGNet Dev wrote:


i don't understand why it can't connect, this seems to work fine:


fine ?

you're manually overriding at least one problem with your certs/config


...
- Status: The certificate is NOT trusted. The name in the certificate 
does not match the expected.

*** PKI verification of server certificate failed...
Host 10.0.0.91 (sieve) has never been contacted before.
Its certificate is valid for 10.0.0.91.
Are you sure you want to trust it? (y/N): y
...


it appears that you're using a self-signed cert?  are your trusted 
certs defined and correctly chained?  if not explicitly defined, did 
you correctly add you certs to system ssl dirs, and ensure hashes are 
correct?


demonstrate first that you can connect to dovecot over tls with a cmd 
line client, without ignoring or overriding your cert problems


including any client/server cert verification requirements you've 
turned on in dovecot config


once you've passed the correct certs, then demonstrate that you can 
authenticate in the same session with any password/credentials you've 
set


once that all works, make sure you've got those certs correctly set up 
in your rc config




Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-27 Thread Yassine Chaouche

  
  

Le 11/27/22 à
3:48 PM, Yassine Chaouche a écrit :


  
  
  [...]

Here's what works for me : 

  
In particular : 

 root@messagerie-principale[10.10.10.19]
/var/www/roundcubemail-1.2.4/plugins/managesieve #
pretty.remove.blanks+comments config.inc.php

[...]
$config['managesieve_usetls'] = false;
$config['managesieve_conn_options'] = null;
[...]
root@messagerie-principale[10.10.10.19]
/var/www/roundcubemail-1.2.4/plugins/managesieve #

  
Best,
-- 
Yassine -- sysadm
57 33
  



Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-27 Thread Yassine Chaouche

  
  
Hello Colin,
  
  On my installation, managesieve is configured in its own plugin
  directory : 
  
  /var/www/roundcubemail/plugins/managesieve/
  
  
  
  
  Here's what works for me : 
  
  root@messagerie-principale[10.10.10.19]
  /var/www/roundcubemail-1.2.4/plugins/managesieve #
  pretty.remove.blanks+comments config.inc.php
  
  $config['managesieve_port'] = null;
  $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_conn_options'] = null;
  $config['managesieve_default'] = '/etc/dovecot/sieve/global';
  $config['managesieve_script_name'] = 'managesieve';
  $config['managesieve_mbox_encoding'] = 'UTF-8';
  $config['managesieve_replace_delimiter'] = '';
  $config['managesieve_disabled_extensions'] = array();
  $config['managesieve_debug'] = false;
  $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_vacation_interval'] = 0;
  $config['managesieve_vacation_addresses_init'] = false;
  $config['managesieve_notify_methods'] = array('mailto');
  root@messagerie-principale[10.10.10.19]
  /var/www/roundcubemail-1.2.4/plugins/managesieve #
  
  
  
  
  prety.remove.blanks+comments is just a grep alias : 
  
  $ type pretty.remove.blanks+comments
  pretty.remove.blanks+comments is aliased to `egrep -v
  '(^[[:space:]]*#|^$|^[[:space:]]*//|^[[:space:]]*;)''
  $
  
  Maybe you could use this alias and print your config as requested?

Best,

-- 
Yassine -- sysadm
Le 11/23/22 à 8:54 PM,
  co...@colinlikesfood.com a écrit :


  
  thank you again. it seems you have seen my paste of
config.inc.php.  I do not have a config.php:
  my_user@some_host:/usr/local/www/roundcube/config # ls -l
total 67
-rw-r--r--  1 root  wheel    164 Jul 23 15:17 .htaccess
-rw-r--r--  1 root  wheel   1867 Nov 22 15:12 config.inc.php
-rw-r--r--  1 root  wheel   2943 Jul 23 15:17
config.inc.php.sample
-rw-r--r--  1 root  wheel  63790 Oct 29 20:24 defaults.inc.php
-rw-r--r--  1 root  wheel   2806 Jul 23 15:17 mimetypes.php
my_user@some_host:/usr/local/www/roundcube/config #
  
  
  I have tried changing tls:// to ssl:// and back again (in the
line $config['managesieve_host'] = 'tls://obfuscated.domain';)
but the error remains the same:
  roundcube: PHP Error: Connection
refused (GET
/index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Unable to connect to managesieve on
obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (GET
/index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Not currently in AUTHORISATION state (GET
/index.php?_task=settings&_action=plugin.managesieve)
php: PHP Error: Not currently connected (GET
/index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Connection refused (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
roundcube: PHP Error: Unable to connect to managesieve on
obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
php: PHP Error: Not currently connected (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
roundcube: PHP Error: Connection refused (POST
/?_task=settings&_action=plugin.managesieve-save)
roundcube: PHP Error: Unable to connect to managesieve on
obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (POST
/?_task=settings&_action=plugin.managesieve-save)
  
  
  i don't understand why it can't connect, this seems to work
fine:
  # gnutls-cli --tofu
--starttls -p 4190 10.0.0.91
Processed 142 CA certificate(s).
Resolving '10.0.0.91:4190'...
Connecting to '10.0.0.91:4190'...
  - Simple Client Mode:
  "IMPLEMENTATION" "dovecot"
"SIEVE" "fileinto reject envelope encoded-character vacation
subaddress comparator-i;ascii-numeric relational regex
imap4flags copy include variables body enotify 

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-27 Thread Yassine Chaouche

  
  
Le 11/23/22 à 11:27 PM, Benny Pedersen a
  écrit :

Yassine Chaouche skrev den 2022-11-23 20:35:

  
  also make sure your
  are editing config.php and not config.inc.php
  
  (which you pasted)
  

  
roundcube uses default.inc.php < dont edit this one, and
config.inc.php < edit this one

  

Ah indeed! thanks for catching this.
  
  Best,
  
  -- 
  Yassine -- sysadm
  
  
  

  



Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread Benny Pedersen

Yassine Chaouche skrev den 2022-11-23 20:35:

also make sure your are editing config.php and not config.inc.php
(which you pasted)


roundcube uses default.inc.php < dont edit this one, and config.inc.php 
< edit this one


Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread PGNet Dev

i don't understand why it can't connect, this seems to work fine:


fine ?

you're manually overriding at least one problem with your certs/config


...
- Status: The certificate is NOT trusted. The name in the certificate does not 
match the expected.
*** PKI verification of server certificate failed...
Host 10.0.0.91 (sieve) has never been contacted before.
Its certificate is valid for 10.0.0.91.
Are you sure you want to trust it? (y/N): y
...


it appears that you're using a self-signed cert?  are your trusted certs 
defined and correctly chained?  if not explicitly defined, did you correctly 
add you certs to system ssl dirs, and ensure hashes are correct?

demonstrate first that you can connect to dovecot over tls with a cmd line 
client, without ignoring or overriding your cert problems

including any client/server cert verification requirements you've turned on in 
dovecot config

once you've passed the correct certs, then demonstrate that you can 
authenticate in the same session with any password/credentials you've set

once that all works, make sure you've got those certs correctly set up in your 
rc config




Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread colin



thank you again. it seems you have seen my paste of config.inc.php.  I 
do not have a config.php:


my_user@some_host:/usr/local/www/roundcube/config # ls -l
total 67
-rw-r--r--  1 root  wheel164 Jul 23 15:17 .htaccess
-rw-r--r--  1 root  wheel   1867 Nov 22 15:12 config.inc.php
-rw-r--r--  1 root  wheel   2943 Jul 23 15:17 config.inc.php.sample
-rw-r--r--  1 root  wheel  63790 Oct 29 20:24 defaults.inc.php
-rw-r--r--  1 root  wheel   2806 Jul 23 15:17 mimetypes.php
my_user@some_host:/usr/local/www/roundcube/config #

I have tried changing tls:// to ssl:// and back again (in the line 
$config['managesieve_host'] = 'tls://obfuscated.domain';) but the error 
remains the same:


roundcube: PHP Error: Connection refused (GET 
/index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Unable to connect to managesieve on 
obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Not currently in AUTHORISATION state (GET 
/index.php?_task=settings&_action=plugin.managesieve)
php: PHP Error: Not currently connected (GET 
/index.php?_task=settings&_action=plugin.managesieve)
roundcube: PHP Error: Connection refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
roundcube: PHP Error: Unable to connect to managesieve on 
obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
php: PHP Error: Not currently connected (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
roundcube: PHP Error: Connection refused (POST 
/?_task=settings&_action=plugin.managesieve-save)
roundcube: PHP Error: Unable to connect to managesieve on 
obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)


i don't understand why it can't connect, this seems to work fine:

# gnutls-cli --tofu --starttls -p 4190 10.0.0.91
Processed 142 CA certificate(s).
Resolving '10.0.0.91:4190'...
Connecting to '10.0.0.91:4190'...

- Simple Client Mode:

"IMPLEMENTATION" "dovecot"
"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" "CRAM-MD5"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
STARTTLS
OK "Begin TLS negotiation now."
*** Starting TLS handshake
- Certificate type: X.509
- Got a certificate list of 3 certificates.
- Certificate[0] info:
 - subject `CN=obfuscated.domain.com', issuer `CN=R3,O=Let's 
Encrypt,C=US', serial xx, RSA key 2048 bits, signed 
using RSA-SHA256, activated `-mm-dd 17:48:15 UTC', expires 
`-mm-dd 17:48:14 UTC', pin-sha256="xx"

Public Key ID:
sha1:xx
sha256:xx
Public Key PIN:
pin-sha256:xx

- Certificate[1] info:
 - subject `CN=R3,O=Let's Encrypt,C=US', issuer `CN=ISRG Root 
X1,O=Internet Security Research Group,C=US', serial 
xx, RSA key 2048 bits, signed using RSA-SHA256, 
activated `-mm-dd 00:00:00 UTC', expires `-mm-dd 16:00:00 UTC', 
pin-sha256="xx"

- Certificate[2] info:
 - subject `CN=ISRG Root X1,O=Internet Security Research Group,C=US', 
issuer `CN=DST Root CA X3,O=Digital Signature Trust Co.', serial 
-mm-dd, RSA key 4096 bits, signed using RSA-SHA256, activated 
`-mm-dd 19:14:03 UTC', expires `-mm-dd 18:14:03 UTC', 
pin-sha256="xx"
- Status: The certificate is NOT trusted. The name in the certificate 
does not match the expected.

*** PKI verification of server certificate failed...
Host 10.0.0.91 (sieve) has never been contacted before.
Its certificate is valid for 10.0.0.91.
Are you sure you want to trust it? (y/N): y
- Description: 
(TLS1.3-X.509)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-256-GCM)

- Session ID: xx:yy:xx:yy:xx:yy...
- Options:
"IMPLEMENTATION" "dovecot"
"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" "CRAM-MD5"
"VERSION" "1.0"
OK "TLS negotiation successful."

On 2022-11-23 13:35, Yassine Chaouche wrote:

also make sure your are editing config.php and not config.inc.php 
(which you pasted)


Yassine.

Le 23 novembre 2022 8:30:36 PM GMT+01:00, Yassine Chaouche 
 a écrit :


good. we have established that the 

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread Yassine Chaouche
good. we have established that the problem shouldn't be on dovecot's side. i 
suspect roundcube is misconfigured or can't connect for some reason. I believe 
someone mentioned SSL and TLS support problem in RC for a specific version? can 
you try without? also can you paste RC config? 

Yassine.


Le 23 novembre 2022 4:44:23 PM GMT+01:00, co...@colinlikesfood.com a écrit :
>
>
>thanks for your reply - dovecot and roundcube are on the same server, and i am 
>able to authenticate both a telnet and an openssl connection with manageseieve 
>on that port from both the same machine and another machine, so i think that 
>has to mean managesieve is listening, correct?
>
>On 2022-11-23 04:09, Yassine Chaouche wrote:
>
>> hello Colin,
>> 
>> is anything listening on that port?
>> you might find lsof and netstat helpful.
>> also, if roundcube and dovecot are on different servers, you might want to 
>> check a network cnx to the managesieve port.
>> cnx refused often means nothing is listening or firewall is filtering.
>> 
>> Yassine.
>> 
>> Le 22 novembre 2022 6:03:08 PM GMT+01:00, co...@colinlikesfood.com a écrit :
>> 
>>> Subject line says it all?  I am using Roundcube, and every time i click on 
>>> "filters" i get RC's "unable to connect to server" message.
>>> 
>>> This might be an SQL error, but i can't figure out how to pull the relevant 
>>> logs yet.  Please see below and any advice you have is so very appreciated
>>> 
>>> SYSLOG:
>>> ---
>>> Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Connection 
>>> refused (GET /index.php?_task=settings&_action=plugin.managesieve)
>>> Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to 
>>> connect to managesieve on obfuscated.domain:4190 in 
>>> /usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
>>>  on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
>>> Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not currently 
>>> in AUTHORISATION state (GET 
>>> /index.php?_task=settings&_action=plugin.managesieve)
>>> Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently 
>>> connected (GET /index.php?_task=settings&_action=plugin.managesieve)
>>> Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Connection 
>>> refused (GET 
>>> /index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>>> Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to 
>>> connect to managesieve on obfuscated.domain:4190 in 
>>> /usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
>>>  on line 221 (GET 
>>> /index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>>> Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently 
>>> connected (GET 
>>> /index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>>> Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Connection 
>>> refused (POST /?_task=settings&_action=plugin.managesieve-save)
>>> Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to 
>>> connect to managesieve on obfuscated.domain:4190 in 
>>> /usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
>>>  on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
>>> Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access array 
>>> offset on value of type null in 
>>> /usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
>>>  on line 1065
>>> Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently 
>>> connected (POST /?_task=settings&_action=plugin.managesieve-save)
>>> 
>>> DOVECOT.LOG:
>>> ---
>>> Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 LOGOUT
>>> Nov 22 10:28:58 mail dovecot[8514]: 
>>> imap(obfusca...@user.name)<8609>: Disconnected: Logged 
>>> out in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 
>>> body_count=0 body_bytes=0
>>> Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE Logging 
>>> out
>>> Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK Logout 
>>> completed (0.001 + 0.000 secs).
>>> Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", "ip", 
>>> "changed", datetime('now') AS ts, CASE WHEN "changed" < datetime('now', 
>>> '-600 seconds') THEN 1 ELSE 0 END AS expired FROM "session" WHERE "sess_id" 
>>> = 'keirks4pbepr17um9mvj1qsvt2';
>>> Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM "users" 
>>> WHERE "user_id" = '2';
>>> Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" SET 
>>> "changed" = datetime('now'), "vars" = 

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread Yassine Chaouche
also make sure your are editing config.php and not config.inc.php (which you 
pasted)

Yassine.

Le 23 novembre 2022 8:30:36 PM GMT+01:00, Yassine Chaouche 
 a écrit :
>good. we have established that the problem shouldn't be on dovecot's side. i 
>suspect roundcube is misconfigured or can't connect for some reason. I believe 
>someone mentioned SSL and TLS support problem in RC for a specific version? 
>can you try without? also can you paste RC config? 
>
>Yassine.
>


Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread colin



thanks for your reply - dovecot and roundcube are on the same server, 
and i am able to authenticate both a telnet and an openssl connection 
with manageseieve on that port from both the same machine and another 
machine, so i think that has to mean managesieve is listening, correct?


On 2022-11-23 04:09, Yassine Chaouche wrote:


hello Colin,

is anything listening on that port?
you might find lsof and netstat helpful.
also, if roundcube and dovecot are on different servers, you might want 
to check a network cnx to the managesieve port.

cnx refused often means nothing is listening or firewall is filtering.

Yassine.

Le 22 novembre 2022 6:03:08 PM GMT+01:00, co...@colinlikesfood.com a 
écrit :


Subject line says it all?  I am using Roundcube, and every time i 
click on "filters" i get RC's "unable to connect to server" message.


This might be an SQL error, but i can't figure out how to pull the 
relevant logs yet.  Please see below and any advice you have is so 
very appreciated


SYSLOG:
---
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: 
Connection refused (GET 
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not 
currently in AUTHORISATION state (GET 
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently 
connected (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: 
Connection refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently 
connected (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: 
Connection refused (POST 
/?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access 
array offset on value of type null in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 1065
Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently 
connected (POST /?_task=settings&_action=plugin.managesieve-save)


DOVECOT.LOG:
---
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 
LOGOUT
Nov 22 10:28:58 mail dovecot[8514]: 
imap(obfusca...@user.name)<8609>: Disconnected: 
Logged out in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 
hdr_bytes=0 body_count=0 body_bytes=0
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE 
Logging out
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK 
Logout completed (0.001 + 0.000 secs).
Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", 
"ip", "changed", datetime('now') AS ts, CASE WHEN "changed" < 
datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM 
"session" WHERE "sess_id" = 'keirks4pbepr17um9mvj1qsvt2';
Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM 
"users" WHERE "user_id" = '2';
Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" 
SET "changed" = datetime('now'), "vars" = 


'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjtOO3M6Njoic2hhcmVkIjtOO3M6MTA6InByZWZpeF9vdXQiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8czoxOiIvIjtpbWFwX2xpc3RfY29uZnxhOjI6e2k6MDtOO2k6MTthOjA6e319dXNlcl9pZHxpOjI7dXNlcm5hbWV8czoyNDoiY29saW5AY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX2hvc3R8czoxODoiY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX3BvcnR8aToxNDM7c3RvcmFnZV9zc2x8czozOiJ0bHMiO3Bhc3N3b3JkfHM6NDQ6ImNYOCt0VmJXV010VEMxRTlXQVB4ZjVOSlU1bWlKa2ZveC8xRWpuZVB2Ym89Ijtsb2dpbl90aW1lfGk6MTY2OTA2MzM4OTt0aW1lem9uZXxzOjE1OiJBbWVyaWNhL0NoaWNhZ28iO2F1dGhfc2VjcmV0fHM6MjY6ImNHdkc4ZWR5QmFmNWJITVpISG5sTEY3ZmpZIjtyZXF1ZXN0X3Rva2VufHM6MzI6IkM5VXlNNVBMUnhSeERiVm9HTlNMNjdVZ05NaWE4WVZGIjt0YXNrfHM6ODoic2V0dGluZ3MiO3NraW5fY29uZmlnfGE6Nzp7czoxNzoic3VwcG9ydGVkX2xheW91dHMiO2E6MTp7aTowO3M6MTA6IndpZGVzY3JlZW4iO31zOjIyOiJqcXVlcnlfdWlfY29sb3JzX3RoZW1lIjtzOjk6ImJvb3RzdHJhcCI7czoxODoiZW1iZWRfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7c

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-23 Thread Yassine Chaouche
hello Colin,

is anything listening on that port?
you might find lsof and netstat helpful.
also, if roundcube and dovecot are on different servers, you might want to  
check a network cnx to the managesieve port.
cnx refused often means nothing is listening or firewall is filtering.

Yassine.




Le 22 novembre 2022 6:03:08 PM GMT+01:00, co...@colinlikesfood.com a écrit :
>
>
>Subject line says it all?  I am using Roundcube, and every time i click on 
>"filters" i get RC's "unable to connect to server" message.
>
>This might be an SQL error, but i can't figure out how to pull the relevant 
>logs yet.  Please see below and any advice you have is so very appreciated
>
>SYSLOG:
>---
>Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Connection 
>refused (GET /index.php?_task=settings&_action=plugin.managesieve)
>Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to connect 
>to managesieve on obfuscated.domain:4190 in 
>/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
> on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
>Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not currently in 
>AUTHORISATION state (GET /index.php?_task=settings&_action=plugin.managesieve)
>Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently connected 
>(GET /index.php?_task=settings&_action=plugin.managesieve)
>Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Connection 
>refused (GET 
>/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to connect 
>to managesieve on obfuscated.domain:4190 in 
>/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
> on line 221 (GET 
>/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently connected 
>(GET 
>/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
>Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Connection 
>refused (POST /?_task=settings&_action=plugin.managesieve-save)
>Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to connect 
>to managesieve on obfuscated.domain:4190 in 
>/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
> on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
>Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access array 
>offset on value of type null in 
>/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
> on line 1065
>Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently connected 
>(POST /?_task=settings&_action=plugin.managesieve-save)
>
>DOVECOT.LOG:
>---
>Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 LOGOUT
>Nov 22 10:28:58 mail dovecot[8514]: 
>imap(obfusca...@user.name)<8609>: Disconnected: Logged out 
>in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 
>body_count=0 body_bytes=0
>Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE Logging out
>Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK Logout 
>completed (0.001 + 0.000 secs).
>Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", "ip", 
>"changed", datetime('now') AS ts, CASE WHEN "changed" < datetime('now', '-600 
>seconds') THEN 1 ELSE 0 END AS expired FROM "session" WHERE "sess_id" = 
>'keirks4pbepr17um9mvj1qsvt2';
>Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM "users" 
>WHERE "user_id" = '2';
>Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" SET 
>"changed" = datetime('now'), "vars" = 
>'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjtOO3M6Njoic2hhcmVkIjtOO3M6MTA6InByZWZpeF9vdXQiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8czoxOiIvIjtpbWFwX2xpc3RfY29uZnxhOjI6e2k6MDtOO2k6MTthOjA6e319dXNlcl9pZHxpOjI7dXNlcm5hbWV8czoyNDoiY29saW5AY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX2hvc3R8czoxODoiY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX3BvcnR8aToxNDM7c3RvcmFnZV9zc2x8czozOiJ0bHMiO3Bhc3N3b3JkfHM6NDQ6ImNYOCt0VmJXV010VEMxRTlXQVB4ZjVOSlU1bWlKa2ZveC8xRWpuZVB2Ym89Ijtsb2dpbl90aW1lfGk6MTY2OTA2MzM4OTt0aW1lem9uZXxzOjE1OiJBbWVyaWNhL0NoaWNhZ28iO2F1dGhfc2VjcmV0fHM6MjY6ImNHdkc4ZWR5QmFmNWJITVpISG5sTEY3ZmpZIjtyZXF1ZXN0X3Rva2VufHM6MzI6IkM5VXlNNVBMUnhSeERiVm9HTlNMNjdVZ05NaWE4WVZGIjt0YXNrfHM6ODoic2V0dGluZ3MiO3NraW5fY29uZmlnfGE6Nzp7czoxNzoic3VwcG9ydGVkX2xheW91dHMiO2E6MTp7aTowO3M6MTA6IndpZGVzY3JlZW4iO31zOjIyOiJqcXVlcnlfdWlfY29sb3JzX3RoZW1lIjtzOjk6ImJvb3RzdHJhcCI7czoxODoiZW1iZWRfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7c

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread colin



changing tls:// to ssl:// did not seem to have any effect:

Nov 22 15:02:44 mail roundcube[19803]:  [2] SELECT * FROM 
"users" WHERE "user_id" = '2';
Nov 22 15:02:44 mail roundcube[19803]:  PHP Error: Connection 
refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-forward)
Nov 22 15:02:44 mail roundcube[19803]:  PHP Error: Unable to 
connect to managesieve on domain.com:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET 
/index.php?_task=settings&_action=plugin.managesieve-forward)


On 2022-11-22 14:54, hi@zakaria.website wrote:


Change tl s:// to s sl://, it might work.

If didnt, RC dropped ss l support at some point and later returned it 
in master 1.6.


My recommendation it is upgrade to latest RC or refer to the 
managesieve s sl recent commit and apply the changes manually.


Zakaria.




Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread hi

Change tl s:// to s sl://, it might work.

If didnt, RC dropped ss l support at some point and later returned it in 
master 1.6.


My recommendation it is upgrade to latest RC or refer to the managesieve 
s sl recent commit and apply the changes manually.


Zakaria.



Re: Bad Signature - Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread hi

On 2022-11-22 17:00, co...@colinlikesfood.com wrote:

Subject line says it all?  I am using Roundcube, and every time i
click on "filters" i get RC's "unable to connect to server" message.

This might be an SQL error, but i can't figure out how to pull the
relevant logs yet.  Please see below and any advice you have is so
very appreciated

SYSLOG:
---
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error:
Connection refused (GET
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to
connect to managesieve on obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not
currently in AUTHORISATION state (GET
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently
connected (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error:
Connection refused (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to
connect to managesieve on obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently
connected (GET
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error:
Connection refused (POST
/?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to
connect to managesieve on obfuscated.domain:4190 in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access
array offset on value of type null in
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
on line 1065
Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently
connected (POST /?_task=settings&_action=plugin.managesieve-save)

DOVECOT.LOG:
---
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008
LOGOUT
Nov 22 10:28:58 mail dovecot[8514]:
imap(obfusca...@user.name)<8609>: Disconnected:
Logged out in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0
hdr_bytes=0 body_count=0 body_bytes=0
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE
Logging out
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK
Logout completed (0.001 + 0.000 secs).
Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars",
"ip", "changed", datetime('now') AS ts, CASE WHEN "changed" <
datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM
"session" WHERE "sess_id" = 'keirks4pbepr17um9mvj1qsvt2';
Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM
"users" WHERE "user_id" = '2';
Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session"
SET "changed" = datetime('now'), "vars" =


'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjtOO3M6Njoic2hhcmVkIjtOO3M6MTA6InByZWZpeF9vdXQiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8czoxOiIvIjtpbWFwX2xpc3RfY29uZnxhOjI6e2k6MDtOO2k6MTthOjA6e319dXNlcl9pZHxpOjI7dXNlcm5hbWV8czoyNDoiY29saW5AY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX2hvc3R8czoxODoiY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX3BvcnR8aToxNDM7c3RvcmFnZV9zc2x8czozOiJ0bHMiO3Bhc3N3b3JkfHM6NDQ6ImNYOCt0VmJXV010VEMxRTlXQVB4ZjVOSlU1bWlKa2ZveC8xRWpuZVB2Ym89Ijtsb2dpbl90aW1lfGk6MTY2OTA2MzM4OTt0aW1lem9uZXxzOjE1OiJBbWVyaWNhL0NoaWNhZ28iO2F1dGhfc2VjcmV0fHM6MjY6ImNHdkc4ZWR5QmFmNWJITVpISG5sTEY3ZmpZIjtyZXF1ZXN0X3Rva2VufHM6MzI6IkM5VXlNNVBMUnhSeERiVm9HTlNMNjdVZ05NaWE4WVZGIjt0YXNrfHM6ODoic2V0dGluZ3MiO3NraW5fY29uZmlnfGE6Nzp7czoxNzoic3VwcG9ydGVkX2xheW91dHMiO2E6MTp7aTowO3M6MTA6IndpZGVzY3JlZW4iO31zOjIyOiJqcXVlcnlfdWlfY29sb3JzX3RoZW1lIjtzOjk6ImJvb3RzdHJhcCI7czoxODoiZW1iZWRfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7c

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread colin



i believe i have all but  $config['managesieve_default'] = '', i will 
have to look that one up


roundcube config.inc.php:

$config['db_dsnw'] = 
'sqlite:usr/local/sqlite/roundcube.sql?mode=0646';

$config['log_driver'] = 'syslog';
$config['syslog_facility'] = LOG_LOCAL1;
$config['imap_host'] = 'tls://obfuscated.comain.com';
$config['smtp_host'] = 'tls://obfuscated.comain.com';
$config['smtp_port'] = 10025;
$config['support_url'] = 'mailto:ad...@obfuscated.comain.com';
$config['ip_check'] = true;
$config['product_name'] = 'My Mail';
$config['identities_level'] = 3;
$config['drafts_mbox'] = 'INBOX.Drafts';
$config['sent_mbox'] = 'INBOX.Sent';
$config['junk_mbox'] = 'INBOX.Junk';
$config['trash_mbox'] = 'INBOX.Deleted';
$config['default_folders'] = array('INBOX', 'INBOX.Drafts', 
'INBOX.Sent', 'INBOX.Junk', 'INBOX.Deleted');

$config['create_default_folders'] = true;
$config['protect_default_folders'] = true;
$config['show_real_foldernames'] = false;
$config['enable_spellcheck'] = true;
$config['draft_autosave'] = 1;
$config['mime_param_folding'] = 0;
$config['mdn_requests'] = 2;
$config['login_lc'] = 0;
$config['default_charset'] = 'UTF-8';
$config['password_charset'] = 'UTF-8';
$config['mime_types'] = '/usr/local/etc/apache24/mime.types';
$config['plugins'] = array('managesieve','emoticons');
$config['cipher_method'] = 'AES-256-CBC';
$config['des_key'] = 'xxx';
$config['managesieve_port'] = 4190;
$config['managesieve_auth_type'] = 'cram-md5';
$config['managesieve_host'] = 'tls://obfuscated.comain.com';
$config['managesieve_usetls'] = true;
$config['managesieve_vacation'] = 1;
$config['managesieve_forward'] = 1;

$config['managesieve_debug'] = true;
$config['debug_level'] = 1;
$config['sql_debug'] = true;
$config['imap_debug'] = true;
$config['ldap_debug'] = true;
$config['smtp_debug'] = true;

On 2022-11-22 11:23, dove...@ptld.com wrote:

Subject line says it all?  I am using Roundcube, and every time i 
click on "filters" i get RC's "unable to connect to server" message.


Did you edit the plugin config for your setup or are you just using 
defaults?

For example:

$config['managesieve_host'] = 'localhost:4190';
$config['managesieve_auth_type'] = 'PLAIN';
$config['managesieve_default'] = '';




Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread PGNet Dev



 Original Message 
From: justina colmena ~biz [mailto:just...@colmena.biz]
Sent: Tuesday, November 22, 2022 at 12:44 PM EST
To: 
Subject: Can't figure out why managesieve (pigeonhole) can't connect


On Tuesday, November 22, 2022 8:25:19 AM AKST, PGNet Dev wrote:

first, confirm that you can connect/authenticate to Dovecot's managesieve 
server without Roundcube in the picture.

e.g., show the output of a successful 'openssl s_client ...' sieve 
authentication session

Subject line says it all?  I am using Roundcube, and every 


I don't like the sounds of this discussion at all, and it's not because I don't want it 
to take place or because I don't want to be aware of it. "Security first" is 
and ought to be the absolute rule, but there's a pernicious kid sister attitude of 
«fausse naïveté» showing up everywhere with everything email-related.

Filtering and sieving are absolute necessities, too, for obvious reasons, but 
these authentication issues with half-baked development and here-be-dragons 
code showing up in official releases are very alarming.

We need to build much stronger defenses for our email online against nation-state political spammers as 
well as aggressive drug cartels promoting and compelling unethical & illegal "products" 
and "services" online.



huh?


Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread justina colmena ~biz

On Tuesday, November 22, 2022 8:25:19 AM AKST, PGNet Dev wrote:
first, confirm that you can connect/authenticate to Dovecot's 
managesieve server without Roundcube in the picture.


e.g., show the output of a successful 'openssl s_client ...' 
sieve authentication session


Subject line says it all?  I am using Roundcube, and every 


I don't like the sounds of this discussion at all, and it's not because I 
don't want it to take place or because I don't want to be aware of it. 
"Security first" is and ought to be the absolute rule, but there's a 
pernicious kid sister attitude of «fausse naïveté» showing up everywhere 
with everything email-related.


Filtering and sieving are absolute necessities, too, for obvious reasons, 
but these authentication issues with half-baked development and 
here-be-dragons code showing up in official releases are very alarming.


We need to build much stronger defenses for our email online against 
nation-state political spammers as well as aggressive drug cartels 
promoting and compelling unethical & illegal "products" and "services" 
online.


Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread PGNet Dev

first, confirm that you can connect/authenticate to Dovecot's managesieve 
server without Roundcube in the picture.

e.g., show the output of a successful 'openssl s_client ...' sieve 
authentication session


Subject line says it all?  I am using Roundcube, and every time i click on "filters" i 
get RC's "unable to connect to server" message.

This might be an SQL error, but i can't figure out how to pull the relevant 
logs yet.  Please see below and any advice you have is so very appreciated

SYSLOG:
---
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Connection refused 
(GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to connect to 
managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 
221 (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not currently in 
AUTHORISATION state (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently connected (GET 
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Connection refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to connect to 
managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 221 
(GET /index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently connected (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Connection refused 
(POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to connect to 
managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 
221 (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access array 
offset on value of type null in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
 on line 1065
Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently connected 
(POST /?_task=settings&_action=plugin.managesieve-save)


DOVECOT.LOG:
---
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 LOGOUT
Nov 22 10:28:58 mail dovecot[8514]: 
imap(obfusca...@user.name)<8609>: Disconnected: Logged out 
in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 
body_bytes=0
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE Logging out
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK Logout 
completed (0.001 + 0.000 secs).
Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", "ip", "changed", datetime('now') AS ts, 
CASE WHEN "changed" < datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM "session" WHERE "sess_id" = 
'keirks4pbepr17um9mvj1qsvt2';
Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM "users" WHERE 
"user_id" = '2';
Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" SET "changed" = datetime('now'), "vars" = 

Re: Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread dovecot

Subject line says it all?  I am using Roundcube, and every time i click on "filters" i 
get RC's "unable to connect to server" message.



Did you edit the plugin config for your setup or are you just using defaults?
For example:

$config['managesieve_host'] = 'localhost:4190';
$config['managesieve_auth_type'] = 'PLAIN';
$config['managesieve_default'] = '';



Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread colin



Subject line says it all?  I am using Roundcube, and every time i click 
on "filters" i get RC's "unable to connect to server" message.


This might be an SQL error, but i can't figure out how to pull the 
relevant logs yet.  Please see below and any advice you have is so very 
appreciated


SYSLOG:
---
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Connection 
refused (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not 
currently in AUTHORISATION state (GET 
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently 
connected (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Connection 
refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently 
connected (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Connection 
refused (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access 
array offset on value of type null in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 1065
Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently 
connected (POST /?_task=settings&_action=plugin.managesieve-save)


DOVECOT.LOG:
---
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 LOGOUT
Nov 22 10:28:58 mail dovecot[8514]: 
imap(obfusca...@user.name)<8609>: Disconnected: Logged 
out in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 
hdr_bytes=0 body_count=0 body_bytes=0
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE 
Logging out
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK 
Logout completed (0.001 + 0.000 secs).
Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", 
"ip", "changed", datetime('now') AS ts, CASE WHEN "changed" < 
datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM 
"session" WHERE "sess_id" = 'keirks4pbepr17um9mvj1qsvt2';
Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM 
"users" WHERE "user_id" = '2';
Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" 
SET "changed" = datetime('now'), "vars" = 
'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjtOO3M6Njoic2hhcmVkIjtOO3M6MTA6InByZWZpeF9vdXQiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8czoxOiIvIjtpbWFwX2xpc3RfY29uZnxhOjI6e2k6MDtOO2k6MTthOjA6e319dXNlcl9pZHxpOjI7dXNlcm5hbWV8czoyNDoiY29saW5AY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX2hvc3R8czoxODoiY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX3BvcnR8aToxNDM7c3RvcmFnZV9zc2x8czozOiJ0bHMiO3Bhc3N3b3JkfHM6NDQ6ImNYOCt0VmJXV010VEMxRTlXQVB4ZjVOSlU1bWlKa2ZveC8xRWpuZVB2Ym89Ijtsb2dpbl90aW1lfGk6MTY2OTA2MzM4OTt0aW1lem9uZXxzOjE1OiJBbWVyaWNhL0NoaWNhZ28iO2F1dGhfc2VjcmV0fHM6MjY6ImNHdkc4ZWR5QmFmNWJITVpISG5sTEY3ZmpZIjtyZXF1ZXN0X3Rva2VufHM6MzI6IkM5VXlNNVBMUnhSeERiVm9HTlNMNjdVZ05NaWE4WVZGIjt0YXNrfHM6ODoic2V0dGluZ3MiO3NraW5fY29uZmlnfGE6Nzp7czoxNzoic3VwcG9ydGVkX2xheW91dHMiO2E6MTp7aTowO3M6MTA6IndpZGVzY3JlZW4iO31zOjIyOiJqcXVlcnlfdWlfY29sb3JzX3RoZW1lIjtzOjk6ImJvb3RzdHJhcCI7czoxODoiZW1iZWRfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7c


Can't figure out why managesieve (pigeonhole) can't connect

2022-11-22 Thread colin



Subject line says it all?  I am using Roundcube, and every time i click 
on "filters" i get RC's "unable to connect to server" message.


This might be an SQL error, but i can't figure out how to pull the 
relevant logs yet.  Please see below and any advice you have is so very 
appreciated


SYSLOG:
---
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Connection 
refused (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail roundcube[66295]:  PHP Error: Not 
currently in AUTHORISATION state (GET 
/index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:27 mail php[66295]:  PHP Error: Not currently 
connected (GET /index.php?_task=settings&_action=plugin.managesieve)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Connection 
refused (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail roundcube[66295]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:31 mail php[66295]:  PHP Error: Not currently 
connected (GET 
/index.php?_task=settings&_action=plugin.managesieve-action&_framed=1&_nav=hide)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Connection 
refused (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]:  PHP Error: Unable to 
connect to managesieve on obfuscated.domain:4190 in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 221 (POST /?_task=settings&_action=plugin.managesieve-save)
Nov 22 10:29:43 mail roundcube[71055]: PHP Warning:  Trying to access 
array offset on value of type null in 
/usr/local/www/roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 
on line 1065
Nov 22 10:29:43 mail php[71055]:  PHP Error: Not currently 
connected (POST /?_task=settings&_action=plugin.managesieve-save)


DOVECOT.LOG:
---
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] C: A0008 LOGOUT
Nov 22 10:28:58 mail dovecot[8514]: 
imap(obfusca...@user.name)<8609>: Disconnected: Logged 
out in=219 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 
hdr_bytes=0 body_count=0 body_bytes=0
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: * BYE 
Logging out
Nov 22 10:28:58 mail roundcube[66297]:  [43CD] S: A0008 OK 
Logout completed (0.001 + 0.000 secs).
Nov 22 10:29:25 mail roundcube[66295]:  [1] SELECT "vars", 
"ip", "changed", datetime('now') AS ts, CASE WHEN "changed" < 
datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM 
"session" WHERE "sess_id" = 'keirks4pbepr17um9mvj1qsvt2';
Nov 22 10:29:25 mail roundcube[66295]:  [2] SELECT * FROM 
"users" WHERE "user_id" = '2';
Nov 22 10:29:25 mail roundcube[66295]:  [3] UPDATE "session" 
SET "changed" = datetime('now'), "vars" = 
'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjtOO3M6Njoic2hhcmVkIjtOO3M6MTA6InByZWZpeF9vdXQiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8czoxOiIvIjtpbWFwX2xpc3RfY29uZnxhOjI6e2k6MDtOO2k6MTthOjA6e319dXNlcl9pZHxpOjI7dXNlcm5hbWV8czoyNDoiY29saW5AY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX2hvc3R8czoxODoiY29saW5saWtlc2Zvb2QuY29tIjtzdG9yYWdlX3BvcnR8aToxNDM7c3RvcmFnZV9zc2x8czozOiJ0bHMiO3Bhc3N3b3JkfHM6NDQ6ImNYOCt0VmJXV010VEMxRTlXQVB4ZjVOSlU1bWlKa2ZveC8xRWpuZVB2Ym89Ijtsb2dpbl90aW1lfGk6MTY2OTA2MzM4OTt0aW1lem9uZXxzOjE1OiJBbWVyaWNhL0NoaWNhZ28iO2F1dGhfc2VjcmV0fHM6MjY6ImNHdkc4ZWR5QmFmNWJITVpISG5sTEY3ZmpZIjtyZXF1ZXN0X3Rva2VufHM6MzI6IkM5VXlNNVBMUnhSeERiVm9HTlNMNjdVZ05NaWE4WVZGIjt0YXNrfHM6ODoic2V0dGluZ3MiO3NraW5fY29uZmlnfGE6Nzp7czoxNzoic3VwcG9ydGVkX2xheW91dHMiO2E6MTp7aTowO3M6MTA6IndpZGVzY3JlZW4iO31zOjIyOiJqcXVlcnlfdWlfY29sb3JzX3RoZW1lIjtzOjk6ImJvb3RzdHJhcCI7czoxODoiZW1iZWRfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7c