Solved

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

Posted on 2009-05-05
7
451 Views
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..
0
Comment
Question by:Manojc3
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:bevhost
Comment Utility
See
http://www.postfix.org/VIRTUAL_README.html

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

Author Comment

by:Manojc3
Comment Utility
Can you give more explanation   on setting it up.
0
 
LVL 19

Expert Comment

by:bevhost
Comment Utility
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...
eg
# postconf -n
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 19

Expert Comment

by:bevhost
Comment Utility
You could try just adding the indian usernames to your /etc/aliases file
eg
india:     india@example.org

0
 

Author Comment

by:Manojc3
Comment Utility
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.


0
 

Author Comment

by:Manojc3
Comment Utility
Thanks. I have configured Virtual domain. it works as a replacement of vpop3 server.
0
 
LVL 19

Accepted Solution

by:
bevhost earned 500 total points
Comment Utility
That's great.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now