Sandy Drobic wrote:
pelibali wrote:
Hi,
I have postfix running (SUSE 10.0), but would need a cosmetic fix for
it. Several existing clients sending e-mails through that SMTP server
and wouldn't like to keep that part in the headers _where_ they came
from... So I'm in fact looking for a way to change the headers as all
the e-mails running through postfix would originate from the server
itself.
Is there any way to easily achieve that?
Kudos for choosing a very good subject line for your problem. I almost
assumed that you already knew the answer and just wanted to confirm it.
(^-^)
The cleanup daemon of Postfix is performing among other things
header_checks. Within header_checks you can search the header line for a
pattern and then delete the header line with the action IGNORE.
/etc/postfix/main.cf:
header_checks = pcre:/etc/postfix/header_checks
/etc/postfix/header_checks:
#
/Received: from Relay2.suse.de \(relay2\.suse\.de
\[149\.44\.160\.89\]\)/ IGNORE
Need more coffee! This would have worked but is a bit sloppy.
#one line:
/Received: from Relay2\.suse\.de \(relay2\.suse\.de\
[149\.44\.160\.89\]\)/ IGNORE
Sandy
--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]