Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Apr 15, 2004 11:39 pm 
Offline
Newbie

Joined: Thu Mar 18, 2004 1:23 pm
Posts: 4
I would like recommendations on an EASY to Install/Configure E-Mail Server to use on my Linode (running Debian).

I am particularly interested in any recommendations for the following:

1. Step-by-step websites that offer tutorials on how-to install & configure a linux e-mail server (paricularly for Debian).

2. Alternate recommendations for EASY to use email servers, besides the big 3 - sendmail, qmail & postfix.

I tried installing QMail via qmailrocks.org, however after many attempts, I continue to run into setup/config issues.

Thanks. 8)


Top
   
 Post subject:
PostPosted: Fri Apr 16, 2004 12:55 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Qmail is not the easiest to set-up.

I use postfix and courier both are easy enough to use, you should be able to find how-tos by googling

Adam


Top
   
 Post subject:
PostPosted: Fri Apr 16, 2004 1:13 am 
Offline
Junior Member

Joined: Tue Nov 18, 2003 2:02 am
Posts: 30
I run Postfix on Debian stable, and it's been pretty easy to configure so far. I just use the Debian package rather than compiling from source. I've even got TLS and authentication enabled.

The one nonobvious thing you'll really want in your main.cf is:

Code:
local_recipient_maps = $alias_maps, unix:passwd.byname


Without this, Postfix will accept mail for a nonexistent user, attempt local delivery, and only then generate a bounce message. This means spam to nonexistent users clutters up your mail queue with bounces that your server has to send out.

The proper behavior is to reject the message in the SMTP session; that's what the above config option does.

This only occurs with older Postfixes, like the one in Debian. In newer ones, the above is the default. In Woody, the default is empty.


Top
   
PostPosted: Fri Apr 16, 2004 6:09 am 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
Dave-Linode wrote:
I would like recommendations on an EASY to Install/Configure E-Mail Server to use on my Linode (running Debian).


Postfix, thought there may be a little bit of work to set it all up.

The debian packages for postfix are old (well duh, what isn't ?!). It is suggested that you compile postfix via hand. I have an unfinished howto at http://opencurve.org/~sunny/nix/postfix/index.html that shows you how to compile and install Postfix + SSL/TLS.

Bill Clinton


Top
   
 Post subject: Postfix
PostPosted: Fri Apr 16, 2004 3:25 pm 
Offline
Senior Newbie

Joined: Tue Mar 09, 2004 11:57 pm
Posts: 8
I had no experience with mail servers until two weeks ago. I was able to successfully set up a postfix mail server on my Mandrake linode by simply following the recepes on the web.
http://www.postfix.org/
and
http://www.delouw.ch/linux/postfix.phtml

Things I did not know:
You need to be able to set of MX records in your zone file at your DNS provider. IF you do not do this, nobody can see your server.

Postfix is an MTA (mail transfer agent.) You wil also need a separate IMPA or POP3 server if you want to permit clients to fetch mail from your server. I used the IMAP package, which provides both.

I wanted to send mail from my home machine via my linode, so the rest of the world would see my mail as coming from crystre.com rather than cox.net. But cox refuses to let me send on port 25 to any MTA other than cox. Solution: open a port other than 25, and use it in addition to 25.

WARNING: do not, under any circumstances, run an "open relay." If you do not know what this means, do not run a mail server at all. (I knew this one, so I never had an open relay.)

Good luck!


Top
   
 Post subject:
PostPosted: Sun Apr 18, 2004 12:23 am 
Offline
Senior Newbie

Joined: Sat Mar 13, 2004 7:18 am
Posts: 8
If you prefer maildir, here is a good howto on setting up Courier with IMAP, POP, SSL, and MySQL authentication:
http://forums.gentoo.org/viewtopic.php?t=144837

-Mike


Top
   
 Post subject: Qmail
PostPosted: Sun Apr 18, 2004 12:22 pm 
Offline
Senior Newbie

Joined: Sat Feb 14, 2004 12:40 am
Posts: 8
Website: http://www.furgiuele.net
AOL: Wespionage
Location: Philadelphia, PA
I wound up forcing myself to use Qmail due to the completeness of this step-by-step guide:
http://www.qmailrocks.org

It is so far the most complete set of instructions I have found for someone with very little knowledge about setting up a fully-functional mail server. Not everything worked well for me, and I couldn't quite figure out the best way to do the admin interfaces for virtual hosts (I'm sure it's not that hard, but like I said, I have "very little knowledge"), but everything important worked pretty well. That was on a Red Hat 9 (Large) setup.


Last edited by Wespionage on Sun Apr 18, 2004 8:14 pm, edited 1 time in total.

Top
   
PostPosted: Sun Apr 18, 2004 7:25 pm 
Offline
Senior Newbie

Joined: Fri Feb 13, 2004 3:12 am
Posts: 18
Bill Clinton wrote:
The debian packages for postfix are old (well duh, what isn't ?!).


Have you looked at backports.org? They have newer packages that are for use in debian stable. I am using clamav and amavis from there (with the old postfix). In your /etc/apt/sources.list just add a line like:

deb http://www.backports.org/debian/ stable clamav amavisd-new postfix


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


Who is online

Users browsing this forum: No registered users and 2 guests


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