[exim] Re: [postmaster@hazenmanagement.ca: Undeliverable: Cl…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: [exim] Re: [postmaster@hazenmanagement.ca: Undeliverable: Cleandry]
On 02/05/2024 03:38, Thomas Krichel via Exim-users wrote:
>    I have been wondering if there an exim filter or configuration
>    snippet that could, say for a set email-to addressrepec@???,
>    first spam filter, if not spam, take the from: field, make this the
>    reply-to, replace the original from field with say
>    forward@???  and then remail to a couple of addresses.


SPF cares about the envelope-from for a message.
An Exim transport can be configured to replace the existing
envelope-from by using the "return_path" option.

The From: header is distinct from the envelope-from in
a message. SPF only cares about it for bounces (when the
envelope-from is empty).

The "headers_remove" and "headers_add" options are generic for both
routers and transports, and transports also have "headers_rewrite".

Your existing router that handles the forwarding
is already changing the envelope-to.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/