As I see here header_checks can do it. There is only one problem. This rule searching for a subject with string [MASSMAIL] and replacing complete subject line with word "test".
/^Subject:.*[MASSMAIL].*/ REPLACE Subject: test How to replace only single string [MAILMAN] without interrupting the rest of the subject ? Subject: [MASSMAIL] test message blablabla /^Subject:.*[MASSMAIL].*/ REPLACE Subject: test Its replacing to Subject: test How to replace that string to: Subject: test message blablabla Maybe some one knows ? Cheers Zalezny On Fri, Mar 31, 2017 at 1:29 PM, Zalezny Niezalezny < zalezny.niezale...@gmail.com> wrote: > This list (postfix-users) is so configured that when I`m clicking Reply on > Your answer, system sending message to directly to you instead of the list. > On mobile device some times its difficult. It was not my intention to write > an E-mail directly to You... I prefer list. > > Mailman is connected as usual with Postfix. So its forwarding messages > directly to Postfix and Postfix sending it to another relay. > Its quite diffucult for me because on that host I have 180 mailing lists > with ~5mln users. [MAILMAN] prefix is only on few of them and i`m searching > for some fast solution. > > Thats why I`m here... On Postfix-users list. I also opened Topic on > mailman list. > > Maybe somebody else knows how to monipulate Subject with Postfix ? > > > Thanks in advance for any help. > > > Cheers > > Zalezny > > > > > > > > > On Fri, Mar 31, 2017 at 1:11 PM, Larry Stone <lston...@stonejongleux.com> > wrote: > >> Neither do I as you have provided no information about your Postfix >> configuration or anything else. As it says in the Postfix list welcome >> email you received: >> TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail >> But if you’ve verified Mailman is not adding it as a list prefix tag, >> then you need to tell us what else is handling the email before it makes it >> to your mailbox. >> >> Also, reply on list, not directly to me. Future emails sent directly to >> me will be ignored. >> >> -- >> Larry Stone >> lston...@stonejongleux.com >> >> >> >> >> >> > On Mar 31, 2017, at 6:03 AM, Zalezny Niezalezny < >> zalezny.niezale...@gmail.com> wrote: >> > >> > hi larry, >> > >> > i have removed prefix but for some list system simply adding this >> prefix.i dnt know what to do. >> > >> > Any how it would be great to know how to remove that string with >> postfix. >> > >> > >> > cheers >> > >> > zalezny >> > >> > 31 mar 2017 12:58 "Larry Stone" <lston...@stonejongleux.com> >> napisał(a): >> > This is a Mailman mailing list you run? That Mailman has the option to >> add a tag in front of the subject (and it’s not the default so you would >> have had to explicitly turn it on). There is a Mailman-users mailing list >> and that would be the appropriate place for help. >> > >> > But, since it says [MASSMAIL] and MASS implies to me that it’s to >> indicate that it’s being sent to a MASS of recipients, it sounds like it >> might be a mail filter downline of Mailman that, for instance, sees the >> “Precedence: bulk” header and tags the mail. In which case Mailman has >> nothing to do with it. >> > >> > In any event, the [MASSMAIL] tag is a symptom of some other problem >> adding the undesired (to you at least) tag. Fix the problem, not the >> symptom. >> > >> > -- >> > Larry Stone >> > lston...@stonejongleux.com >> > >> > >> > >> > >> > >> > > On Mar 31, 2017, at 5:32 AM, Zalezny Niezalezny < >> zalezny.niezale...@gmail.com> wrote: >> > > >> > > Hi, >> > > >> > > will it be possible to remove string [MASSMAIL] from outgoing E-mails >> ? >> > > >> > > >> > > From: bla!@firma.com >> > > to: *@gmail.com >> > > Subject: [MASSMAIL] text of the messages >> > > >> > > I would like to have some thing like this. >> > > >> > > From: bla!@firma.com >> > > to: *@gmail.com >> > > Subject: text of the messages >> > > >> > > >> > > Unfortunatelly Mailman adding this string to some of my mailing lists >> and I do not know how to change it, maybe it will be possible to rewrite it >> with Postfix ? >> > > >> > > >> > > >> > > Thanks in advance for any support. >> > > >> > > >> > > >> > > Cheeers >> > > >> > > Zalezn >> > >> >> >