Topic: Roundcube filters, check_sender_access and header_checks do not work
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.81
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: OpenBSD 7.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====
Hello all,
First, i set filter in Roundcube. The filter looks OK, I also have it in managesieve.sieve.
What I want to achieve is to block some senders (testing with my gmail account) with no success.
Here is managesieve.sieve content for this mail:
require ["reject"];
# rule:[delete]
if allof (header :is "from" "maymail@gmail.com")
{
reject "YOUR MAIL IS SPAM";
discard;
stop;
}
Then I try to achieve the same goal via check_sender_access and header_checks without success.
I will appreciate your help to resolve these issues.
Thanks,
Ivo
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.