Quote:
Originally Posted by mlpw /^Received: from "something1"/ REPLACE Received: "something2"[/CODE] |
Unfortunately I do not believe you can do that with the header checks. You can do things like :-
/^Received:/ ignore <- this would skip the header from being written on the SMTP pipe
/^Received:/ hold <- this would drop the email in the hold queue where it could then be pre-processed before being injected back into the queue
Postfix Address Rewriting Postfix manual - header_checks(5)