1

Topic: remove localhost from header

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hello

i was wondering if it is possible to remove the "received from localhost" from the header of my emails , my current header looks like this

Received: from server.xxxx.com ([IPv6:2a02:xxxxx::1]) by .......
Received: from server.xxxx.com (localhost.localdomain [127.0.0.1])
    by server.xxxx.com (Postfix) with ESMTP id 05FC46C04F9
    for <xxxx@gmail.com>; Fri, 24 Mar 2017 21:09:44 +0100 (CET)
X-Virus-Scanned: amavisd-new at server.xxxx.com
Received: from server.xxxx.com ([127.0.0.1])
    by server.xxxx.com (server.xxxx.com [127.0.0.1]) (amavisd-new, port 10026)
    with ESMTP id pXXgkTuejULX for <busick_kenneth@comcast.net>;
    Fri, 24 Mar 2017 21:09:42 +0100 (CET)

i just want for the first received to appear and that all , is it possible ?

thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: remove localhost from header

Why do you want to remove it?

3

Re: remove localhost from header

No actual reason , I just want to experiment with the server

4

Re: remove localhost from header

Any update ?

5

Re: remove localhost from header

You can achieve it with Postfix header_checks(5):
http://www.postfix.org/header_checks.5.html