How to set up Postfix to receive mail from two domains?

This is a discussion on How to set up Postfix to receive mail from two domains? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi, apologies if this is a simple setup problem, but I'm going round in circles, and haven't yet ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 3 Weeks Ago
webmasterATflymagnetic.com
 
Posts: n/a
Default How to set up Postfix to receive mail from two domains?

Hi,

apologies if this is a simple setup problem, but I'm going round in
circles, and haven't yet found something that helps me answer this
problem. Rather than explain my setup, which may be nonsense, let me
ask how you would do this. My requirement is simple. I have a server
with IP address 1.2.3.4, and I want it to receive mail for two
Internet domains.

I have set up an MX record for domainA.com with IP address of 1.2.3.4
I have set up an MX record for domainB.com with IP address of 1.2.3.4

In other words, the server with address 1.2.3.4 is to receive mail for
domainA.com and mail for domainB.com. The server has also been put in
the domain domainA.com. (Although this is probably less important, and
if it is better for it not to be in any of these domains I can remove
it.)

How do I set it up so I can send mail to user1@domainA.com and it gets
sent to the real user userA that exists on the server, and similarly
for user2@domainB.com, this gets sent to userB? (Ie I can ``su -
userA'', and then use ``mail'' to read mail for user1@domainA.com,
etc.)

Any help would be appreciated.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0