1

modify headers with sendmail on centos

view story
linux-howto

http://stackoverflow.com – I'm using sendmail to send outbound email on my centos server. The problem is that, sendmail will always add a "Received:" and Message-Id:" header in the emails sent. like this: Received: (from www@localhost) by jude.me (8.13.8/8.13.8/Submit) id r128Pfu0021960; Sat, 2 Feb 2013 16:25:41 +0800 Date: Sat, 2 Feb 2013 16:25:41 +0800 Message-Id: <[email protected]> To: [email protected] Subject: Test From: [email protected] Reply-To: [email protected] I have commented the configuration section for headers in sendmail.cf, but there's still a "Received:" and "Message-Id:" (HowTos)