redirect
Explanation:
The redirect action in a Sieve filter forwards a message to another email address without changing the message. The redirect action takes a single argument, which is the email address to forward the message to.
The syntax of the redirect action is as follows:
redirect "email_address";
The redirect action does not affect the delivery of the message to the original recipient, unless the stop or keep actions are used. The redirect action can be combined with other actions or tests to create more complex filters. For example, the following Sieve filter will forward any messages from Alice to Bob, and then stop processing the rest of the script:
require "fileinto"; if address :is "from" "
[email protected]" { redirect "
[email protected]"; stop; } References:
LPIC-2 Exam 202 Objectives, Objective 205.4: Managing a dovecot server
Sieve filter (advanced custom filters) | Proton, Proton Mail Support
Sieve: An Email Filtering Language, RFC 5228
Sieve Email Filtering | Tiger Technologies Support, Tiger Technologies Support
[Sieve: A Mail Filtering Language], Sieve.Info