Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-30-2009, 11:48 PM   #1
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
Question Postfix - problem on specifying the origin for virtual domains

Hi Guys,

I'm running Postfix server under RHEL-5.1.
Early I was having one base domain (eg.

Now I have created a virtual domain say And for this virtual domain I have mapped linux user accounts under /etc/postfix/virtual. So when outside users are sending mail to its reaching my Postfix and dropped into the respective user mailbox with help of virtual user mapping. But from this mail id ( if I'm sending mails to other users in destination mailbox the from address is looking like

So now I just wanted to know how to specify the myorigin parameter for the virtual domains under postfix..

Kindly help me with this issue..
Thanks a lot..

Update:Guys, now I found that while receiving mails to that virtual domains user account also in the header "to" address is renamed to base domain name....

Last edited by haariseshu; 08-31-2009 at 12:46 AM.
Old 10-01-2009, 08:03 AM   #2
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
I use Virtualmin GPL so set my websites, so there is no manual work involved, when you set it up once, All you need is to tell Virtualmin you want another domain, and it will set all there is automatically.

myorigin is not set in my Postfix configuration, which could mean that this is relevant:

If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user@that.users.mailhost.


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 configure postfix for virtual domains vargadanis Linux - Server 0 12-23-2006 03:54 PM
No Incoming postfix mail, virtual domains geokker Linux - Software 0 06-22-2004 06:09 AM
Postfix and virtual domains nvargas Linux - Software 6 03-12-2004 02:35 PM
Mailman + postfix virtual domains paulten Linux - Networking 0 01-12-2004 06:39 AM
PostFix multipe domains (virtual setup) dulaus Linux - Networking 0 10-10-2002 04:58 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:20 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