LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-24-2017, 08:27 AM   #1
rohitbhaskar
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
Postfix is forwarding the original email need to re-write the headers to match the envelope


We are using postfix as an MTA and Postfix is forwarding the original email so we need to re-write the headers to match the envelope.

For example in forwarded email at From Address it showing to: rohitbhaskar4u@gmail.com.mageupgradeservice.com. I only need rohitbhaskar4u@gmail.com to display to user at the same...

Kindly help...

Thank you in Advance
 
Old 03-24-2017, 11:28 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rohitbhaskar View Post
We are using postfix as an MTA and Postfix is forwarding the original email so we need to re-write the headers to match the envelope.

For example in forwarded email at From Address it showing to: rohitbhaskar4u@gmail.com.mageupgradeservice.com. I only need rohitbhaskar4u@gmail.com to display to user at the same...
Read the "Question Guidelines" link in my posting signature. A brief search for "postfix rewrite from address" yields much, including many links from this very site.

http://www.postfix.org/ADDRESS_REWRITING_README.html
http://semi-legitimate.com/blog/item...ess-in-postfix
http://www.linuxquestions.org/questi...ix-4175548513/
http://www.linuxquestions.org/questi...ostfix-852693/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide a mail servers IP address - postfix headers and email relay pagespony Linux - Newbie 1 03-06-2013 08:51 PM
Email forwarding in postfix mail server anurag2202 Linux - Server 8 07-10-2012 03:51 AM
Postfix SMTP relay via gmail using original sender email address? bdobolina Linux - Server 4 05-01-2012 06:21 AM
Postfix: Email forwarding onsorg Linux - Server 1 02-27-2012 03:01 AM
Outlook, Postfix & Email Headers? dlublink Linux - Server 2 10-03-2006 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration