Author Topic: vacation setup  (Read 6909 times)

Offline robi

  • Newbie
  • *
  • Posts: 3
vacation setup
« on: September 27, 2017, 07:00:38 PM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: vacation setup
« Reply #1 on: September 27, 2017, 11:09:21 PM »
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.

Offline robi

  • Newbie
  • *
  • Posts: 3
Re: vacation setup
« Reply #2 on: September 29, 2017, 04:36:59 PM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: vacation setup
« Reply #3 on: September 29, 2017, 10:18:07 PM »
You need to configure something to read the .sieve file for Dovecot typically ManageSieve is used: https://wiki2.dovecot.org/Pigeonhole/ManageSieve

Offline robi

  • Newbie
  • *
  • Posts: 3
Re: vacation setup
« Reply #4 on: October 01, 2017, 06:15:41 AM »
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