[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

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

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
Manojc3
Asked:
Manojc3
  • 4
  • 3
1 Solution
 
bevhostCommented:
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
 
Manojc3Author Commented:
Can you give more explanation   on setting it up.
0
 
bevhostCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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

0
 
Manojc3Author Commented:
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
 
Manojc3Author Commented:
Thanks. I have configured Virtual domain. it works as a replacement of vpop3 server.
0
 
bevhostCommented:
That's great.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now