Topic: Problem with Roundcube Filters
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Linux
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hello, first of all i want to say thank for good product.
I have a fresh installed server and a coupe off accounts. I need to send copy of outgoing message to specified address.
For example if user1@myserver.com send message to johndoo@gmail.com copy this message to user2@myserver.com
i setup roundcube filters.
require ["copy"];
# rule:[copy message]
if allof (header :contains "from" "user1@myserver.com", header :contains "to" "johndoo@gmail.com")
{
redirect :copy "user2@myserver.com";
stop;
}
and i don't receive copy of this message.
I try to setup another filter for incoming message
# rule:[copy2]
if allof (header :contains "from" "johndoo@gmail.com", header :contains "to" "user1@myserver.com")
{
redirect :copy "user2@myserver.com";
}
i receive copy.
What i'm doing wrong ?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.