Topic: Sieve Filtering
I am trying to get Sieve Filtering working to give me the ability to forward and prepend the Subject line. This requires the editheader capability. Moving messages to different folders works.
I can test the configuration using telnet, but I get two different answers, one when not logged in and another when I log in, and of course, it is not working when messages come in. Here is what I mean:- you can see editheader is shown by default, but after logging on it disappears.
telnet 127.0.0.1 4190
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext editheader"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
AUTHENTICATE "PLAIN" {44}
AGdhcnlAYmVubmVyLmNvLm56AG1hazM0dGhlSGlsbCQ=
OK "Logged in."
capability
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext"
"MAXREDIRECTS" "30"
"NOTIFY" "mailto"
"VERSION" "1.0"
OK "Capability completed."
I started using generic configuration guidelines, but managed to work out the the /etc/dovecot/conf.d folder was not used in iRedMail, so have placed configurations in /etc/dovecot.conf:
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext editheader
sieve_global_extensions = +editheader
sieve_extensions = +editheader
Any ideas?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: centos 7.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.