LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-14-2012, 12:38 AM   #1
vishyc88
LQ Newbie
 
Registered: Mar 2010
Posts: 8

Rep: Reputation: 0
How to create a local mail archive server? (or is it possible)


Hi folks,
We have a requirement to bring down the bandwidth usage between our office and our mail server on the internet. Currently there are 50 machines concurrently accessing mails directly from the internet which reduces our internet speed to a crawl and browsing becomes difficult. Is it possible to create a local mail archive server where all the mails get deposited from the mail server on the internet so that our users can access the mails from within the intranet rather than all accessing the internet for the mails. if so how? please help
 
Old 03-14-2012, 05:16 AM   #2
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: AntiX, Debian, Gentoo
Posts: 65

Rep: Reputation: 18
Hi vishyc88, I see the problem and yes, there are certainly ways to address it. However I'd encourage you to give a few more details about your systems such as the following, so that someone can offer specific advice:

First, what MTA (mail server software) are you running on the remote system? Is it sendmail, exim, postfix ..?
What method (e.g. IMAP4) do your users use to retrieve their mails? Etc. Please let us know what the setup is.

Also, the correct solution will depend on what kind of bottleneck your users are experiencing. For example is it mostly about accessing old mails that are stored on the server, in which case fetching them periodically (e.g. overnight) to be stored locally might help? Or is it that lots of users need access to new mails as they come in? Then realtime mirroring or forwarding could be looked at instead, which could spread the load although there might still be bandwidth issues. There are a lot of ways to approach it so which is best will depend on the pattern of usage.

Hope that helps,
 
Old 03-14-2012, 03:55 PM   #3
st_disk
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
You could use a pop3 downloader and then use a mail sorter like proc mail. Either way you will need to have a way to download or intercept the email. You could create a postfix smtp on a hosted virtual server and point your mx record to this server. You could then use sftp to copy the received mail down to your local box.
 
Old 03-15-2012, 04:22 AM   #4
vishyc88
LQ Newbie
 
Registered: Mar 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Well,
All our mails come from google app based email server. So it has to be from the gmail server. My requirement is to create something like a email gateway with mail archiving (POP3/SMTP) and also the ability to relay mails to the gmail server on the internet.
 
Old 03-15-2012, 04:23 AM   #5
vishyc88
LQ Newbie
 
Registered: Mar 2010
Posts: 8

Original Poster
Rep: Reputation: 0
And storing mails locally isnt going to work because the systems here get formatted quite often. So thats a bad solution.
 
Old 03-16-2012, 06:29 AM   #6
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: AntiX, Debian, Gentoo
Posts: 65

Rep: Reputation: 18
Hi vishyc88, you asked this originally:

Quote:
Originally Posted by vishyc88 View Post
Is it possible to create a local mail archive server where all the mails get deposited from the mail server on the internet so that our users can access the mails from within the intranet rather than all accessing the internet for the mails?
But now you're ruling out local storage??

Quote:
Originally Posted by vishyc88 View Post
And storing mails locally isnt going to work because the systems here get formatted quite often. So thats a bad solution.
The sort of thing I'm thinking of is a server running a mail retrieval agent such as getmail, allowing users to access their mail from the proxy server using a convenient protocol such as IMAP. If the proxy server is not local (intranet) there would be little advantage and you would still have a bandwidth problem.
 
Old 03-21-2012, 07:07 AM   #7
vishyc88
LQ Newbie
 
Registered: Mar 2010
Posts: 8

Original Poster
Rep: Reputation: 0
ok i think getmail or fetchmail seems to be the solution for this.
Thanks FrankP
 
  


Reply



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
Creating a .tgz archive on a remote server from local files? Ltes Linux - Newbie 1 01-09-2012 05:53 PM
Forward certain local mail to an external mail server marciano Linux - Server 1 05-11-2009 11:08 AM
How do I create a local user on a NIS slave server? essdeeay Linux - General 2 06-10-2007 05:40 AM
local mail to kerio mail server rros Linux - Newbie 1 10-03-2004 12:37 PM
I can't send mail by using local mail server hus Linux - Software 0 05-10-2004 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration