1

Topic: Redirect mail (by subject/from) to another mailbox/mail alias

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.60
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Rocky Linux 8.6
- 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.
====

Greetings.
I'd like to check how to do email redirect to different inbox
either using
a) email from
b) subject
to different email alias/inbox.

Suggestions very much welcome and appreciated.

BR

----

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

2

Re: Redirect mail (by subject/from) to another mailbox/mail alias

can only be done by sieve filters:

require ["redirect"];

if address :is "from" "email1@email1.com"
{
redirect "email2@email2.com"
}

3

Re: Redirect mail (by subject/from) to another mailbox/mail alias

Hi all,

Thank you for your response.
Is there a pointer to use sievec under iredmail environment for global sieve rule compilation?

Usage: sievec  [-c <config-file>] [-d] [-D] [-P <plugin>] [-x <extensions>]
              <script-file> [<out-file>]

There is a "-c config-file" option and which config file I should point to?

Thank you.

4

Re: Redirect mail (by subject/from) to another mailbox/mail alias

https://docs.iredmail.org/move.detected … older.html