LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2016, 03:07 AM   #1
steinerikandersen
LQ Newbie
 
Registered: Feb 2016
Posts: 5

Rep: Reputation: Disabled
Mail hub-spoke linux server


Hi, i currently have a project building up a mail solution.

It has to be a central mail MTA (hub) who receives mail for multiple domains and store them until x ammount of client mail servers has a steady internet connection to send and receive to/from the hub.
The client mail servers does not have a fixed ISP ip.

I thought of the following for clients:
Debain, MySQL, UUCP, Postfix, Dovecot, Spamassasin, roundcube?

Server:
Debian, MySQL, UUCP, Postfix?

Has anyone had a similar setup?
Anyone know if this is a setup that will work?
 
Old 02-16-2016, 04:08 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
There are a lot of tutorials on postfix and dovecot. Spamassasin is in the mix with most of them. Roundcube is also quite nice. Also there are some other webmailers that are a bit more advanced or lighter on the load. But deifnitely a setup that will work. If you actually need mysql depends on how many domains. Postfix can use mysql as a address@domain lookup table. But if you only have like 5 domains it might not be worth the hassle. Specially as postfix buffers some of the lookup tables in memory.
Also be aware that the default mailer in debian is exim which is a bit slower than postfix but has way more options to configure and use of sql and other lookup tables for every single mail delivery step. Thus also a bit harder to configure.

Just one thought you really need UUCP? Its really old fashioned.
 
1 members found this post helpful.
Old 02-16-2016, 05:54 AM   #3
steinerikandersen
LQ Newbie
 
Registered: Feb 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi zhjim, it will be like 100+ domains..
I dont need UUCP but is there other ways to set up a type hub-spoke system with fixed connection time when internet connection is available? It will also be delivered to client mail servers on a bad internet connection speed. Like 512kb/s and up..
 
Old 02-16-2016, 07:10 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
With a 100 domains go with sql setup.

Instead of pushing mails to the client mail servers, let them pull it. This way you don't have to hassle with dynamic ips or alike. Which is also possible but more error prone. Maybe take another approach to it.
 
1 members found this post helpful.
Old 02-16-2016, 09:17 AM   #5
steinerikandersen
LQ Newbie
 
Registered: Feb 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Tks, ill try. Do i just set the exim or postfix to use a smart host? to send by the hub server?
any nice systems to make an archive for x amount of weeks on the hub?
 
Old 02-16-2016, 09:56 AM   #6
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Postfix is way easier to setup. Speciall as an relay for the client mail server. Exim might come in handy depending on your actuall plan. Due to it beeing more "configurable". Maybe you should give some more information how you plan on setting everything up. Draw some pics of the involved hosts, the client. What is talking to what? Kinda like those thing. We are definitely better to help you if we see the big picture.
 
1 members found this post helpful.
Old 02-17-2016, 03:10 AM   #7
steinerikandersen
LQ Newbie
 
Registered: Feb 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi, created a picture of solution.

All MX pointers will be routed to the main hub.
The main hub will keep all mails until the client mail server has a steady connection and is ready to send/receive.
The main hub should be able to keep a copy of all mails sendt and received for a week or two..? if possible.

The client servers will host each mail domain and pull/send mail to the hub when internet connection is available.
The client side does not have a fixed IP so i may need a vpn to be set up when connection is avaliable?
Attached Thumbnails
Click image for larger version

Name:	linmail.JPG
Views:	20
Size:	87.3 KB
ID:	20866  
 
Old 02-18-2016, 02:36 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Any special reason for the client mail servers? Why not keep it on the hub? Why keep mails on hub when they are delivered? Why VPN?
 
Old 02-18-2016, 09:07 AM   #9
steinerikandersen
LQ Newbie
 
Registered: Feb 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
I what to get all mails for all client users over in one connection when they are online. Also need the "in-house" mailing when they dont have internet connection.
Mails on hub is more for a backup reason... I thought of VPN to get a "fixed" connection to the remote server since they dont have fixed IP from the isp provider.

Dont know if i can use ETRN or other functions to get the remote site to fetch mail for the entire domain if not?
 
  


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
[SOLVED] How to convert OSX 10.5 Mini Server's Mail & mailboxes to CentOS linux server mail? tstfortruth Linux - Server 4 06-23-2012 01:33 AM
Hub/Switch + Linux Server = ? hkothari Linux - Networking 3 07-25-2009 06:01 AM
DC++ Server Hub for Linux enigma82 Linux - Software 2 12-08-2004 09:05 AM
spoke too soon, problems with firestarter humanveal Linux - General 0 06-23-2002 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

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