configure Postfix with one internal and external domain and setup like VPOP3

Posted on 2009-05-05
Medium Priority
Last Modified: 2013-12-16
I have a scenario were the company has one branch. The main company is in London having a mail server with domain example.com. The branch office users in location India   were having problem sending and receiving mail from the main office it was very slow. To solve this issue the branch installed a new mail server with domain example.org and the mail forward was set in the main (example.com) mail server to forward the users of branch to user@example.org.  The branch users want to use example.com for sending and receiving in this case if a user sends a mail to another user in the branch office it has to go to main office mail server and forward to the branch mail server.  

I need to create a false domain in branch office mail server as example.com and if a local user in the branch sends a mail to local users in the same branch office the mail will be send locally without sending it out to main server. Also if a user sends a mail to main office users (users not in branch false domain) it might give unknown user error.
I need to try this in Redhat Linux using Postfix. I know there is a  program for windows called VPOP3 which can work..
Question by:Manojc3
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 19

Expert Comment

ID: 24303468

eg, on london server..
info@example.com       joe
sales@example.com      jane
india@example.com      india@example.org

Author Comment

ID: 24305953
Can you give more explanation   on setting it up.
LVL 19

Expert Comment

ID: 24311247
It depends upon your current setup.

I assume that one server is already setup and running as a POP3/IMAP/SMTP server?

Can you please show your current postfix config as it is now.  use the postconf command to show what is not set to the default values...
# postconf -n
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

LVL 19

Expert Comment

ID: 24311252
You could try just adding the indian usernames to your /etc/aliases file
india:     india@example.org


Author Comment

ID: 24403373
In branch office in India mailserver is it possible to include aliases for the local users as
induser1:    induser1@example.com
induser2:    induser2@example.com
Can you just breif me on Virtual.cf file. Do i have to add any domain in brach server.


Author Comment

ID: 24414482
Thanks. I have configured Virtual domain. it works as a replacement of vpop3 server.
LVL 19

Accepted Solution

bevhost earned 1500 total points
ID: 24420259
That's great.

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question