Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Postfix: Hide MUA (x-mailer|user-agent) information from mail header
https://forum.ivorde.com/postfix-hide-mua-x-mailer-user-agent-information-from-mail-header-t19752.html
Page 1 of 1

Author:  mandrei99 [ Mon Jan 26, 2015 6:40 pm ]
Post subject:  Postfix: Hide MUA (x-mailer|user-agent) information from mail header

Based on previous post Postfix MTA - How to mask real ip in mail headers, postfix can also remove other headers that reveal the mail user agent information, such sh "X-Mailer" or "User-Agent".

To remove these headers, open postfix "headers_check" configuration file and add below two lines:
Code:
/^X-Mailer:.*/ IGNORE
/^User-Agent:.*/ IGNORE
And reboot postfix.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/