Roundcube Community Forum

 

vacation setup

Started by robi, September 27, 2017, 07:00:38 PM

Previous topic - Next topic

robi

Hi all.

I'm trying to setup a vacation message in roundcube, but I'm having a hard time..
I set up in settings-->filters a new filter for all messages with a reply message..
On the server, in my home, I see the symlink .dovecot.sieve that point with a file with content:

cat sieve/roundcube.sieve
require ["vacation"];
# rule:[vacanza]
if true
{
        vacation :addresses "robi@hidden" "blan blah blah asdf";
}

so.. apparently roundcube creates files accordingly to my filters..

The problem is that when new mail arrive, nothing happes.. there are no replies to the sender.. and in the mail server logs, I see nothing at all.. from roundcube.. only the incoming email..

My env:
Ubuntu 16.04 LTS
roundcube (from distribution) 1.2-beta

in  /etc/roundcube/config.inc.php I have:

$config['plugins'] = array(
'archive',
'zipdownload',
'managesieve',
);

in /etc/roundcube/plugins/managesieve/config.inc.php I have:
$config['managesieve_port'] = 4190;
$config['managesieve_auth_type'] = PLAIN;
$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'] = true;
$config['managesieve_kolab_master'] = false;
$config['managesieve_filename_extension'] = '.sieve';
$config['managesieve_filename_exceptions'] = array();
$config['managesieve_domains'] = array();
$config['managesieve_vacation'] = 0;
$config['managesieve_vacation_interval'] = 0;
$config['managesieve_vacation_addresses_init'] = false;
$config['managesieve_notify_methods'] = array('mailto');

Any hints?
Thank you and best regards.
Robi

SKaero

Roundcube doesn't send the vacation email so you'll need to look at the mail server logs and setting to figure out why the email isn't being sent.

robi

Hi.
Ok. I already said there's nothing in the mail logs (mail.log and mail.err). So, what should trigger the autorespond functionality?
The mail server is setup with postfix, amavisd-new, dovecot, spamassassin, antivirus, etc etc..
I guess that upon email arrival, after successful delivery to the user's mailbox, postfix or amavisd-new, should read the user's .dovecot.sieve (generated when creating/modifying filters in roundcube) and evenctually call the vacation program..
If I use the vacation program to configure the autoresponder, it generate the .forward, .vacation.db and .vacation.msg files, and when a mail arrives for that user, an out-of-office email goes out..
What am I missing?
Thank you and best regards.
Robi

SKaero

You need to configure something to read the .sieve file for Dovecot typically ManageSieve is used: https://wiki2.dovecot.org/Pigeonhole/ManageSieve

robi

Hello.
I understand this is not a roundcube problem, so I posted my question to the dovecot mailing list, hoping that is the right place. :-)
Thank you anyways.
Robi