Review your favorite Linux distribution.
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 09-13-2005, 03:49 PM   #1
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Rep: Reputation: 15
Postfix - Virtual Database

I have two domains, I want to have the emails goto the specified user and if they dont exist to send to the catch-all mail account.

This works for one domain but not the other. Im totally baffled. I am doing postmap /etc/postfix/virtual after writing.

This is my virtual file...

# Virtual domains virtualdomain virtualdomain

# Virtual user maps jmiller hnicol mwerner mfleming

# Virtual catch-all maps apalmer
As soon as I add...

Code: apalmer
All mail comes to me (apalmer). If I do...

Code: apalmer
Then map a new user to that domain, mail goes to that user. Anything else goes to me. Just how I want it.


Figured it out. Postfix knows is its own domain. It didnt like me to make a virtual domain with the same name. Change postfix to think its own domain name is localhost. Fixed.

Last edited by ]SK[; 09-13-2005 at 04:36 PM.


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
Integrate postfix with existing MySQL database EdMeister Linux - Software 0 04-21-2005 04:52 AM
Postfix and virtual IchBin Linux - Software 0 02-21-2005 05:26 PM
Virtual accounts in Postfix technochef Linux - Software 2 10-25-2004 04:12 PM
Postfix and virtual domains nvargas Linux - Software 6 03-12-2004 02:35 PM
Postfix virtual domain eyt Linux - Newbie 0 02-23-2004 05:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

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