Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 21840  / 2 Years ago, sat, october 8, 2022, 8:49:31

I want to create a mail server for personal use. It will be used mainly by me and possibly some family members.
The system load will be in the order of 5-10 IMAP mailboxes, all for "human" use: no heavy traffic, "corporate" massive usage or spamming.



I'd like to use this stack:




  • Ubuntu 12.04 x64

  • Exim (would anyone suggest Postfix? I'm after lightness and simplicity)

  • Dovecot

  • ClamAV

  • something to filter spam (suggestions?)

  • mailman (maybe)



I would rather not install other things on this machine. For example, I'm not planning to install Apache or MySQL (or any other DBdaemon) if I can avoid it.

(System health stuff like Unattended_Upgrades will be present, though.)



I also know about sudo tasksel install mail-server, but I prefer doing things myself :-)



My question is:

What kind os system usage should I expect? What kind of machine would I need?

I was considering Amazon EC2, either:




  • t1.micro: 613 MiB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only

  • M1.small: 1.7 GiB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage



About DBs. I'm not experienced with mail server software (I'm still studying the documentation), and I'd appreciate some quick advice on whether a DB integration is really needed. I read of people using MySQL for Exim configuration.

I do have a remote MySQL dedicated machine, but I'd rather use a local flat file like SQLite. Would that be possible or even needed?



A final point: I'm planning to setup Roundcube as a webmail client on another Apache-PHP server. Any suggestions on that?



Cheers


More From » email

 Answers
0

I have a 1GB RAM 1 CPU Core VPS with Postfix + Dovecot + rspamd (it's an OVH VPS classic tier 1), and I don't even use 25% of the total amount of RAM I have.



Postfix is actually really lightweight. At the moment it's using less than 7 Megabytes of RAM total across all its processes.



For spam filtering, I'd recommend either spamassassin or rspamd. Rspamd is lighter IMHO, but it requires a little bit of tweaking to get it working right (it doesn't add extra mail headers by default - you have to configure it to do that so you can filter the messages with a sieve rule).



Spamassassin is great too, but I found it ate rather a lot of resources.



I've heard that ClamAV is rather resource heavy, but I've no personal experience there.



Roundcube is good, but you might also want to take a look at Rainloop, though it may be for personal use only.



DB integration isn't really needed for small installations I don't think. If you want to keep it lightweight you definitely want to avoid a DB like MySQL.



If you need a tutorial, Ars Technica has a great 4 part series on setting up your own mail server.


[#31840] Monday, October 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bathtusain

Total Points: 380
Total Questions: 124
Total Answers: 111

Location: Trinidad and Tobago
Member since Sat, Apr 9, 2022
2 Years ago
bathtusain questions
Sun, Jul 17, 22, 03:13, 2 Years ago
Sun, Oct 3, 21, 00:24, 3 Years ago
Sat, Apr 22, 23, 00:24, 1 Year ago
Fri, Jul 22, 22, 12:01, 2 Years ago
Sun, Jun 27, 21, 02:31, 3 Years ago
;