Dnia  8.06.2022 o godz. 17:34:19 an...@ursc.gov.in pisze:
> But, header_checks allows to check the receipent address, but we
> can only rewrite the recipient address (which does'nt meet our
> requirement).
>
> Is there any other simple way to achive the requirement.

On Wed, Jun 08, 2022 at 02:50:35PM +0200, Jaroslaw Rafa wrote:
The most "canonical" method to do such changes is via milter.
You can create a milter that will change the Subject: header appropriately
when it detects the old domain in the recipient address.

On 08.06.22 09:06, Viktor Dukhovni wrote:
Correct, with the additional details that:

   - The recipient addresses in question should be *envelope*, not
     header recipients.

   - The milter should be applied only to inbound email, not
     outbound submission

I'd add that amavis with altermime should support that

It's the same logic as adding "mail received from outside" disclaimer to incoming mail for which instructions exist and should be useful

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest.

Reply via email to