On Wed, Jun 08, 2022 at 02:50:35PM +0200, Jaroslaw Rafa wrote: > 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. > > 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.
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 -- Viktor.