Need an Email Mentor
So it began. Did a few searches, read some linode documentation, did some more searches, read more stuff telling me to use different software, did more searches, tried to implement something that didn't work, so I searched and found something else and on and on and on. Net progress? Nothing.
So I need some help. It'll mean hand holding at times, but for the most part I only need someone to ask questions of and subsequently point me to the right documents. (I'm still kind of bitter that there isn't a CentOS email guide in the Linode library.)
If you haven't left already, my dream is a my Linode 512 webserver (with virtual hosting for 2 domains) also acting as a personal email server with reasonably good antispam measures, a secure webmail client (squirrelmail, roundcube, it doesn't matter), and a mailing list like mailman. If possible, I would like to have email addresses availabile on both domains. (Mailinglist only on one, for now.)
What I have now is a 32-bit CentOS 5.6 LAMP installation with 2 apache "VirtualHost"s and anything that is left after uninstallinga failed postfix and dovecot setup. I use Linode's DNS manager.
I feel kind of weird asking for tutoring, but I figure it doesn't hurt to ask.
Please?
14 Replies
Spam control is a never ending battle, and best left to someone else who can devote several full time people to managing it.
Google Apps seems to be the top choice, although now you only get 10 user accounts (not counting aliases) before you have to pay.
Beside better spam control (or less spam control headaches) it doesn't eat into your storage/bandwidth/memory. You can run Web & Email on a 512M, but it requires a lot of fine tuning to get everything to fit into that small of ram space (especially with any type of decent spam control).
@vonskippy: Oh no. Is it really that impossible? I am not anticipating a large userbase. In fact, aside from whatever is needed to run a mailinglist, there would only be one email account.
Even if I only get a 50% success rate filtering spam, I want to have had the experience of getting at least that far. I use email every day and know practically nothing what happens in the background.
I might be able to afford a 768, but that would be pushing it.
@EchoLynx:
@vonskippy: Oh no. Is it really that impossible?
Not impossible, just a bit tricky. I have postfix, dovecot, amavisd, clamav and spamassassin on a 512, along with apache, mysql and php. You need to tune them all to use as little RAM as possible. On a busy mail server, clamav and spamassassin can chew up quite a bit of processor time as well, affecting response times for other applications – less of a problem these days with the more powerful hosts. A busy web server and a busy mail server with all the trimmings won't be a good fit on a 512. I run a moderately busy mail server and a not-very busy-at-all web server on a 512 and it's fine.
I am currently using Apache. Should I stick with that or switch to the less resource intensive Nginx? (I don't want another control panel like Cherokee's and lighttpd seems to have problems with memory management at the moment.) Would that make a significant enough difference to make this setup easier?
@EchoLynx:
I am currently using Apache. Should I stick with that or switch to the less resource intensive Nginx?
Apache is fine if you configure it correctly. The defaults in most distros assume you have several GB of RAM. There are lots of threads on this forum about tuning Apache for use with limited RAM.
@vonskippy:
Most people outsource their email.
Spam control is a never ending battle, and best left to someone else who can devote several full time people to managing it.
Google Apps seems to be the top choice, although now you only get 10 user accounts (not counting aliases) before you have to pay.
Beside better spam control (or less spam control headaches) it doesn't eat into your storage/bandwidth/memory. You can run Web & Email on a 512M, but it requires a lot of fine tuning to get everything to fit into that small of ram space (especially with any type of decent spam control).
Some of us were doing exactly that back on 80Meg UML linodes. 512Meg is plenty of ram for a MTA, spamassassin, amavis, greylisting daemon, spf daemon, p0f, mailstore processes, bind, apache, and mysql. Spam control isn't much of a headache, the few spam I get I use to train spamassassin's bayesian filter. The spamhaus DNSBL rocks.
Plus there is no way I'm trusting my data to a company that got rich by efficiently indexing other people's data!
@sednet:
Plus there is no way I'm trusting my data to a company that got rich by efficiently indexing other people's data!
Yes – that as well.
I'm not an email expert so I use Citadel, it does all of the above and was as easy as "sudo aptitude install citadel".
The admin interface is old school in appearance and there's this Rooms concept but all in all it's a decent package.
@vonskippy:
Most people outsource their email.
Spam control is a never ending battle, and best left to someone else who can devote several full time people to managing it.
Google Apps seems to be the top choice, although now you only get 10 user accounts (not counting aliases) before you have to pay.
Beside better spam control (or less spam control headaches) it doesn't eat into your storage/bandwidth/memory. You can run Web & Email on a 512M, but it requires a lot of fine tuning to get everything to fit into that small of ram space (especially with any type of decent spam control).
No … it doesn't. All he has to do is install Citadel and set it up with Spamassasin. If you use Gmail you surrender all your email to the commercial purposes of Google which might be ok but do not make statements that all he is asking for is not possible. Do you work for Google?
As for outsourcing, I don't want to do it if there is another option. I want the learning experience, and I value what little I have left that isn't Google's domain.
Since it doesn't seem like anyone has the time to spare to mentor, can anybody recommend a book or two?
If you want "up close experience with email" then i would suggest switching to Debian and following this guide:
I have followed the spamfiltering gateway guide on this site and it is very detailed. I have postfix and spamassasin books by orielly and others, but following the detailed information by Gary V helped me understand e-mail better than the books.
I have nothing against Centos (i have actually converted the spamfilter gateway guide to work on Centos), but if you want to go though the pain of learning e-mail (!) I think following one of these guides with Debian would be a good option.
jk
I have decided to convert to Debian because of this guide, the stuff in the Linode Library, and because 57% of linode users use Debian-based Ubuntu and 18% use Debian itself
Time to re-do my LAMP stack.