Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Need an Email Mentor
PostPosted: Sat Jun 04, 2011 8:55 pm 
Offline
Senior Newbie

Joined: Sat May 28, 2011 11:12 pm
Posts: 13
And so when I was fed up with the hosting-company-that-bought-the-shared-hosting-company's restrictions and costs and less support, I moved to Linode. So far, it's been a battle, but I'm slowly climbing the learning curve. Finally got apache, mysql and php running, and now I want to do email.

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?


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 12:48 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
I'm afraid I can't commit to providing the level of assistance you're asking for, but the following pages from the CentOS wiki are very helpful in setting up Postfix and greylisting:
http://wiki.centos.org/HowTos/postfix
http://wiki.centos.org/HowTos/postfix_restrictions
http://wiki.centos.org/HowTos/postgrey


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 2:20 am 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
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).


Top
   
 Post subject: Re: Vance & Vonskippy
PostPosted: Sun Jun 05, 2011 8:11 am 
Offline
Senior Newbie

Joined: Sat May 28, 2011 11:12 pm
Posts: 13
@Vance: Thanks for the links anyway! I have tried the first one before, but my FQDN was screwed up then. Maybe it'll work this time.

@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.


Top
   
 Post subject: Re: Vance & Vonskippy
PostPosted: Sun Jun 05, 2011 8:21 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
EchoLynx wrote:
@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.

_________________
/ Peter


Top
   
 Post subject: Low Load Server
PostPosted: Sun Jun 05, 2011 9:07 am 
Offline
Senior Newbie

Joined: Sat May 28, 2011 11:12 pm
Posts: 13
At least for the near future, I am not going to have a busy mail server or a busy webserver - this is all just a pet project/learning experience. So I think it should work.

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?


Top
   
 Post subject: Re: Low Load Server
PostPosted: Sun Jun 05, 2011 9:23 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
EchoLynx wrote:
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.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 9:35 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
vonskippy wrote:
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!


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 10:56 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
sednet wrote:
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.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 11:29 am 
Offline
Senior Newbie

Joined: Wed Apr 06, 2011 12:33 pm
Posts: 11
Outsourcing may not be a bad idea. It's not just the anti-spam you have to manage. There are a lot of anti-spam measures that other email servers may or may not use so you have to setup your server to look like a 'good' server. SPF records (even if they are pointless, someone might use it) DKIM, and getting yourself on a decent whitelist or two.


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 11:44 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
"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.) "

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.


Top
   
 Post subject:
PostPosted: Sun Jun 05, 2011 11:47 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
vonskippy wrote:
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?


Top
   
 Post subject: Books?
PostPosted: Sun Jun 05, 2011 5:20 pm 
Offline
Senior Newbie

Joined: Sat May 28, 2011 11:12 pm
Posts: 13
@jebblue: I looked up Citadel and it seems like a great piece of software. That said, I think its a bit overkill for what I need to do, and I still wouldn't have that up close experience with email. I am very glad you pointed it out, though, because I can see a use for it in the future.

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?


Top
   
 Post subject:
PostPosted: Mon Jun 06, 2011 10:20 am 
Offline
Junior Member

Joined: Tue Mar 29, 2011 7:49 pm
Posts: 24
EchoLynx,

If you want "up close experience with email" then i would suggest switching to Debian and following this guide:

http://www200.pair.com/mecham/spam/virtual3.html

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


Top
   
 Post subject: Debian Migration
PostPosted: Mon Jun 06, 2011 6:40 pm 
Offline
Senior Newbie

Joined: Sat May 28, 2011 11:12 pm
Posts: 13
I have generally gotten the same response from IRC users. Debian/Ubuntu is more beginner friendly, apparently.

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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group