Answer the question
In order to leave comments, you need to log in
How to replace part of a line in a message header?
Hello!
You need to replace part of the line in the postfix message header.
Not enough knowledge in regular expressions, please help!
Header needed:
Received: from mysite.ru (snd1.mysite.ru [95.ххх.224.235])
by snd1.mysite.ru (Postfix) with ESMTP id CCF64C02B4
for <[email protected]>; Sat, 22 Oct 2016 15:16:02 +0300 (MSK)
Received: by mx.mysite.ru (Postfix, from userid 0)
id 9095FC0240; Sat, 22 Oct 2016 14:56:23 +0300 (MSK)
Received: from mysite.ru (snd1.mysite.ru [95.ххх.224.235]) by snd1.mysite.ru (Postfix) with ESMTP id CCF64C02B4 for <[email protected]>; Sat, 22 Oct 2016 15:16:02 +0300 (MSK)
ххххх REPLACE ххххх
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question