LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-05-2009, 07:17 AM   #1
bjmakond
LQ Newbie
 
Registered: Jun 2009
Posts: 15

Rep: Reputation: 0
Question Setting up an email server for another branch


Hi All,

I need to setup an email server for my other branch. currently they are accessing their emails directly from the server at the head office. i need to limit that traffic whereby each user is querying the email server to pop emails.

I need a server on the branch that will from time to time collect messages from the main server at the head office and distributes to the clients on that branch.

The domain will sill be the same

How best can i achieve this? what should i do on the "new" server that i need to setup?

Thank you very much in advance

BJ
 
Old 06-05-2009, 09:36 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 306

Rep: Reputation: 38
Which email server program are you using currently?
 
Old 06-05-2009, 11:52 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
with postfix you could use virtual _maps, so mail is relayed as it is received to the proper server for final delivery..

so if your mail servers were
mailhub.yourcompany.com
branch1.yourcompany.com

you would setup the /etc/postfix/virtual map as follows
branchuser@yourcompany.com branchuser@branch1.yourcompany.com

so postfix on your pimary MX server mailhub, would know that the message needs to be forwarded to the other server (branch1) for delivery..

but as arckane points out, without knowing what MTA (postfix, exim, qmail, sendmail, MS Exchange, other) you are running, and knowing how it's setup (is it using a SQL backend ? is it using LDAP ? , etc.. ) it's difficult to offer a proper solution.

Last edited by farslayer; 06-05-2009 at 11:53 AM.
 
Old 06-05-2009, 11:10 PM   #4
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Rep: Reputation: 31
More information would be a good thing.
With Qmail you can do a similar mapping to deliver the messages to the proper server or even setup fetchmail to periodically grab emails from the main server and deliver them to the local (branch) server to minimize the number of connections made to the main server.
 
Old 06-15-2009, 06:34 AM   #5
bjmakond
LQ Newbie
 
Registered: Jun 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Arrow Setting up an email server for another branch

Thanks for the replies so far guys. I'm using sendmail as my MTA



Quote:
Originally Posted by farslayer View Post
with postfix you could use virtual _maps, so mail is relayed as it is received to the proper server for final delivery..

so if your mail servers were
mailhub.yourcompany.com
branch1.yourcompany.com

you would setup the /etc/postfix/virtual map as follows
branchuser@yourcompany.com branchuser@branch1.yourcompany.com

so postfix on your pimary MX server mailhub, would know that the message needs to be forwarded to the other server (branch1) for delivery..

but as arckane points out, without knowing what MTA (postfix, exim, qmail, sendmail, MS Exchange, other) you are running, and knowing how it's setup (is it using a SQL backend ? is it using LDAP ? , etc.. ) it's difficult to offer a proper solution.
 
Old 06-15-2009, 07:47 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
May be fetchmail can do the same for you as well. Look into it.
 
  


Reply

Tags
postfix, secondary, sendmail, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting Up Email Server dougp23 Linux - Security 3 03-01-2007 03:35 PM
Setting up an email server SnellgroveC Linux - Newbie 2 11-11-2005 09:19 AM
setting up an email server tommytomato Linux - Newbie 1 09-03-2004 05:46 PM
setting up email server DropSig Linux - Newbie 3 06-29-2004 09:59 AM
Setting up an email server chu_man_fu Linux - Newbie 1 07-03-2003 01:45 PM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration