Release Support > Requests

Vacation out of office issue

(1/3) > >>

vigneshk:
Hi team,

i have certain doubts to be clarified before i paste out the errors.

Server 1 : ubuntu 14.04

Roundcube client 1.3.9 is installed in server 1.

I have configured this client with my mail server and able to login.

When i try to connect to manageseive  , the filters options in settings page i receive an error .

The manageseive settings host i have provided as 'localhost' and port 4190 and i am able to telnet.

My question here is will out of office option i.e manageseive filter option work here in server 1 or do i have to enable the same dovecot in my mailserver and connect to it?

JohnDoh:
typically the managesieve server would be on the same host as your imap server or MDA. the idea is the filters are executed on the server side. that way they work whether you are logged into rc or not.

vigneshk:
So no matter where ever we setup the Roundcube client the mail server which we are configuring has to have managesieve running ?

JohnDoh:
Managesieve is only the name of service which provides the ability for clients to edit the sieve files so I guess as long as your MDA can read those sieve files it doesn't actually matter which server managesieve runs on. But typically yes, it runs on the IMAP server.

vigneshk:
i am trying to run the manageseive on server 1 where the roundcube is installed , it is running but i get unable to connect to server error.

dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-50-generic x86_64 Ubuntu 18.04.2 LTS
auth_mechanisms = login plain
disable_plaintext_auth = no
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
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 index ihave duplicate mime foreverypart extracttext
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 = pam
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/lib/dovecot/sieve/
  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
}
protocols = " lmtp sieve"
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key =  # hidden, use -P to show it
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = " sieve"
}

TELNET also works so the port is open :

telnet 127.0.0.1 4190
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot (Ubuntu) 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" "LOGIN PLAIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot (Ubuntu) ready."

Managesieve config file:

 $config['managesieve_port'] = '4190';
 $config['managesieve_host'] = '127.0.0.1';
 $config['managesieve_auth_type'] = 'plain';
 $config['managesieve_auth_pw'] = null;
 $config['managesieve_auth_cid'] = null;
 $config['managesieve_usetls'] = false;
$config['managesieve_conn_options'] = null;


I have tried with tls and also enabling ssl array verify the peer true / false / allowing only self signed nothing worked.

Seive Log:

  <9v7qlt66> S: "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"
 <9v7qlt66> S: "NOTIFY" "mailto"
 <9v7qlt66> S: "SASL" "LOGIN PLAIN"
 <9v7qlt66> S: "STARTTLS"
 <9v7qlt66> S: "VERSION" "1.0"
 <9v7qlt66> S: OK "Dovecot (Ubuntu) ready."
 <9v7qlt66> C: AUTHENTICATE "PLAIN" "AHZpZ25lc2hrQHZ0aWdyZXNzLmNvbQB2aWduZXNoQDEyMw=="
 <9v7qlt66> S: NO "Authentication failed."
 <9v7qlt66> C: LOGOUT
 <9v7qlt66> S: OK "Logout completed."

Roundcube Error :

 <9v7qlt66> PHP Error: Unable to connect to managesieve on 127.0.0.1:4190 in /var/www/html/roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 222 (GET /roundcubemail/?_task=settings&_action=plugin.managesieve)
 ERROR: Not currently in AUTHORISATION state (1)

Can i get some clarity from the above i have enabled seive logs either.
Have been trying this since long not able to find a solution for this.

Navigation

[0] Message Index

[#] Next page

Go to full version