1

Topic: Roundcube - managesieve: filter rules missing "Subject, From, To"

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.5
- Deployed with iRedMail downloadable installer
- Linux/BSD distribution name and version: ubuntu 22.04.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
on a fresh installation it is not possible to select the Rules criteria "Subject, From, To" in Roundcube because they are missing (should be above three dots) in drop down list; pls check pciture here.

Any confirmation or hints for me?

Post's attachments

Screenshot from 2023-10-19 23-12-43.png
Screenshot from 2023-10-19 23-12-43.png 22.79 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Bronko 2023-10-22 05:49:50)

Re: Roundcube - managesieve: filter rules missing "Subject, From, To"

Ok, these code in iRedMail script:

perl -pi -e 's#(.*managesieve_default.*=).*#${1} "";#' config.inc.php

will set non default from dist file to /opt/www/roundcubemail/plugins/managesieve/config.inc.php:

$config['managesieve_default'] = "";

but these too:

$config['managesieve_default_headers'] = "";

We should keep:

$config['managesieve_default_headers'] = ['Subject', 'From', 'To'];

(roundcube added some code to avoid such values break the selector)

3

Re: Roundcube - managesieve: filter rules missing "Subject, From, To"

can you make a github bugreport and pull request?

4

Re: Roundcube - managesieve: filter rules missing "Subject, From, To"

Done