[pfx] Re: Subject modification based on recipient

2023-04-28 Thread Peter via Postfix-users
On 28/04/23 21:19, Andreas Cieslak via Postfix-users wrote: Why are To and From replaced in the header but not the subject? Am I perhaps missing the right expression here and could someone give me some advice? Or is there really no way around Mailmunge or MimeDefang etc.? Any hints would be app

[pfx] Re: Subject modification based on recipient

2023-04-28 Thread Andreas Cieslak via Postfix-users
Thanks for your replies. Meanwhile i have tested with some simple replacements in header checks. /email@office/ REPLACE From: Office /email@hospital/ REPLACE From: Hospital With the above, the replacement works fine for multiple lines. Here are the logs: Apr 28 10:40:10 server postfix/smtpd[48572

[pfx] Re: Subject modification based on recipient

2023-04-26 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Andreas Cieslak via Postfix-users: > > Hi list, > > > > i want to achieve that my postfix relay will modify the subject based on > > the recipients. > > The postfiy relay is receiving email from other internal systems and > > forwards all mail to a mail group (te

[pfx] Re: Subject modification based on recipient

2023-04-26 Thread Wietse Venema via Postfix-users
Andreas Cieslak via Postfix-users: > Hi list, > > i want to achieve that my postfix relay will modify the subject based on > the recipients. > The postfiy relay is receiving email from other internal systems and > forwards all mail to a mail group (testgroup) on another internal mail > system. Su

[pfx] Re: Subject modification based on recipient

2023-04-26 Thread Bill Cole via Postfix-users
On 2023-04-26 at 10:07:09 UTC-0400 (Wed, 26 Apr 2023 16:07:09 +0200) Andreas Cieslak via Postfix-users is rumored to have said: Hi list, i want to achieve that my postfix relay will modify the subject based on the recipients. The postfiy relay is receiving email from other internal systems a