Good people please help with some advice. I wanted to be able to filter mail in the background, i.e. when a mail client like Thunderbird is not running. For that I installed RoundCube on top of my instance of MailCow as there seem to be no other options. RoundCube works impeccably - fast and smooth. Yet, the simple test filters I set up don’t work.
This is my RC configuration:
<?php
$config['db_dsnw'] = 'mysql://roundcube:Sn5WbKHAkAaegmp0J03OW0I1b0gu@mysql/roundcubemail';
$config['imap_host'] = 'dovecot:143';
$config['smtp_host'] = 'postfix:588';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['support_url'] = '';
$config['product_name'] = 'Roundcube Webmail';
$config['cipher_method'] = 'chacha20-poly1305';
$config['des_key'] = 'KPEwMZt63~O{nd$Go>.92x|)uF01}TXB';
$config['plugins'] = [
'archive',
'managesieve',
'acl',
'markasjunk',
'zipdownload',
'password',
'dovecot_impersonate'
];
$config['spellcheck_engine'] = 'aspell';
$config['mime_types'] = '/web/rc/config/mime.types';
$config['enable_installer'] = false;
$config['managesieve_host'] = 'dovecot:4190';
$config['managesieve_mbox_encoding'] = 'UTF-8';
// Enables separate management interface for vacation responses (out-of-office)
// 0 - no separate section (default); 1 - add Vacation section; 2 - add Vacation section, but hide Filters section
$config['managesieve_vacation'] = 1;
I also see that the filters I made are present in the form of a binary .svbin file in /data/mailcow/vmail/sieve
.
While trying to find the cause of the issue I dug out the Sieve Script Editor application which works as expected and connects to Sieve on port 4190 without problem and it detects that RC is installed and even allows to deactivate it.
When I click edit button in the script editor it opens the window with all filters which I set up in RoundCube. The mailbox I want to be able to filter has Sieve enabled as a protocol. So, on the surface things look like filtering should work, but it does not.
Any suggestion where to look further or what else may be the culprit? Do I have all required RC plugins enabled?
Thanks very much