1

Topic: Roundcube filters syntax (managesieve)

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.6
- Linux/BSD distribution name and version: centos-release-5-6.el5.centos.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: #
====

Hello. I'm trying to filter out using Roundcube filters all messages with in header "us (unknown". Example below:

    Thu, 11 May 2017 15:12:12 +0200 (CEST)
Received: from mandate.prayj.us (unknown [50.2.184.59])

I tried putting in Roundcube filters:

... | header | match regex | \.us \(unknown
... | header | contains | .us (unknown
... | Received | match regex | \.us \(unknown
... | Received | contains | .us (unknown

but none of the above seems to work. Someone can address me about the correct syntax and the correct part (header/Received/whatelse) to be used?

Thanks for the info.

----

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

2

Re: Roundcube filters syntax (managesieve)

Try some more testing smile

Maybe use a simple word for testing first, no escape string required. this will help you understand whether the sieve rule itself is correct.