Managesieve unable to connect to server when trying to install Roundcube autoresponder with Dovecot on Ubuntu

You have to configure managesieve server from the dovecot bundle:

---- dovecot.conf -----
. . . . . 
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count         = 1
  process_min_avail     = 1
}
. . . . .