LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-13-2005, 03:49 PM   #1
]SK[
Member
 
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...

Code:
# Virtual domains
example1.com virtualdomain
example2.com virtualdomain

# Virtual user maps
prometheus@example1.com jmiller
pippa666@example1.com hnicol

maddin@example1.com mwerner
miz@example1.com mfleming

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

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

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

*Edit*

Figured it out. Postfix knows example1.com 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.
 
  


Reply


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


All times are GMT -5. The time now is 12:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration