Am 09.07.2014 16:45, schrieb mail list: > Hi we have a virtual domain setup when sending emails from a virtual > somain dont want the local domain to appear in the headers. > For example as you can see bellow when sending emails from a virtual > email account (con...@vmail.eu) . > inside the header information the localhostt is sent( > lkjsdfgsaslkalksf.mailhost.me) appears
> Received: from localhost (localhost [127.0.0.1]) > by lkjsdfgsaslkalksf.mailhost.me (Postfix) with ESMTP id EC629717040; > Wed, 9 Jul 2014 10:48:53 +0000 (UTC) that one can be controlled by smtp_header_checks = regexp:/etc/postfix/header_checks.cf smtp_nested_header_checks = smtp_mime_header_checks = since it's your outgoing message cat /etc/postfix/header_checks.cf /^Received: from .* \(localhost/ IGNORE /^Received: from .* \[localhost/ IGNORE /^Received: from .* \(127\.0\.0\.1/ IGNORE /^Received: from .* \[127\.0\.0\.1/ IGNORE