Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-20-2015, 04:37 AM   #1
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
Postfix catch-all re-writing From header


I have a question regarding Postfix 2.6. Here is a 'shortened' configuration dump :

virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual
local_recipient_maps =
relay_domains = $mydestination,
relayhost = []:587
# catch-all configuration
When I receive an email from the From field is re-wrote to within my GMail mail box, which is what is supposed to happen when you configure postfix virtual_alias_maps.

How can I prevent the SMTP header from being re-wrote but still forwarded to a catch-all address, which is a GMail account.

example :
 I receive an email from

 That email From: field is re-wrote to so I can't see who wrote the original email.
 The reply-to field holds the email address but i'd like to be able to not have it modified.
I have tried removing the virtual mapping, but this is mandatory, else i'll receive an error message (see below) from Postfix and the message will bounce back to the sender.

Diagnostic-Code: X-Postfix; User unknown in virtual alias table

Last edited by dazdaz; 08-20-2015 at 04:39 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure postfix to view catch-all address in mail header jayram1989 Linux - Software 0 02-01-2014 08:46 PM
Postfix `catch all` on all domains samarudge Linux - Server 1 03-01-2011 05:57 AM
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 04:35 PM
Postfix local catch-all alias cdhgee Linux - Software 2 06-30-2006 03:02 AM
catch the tcp header for modification from the kernel mprabhu Linux - Software 2 07-24-2004 04:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

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