[pfx] smtp_header_checks and opendkim

2023-11-18 Thread Danil Smirnov via Postfix-users
Hi all, I want to manipulate the headers (add and replace) of the outgoing mail before the message is signed by Opendkim. If using smtp_header_checks I see that the signature is broken - probably because Opendkim has signed the message earlier in the pipeline. The signing is configured via the fo

[pfx] Re: how to rewrite domain on the fly before relaying

2023-08-31 Thread Danil Smirnov via Postfix-users
Thank you, Viktor! After adding "virtual_alias_domains=domain2.tld" it works as expected. Sincerely, Danil Smirnov On Thu, Aug 31, 2023 at 9:58 AM Viktor Dukhovni via Postfix-users < postfix-users@postfix.org> wrote: > On Thu, Aug 31, 2023 at 07:53:03AM +0200, Jaroslaw Rafa via Postfix-users >

[pfx] Re: how to rewrite domain on the fly before relaying

2023-08-30 Thread Danil Smirnov via Postfix-users
Hi Wietse, Thank you for your response! On Wed, Aug 30, 2023 at 8:07 PM Wietse Venema via Postfix-users < postfix-users@postfix.org> wrote: > This is one of the purposes of virtual_alias_maps. > I tried this first - I've added "@domain2.tld @domain1.tld" to my virtual_alias_maps source file but

[pfx] how to rewrite domain on the fly before relaying

2023-08-30 Thread Danil Smirnov via Postfix-users
Hi, I have a Postfix server that serves domain1.tld using transport_maps, local_recipient_maps, and relay_domains parameters in order to relay all incoming emails to the local LMPT listener. Now I want to receive emails @domain2.tld in the same Postfix server and rewrite them all to domain1.tld B