Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-15-2011, 06:09 AM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
I got a postfix generic table question...

I have with 2 subdomains,, I use the computer to relay mail out since it has a static ip. When I send mail from I wanted my computer to masquerade it into

So in my /etc/postfix/ I enabled smtp_generic_maps. In my generic file I have

This fixes it perfectly. However, if I send mail directly from and as root the resulting email shows root@ as the email address and obviously spam filters send mail with no domain to spam automatically. The other users from work just fine.

Should I be using a different method for this?

I also tried doing this instead
editing /etc/postfix/
masquerade_domains =
masquerade_domains =

This works but I was left with the same issue.

Last edited by trist007; 02-15-2011 at 11:52 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
how to create aliases and virtual table in postfix achilies Linux - Software 1 06-05-2010 01:42 PM
No /etc/postfix/generic??? uid0sd Linux - Server 1 11-30-2009 12:58 PM
Postfix alias table problem.. unifiedquarks Linux - Server 2 08-09-2008 02:03 AM
How do I use a regexp in Postfix alias table? quackking Linux - Server 11 04-13-2007 01:10 PM
Postfix transport map table?? emilioestevezz Linux - Networking 0 05-05-2004 02:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration