1

Topic: Removing localhost from Received:

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 6
- Related log if you're reporting an issue:
====

How can I remove

Received: from localhost (localhost [127.0.0.1])

From mail headers?

I have already tried adding

main.cf

header_checks = pcre:/etc/postfix/header_checks.pcre

/etc/postfix/header_checks.pcre

/^Received: from .*127.0.0.1*/    IGNORE

But there is no difference.

Thanks,

Sandy

----

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

2

Re: Removing localhost from Received:

This header is added by MTA (Postfix). I don't think it's necessary to remove it. No mail client will read it.