LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-27-2015, 10:46 AM   #1
xweque
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Rep: Reputation: Disabled
Postfix multiple mailboxes per user and domain


So I have a dedicated server on which I host a few websites for some customers. Now I'm very new to mail and previously all I've provided was web hosting, but now I've gotten requests for "mail hosting" as well. So what I've done is I've setup postfix and everything is working great. I've set it up to work with multiple domains and I've setup a nice webmail client. The only thing I cannot wrap my head around is as follows:

When someone sends a mail to user@domain1.com it will go to the mailbox belonging to user. But if someone sends a mail to user@domain2.com it will go to the same place! How can I solve this? Allowing every domains to use any username without collisions?

All suggestions and inputs are very welcome.
 
Old 12-27-2015, 01:24 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
You are looking at setting up 'virtual domains'
see the postfix documentation :
The easiest for you might be "Postfix virtual ALIAS example: separate domains, UNIX system accounts".

http://www.postfix.org/VIRTUAL_README.html

Good luck !
 
Old 12-28-2015, 05:00 AM   #3
xweque
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks! That's exactly what I was looking for
 
  


Reply



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
dovecot + postfix + kerberos + AD - Multiple mailboxes ??? ross.sysadm Linux - Server 0 08-04-2011 07:38 AM
Postfix & creating multiple mailboxes sckl618 Linux - Newbie 1 06-19-2009 04:42 AM
Postfix Multiple Domain Handling RTX Networks Linux - Server 3 03-08-2007 03:44 AM
Postfix for multiple domain talat Linux - Software 1 02-13-2006 04:27 PM
Postfix multiple domains & mailboxes fatum112 Linux - Software 0 11-21-2005 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration