View Full Version : Best email software to use if you are new to BSD?
porcelaindev
January 9th, 2009, 02:36
I'm setting up my first non-windows email server and wondering what software you use on yours?
We've been experimenting with dovecot, and are now looking at Postfix or sendmail. But is this the right choice of software?
Performance isn't really a massive issue as the server is pretty modern and we don't need to have many users (<30). More important to us is how quickly we can get it up and running (with very little unix experience).
Also feel free to post links to any good how-to guides you have found, I'm sure they would be of use to others as well as me. :stud
So far these are the best I've read:
http://www.aasimon.org/mailserver/
http://www.bsdguides.org/guides/freebsd/beginners/dynamic_web_email.php
http://www.freebsddiary.org/dovecot.php
http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL
http://wiki.dovecot.org/QuestionsAndAnswers
lme@
January 9th, 2009, 10:00
While sendmail is already included in the base system and very powerful, as a newbie you probably should install postfix when you want to setup the mailserver quickly.
As a mail (web)frontend I would recommend squirrelmail together with cyrus-imapd.
Oko
January 9th, 2009, 10:04
Postfix is already pre-installed and pre-configured for you in NetBSD so that might be something you should consider.
OpenBSD just like FreeBSD is shipped with pre-configured sendmail due to the license issues.
Linux people for the most part in my experience prefer Exim which is part of default installation of many major Linux distros. Debian for instance.
hydra
January 9th, 2009, 10:35
Postfix for the MTA,
PostfixAdmin as the web interface if you wish to use virtual,
Amavisd-new for antispam and antivirus (clamav,spamassassin,razor,pyzor,dcc),
Dovecot for IMAP(s)/POP(s).
You can play around with these applications and included bonuses like VDA patch for Postfix - quotas, Sieve for Dovecot and so on. Of course, this is just one of many paths...
Carpetsmoker
January 11th, 2009, 20:01
While sendmail is already included in the base system and very powerful, as a newbie you probably should install postfix when you want to setup the mailserver quickly.
I would recommend this not only for newbies, but for experts too.
Sendmail is hard to understand and configure, which means it's easy to make a mistake and hard to solve problems, which means more time needs to be spent, which means more money ect.
dgnr8
January 14th, 2009, 15:59
If you want a failsafe shot of getting it up and running the following link is just what you are looking for.
http://freebsd.qmailrocks.org/
Step by step with all the packages you will need, warning though it will take you a while to do it.
for your webmail client I strongly recommend
http://atmail.com/
You will not be disapointed
gnemmi
January 14th, 2009, 18:59
I would recommend this not only for newbies, but for experts too.
Sendmail is hard to understand and configure, which means it's easy to make a mistake and hard to solve problems, which means more time needs to be spent, which means more money ect.
Now that makes two of us.
I would recommend Postfix to both newbies and experts without a second thought.
Oko
January 14th, 2009, 19:03
If you want a failsafe shot of getting it up and running the following link is just what you are looking for.
http://freebsd.qmailrocks.org/
Step by step with all the packages you will need, warning though it will take you a while to do it.
for your webmail client I strongly recommend
http://atmail.com/
You will not be disapointed
I thought that Qmail was not maintain for a while. If I remember correctly Qmail is one of the worst documented peaces of software. Do not get me wrong. I am a big fan of DJB and in particularly his DNS server but Qmail for a complete n00b is kind a iffy. Speaking of DJB I really wished he released that software with BSD license instead of killing it by being overly controlling. Just my $0.02.
Since we are suggesting here more radical solution how about
OpenSMTPD of OpenBSD project.
http://undeadly.org/cgi?action=article&sid=20081203183856
It is still not production quality but hell probably in year or two will be the best mail server around.
Carpetsmoker
January 18th, 2009, 22:57
Didn't djb release all of his software in to the public domain some time ago?
In any case, I am not a big fan of the so called `djbware', it appears that he did most of his coding late 1990's/early 2000's and after that moved on to other interests, which is fine, except that after he moved on he left most of his software with a very odd license (basically, It's free, but patches have to be approved by djb), meaning that very few (none?) patches went into the official package, and you will have to get patches and hacks from the net/google/whatever.
That just sucks.
Now that QMail is public domain, I hope some people step up and start actively developing QMail (Or rather a fork).
I am not a particular fan of sendmail, but for these reasons I would sooner use sendmail then qmail, at least sendmail is maintained, bugs are solved, there is some documentation, qmail may be fundamentally better, but that's useless if there are bugs floating around and little to no support.
The same also applies to djbdns, I prefer using bind.
Oko
January 18th, 2009, 23:57
Didn't djb release all of his software in to the public domain some time ago?
In any case, I am not a big fan of the so called `djbware', it appears that he did most of his coding late 1990's/early 2000's and after that moved on to other interests, which is fine, except that after he moved on he left most of his software with a very odd license (basically, It's free, but patches have to be approved by djb), meaning that very few (none?) patches went into the official package, and you will have to get patches and hacks from the net/google/whatever.
That just sucks.
Now that QMail is public domain, I hope some people step up and start actively developing QMail (Or rather a fork).
I am not a particular fan of sendmail, but for these reasons I would sooner use sendmail then qmail, at least sendmail is maintained, bugs are solved, there is some documentation, qmail may be fundamentally better, but that's useless if there are bugs floating around and little to no support.
The same also applies to djbdns, I prefer using bind.
QMail is in public domain but not all of djbware necessary for it is in public domain. In any case would you like to edit the code of the guy who sued the U.S. goverment went on trials for couple of years and won. I didn't think so.
I think you gave a very accurate description of whole deal with his software.
Speaking of sendmail it is rewritten from scratch as we speak. So something might come out of it as well.
bloodhound
January 20th, 2009, 16:31
Try postfix, you have tons of documentation, it is really secure + stable and the configuration is straight forward. I configured a postfix server 2 years ago, and till now it is still working without any crashes.
I also have an old qmail server but believe me u don't wanna go there: it is like an old lady, always nagging about something, and alot of maintainance for it.
From my point of view go with postfix
gnemmi
January 20th, 2009, 17:43
Since we are suggesting here more radical solution how about
OpenSMTPD of OpenBSD project.
http://undeadly.org/cgi?action=article&sid=20081203183856
Oko, could you be kind enough to post a link to the page proyect and manual?
I would really like to take a look at it :)
Thanks in advanced
tomh009
January 20th, 2009, 20:32
Sendmail is hard to understand and configure, which means it's easy to make a mistake and hard to solve problems, which means more time needs to be spent, which means more money ect.
Basic sendmail configuration really is not very hard at all any more -- you could run it out of the box or just add some access rules. (In the olden days of hand-editing .cf files it was quite different!)
However, if you do want to integrate plug-ins (milters) it can indeed get much more fiddly.
trev
January 21st, 2009, 11:36
However, if you do want to integrate plug-ins (milters) it can indeed get much more fiddly.
# ClamAV milter
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m')
define(`confINPUT_MAIL_FILTERS', `clmilter')
# milter-regex milter
INPUT_MAIL_FILTER(`milter-regex',`S=unix:/var/run/milter-regex/sock, T=S:30s;R:2m')
Seems trivial to me?
oversize
January 22nd, 2009, 17:18
Another vote for postfix, postfixadmin, amavisd-new, dovecot from me.
I was a mail server admin noob too. But the default postfix config is almost usable. Setting up SASL with dovecot was easy, as everything is well documented either on dovecot.org or postfix.org. Not to mention the tons of docs all over the net.
blackadder
January 28th, 2009, 20:54
I'm pretty new to advanced mail stuff as well, however I've been running a simple sendmail installation for years. So I'll add my questions if you don't mind. :)
What do you guys think about dbmail? Or is dovecot better? Generally that seems to be the opinion.
What about exim on freebsd? I'm in a process of setting up a new mail server (to replace simple sendmail installation I mentioned before), and from reading guides, docs, and message boards, exim seemed to be a good choice?
jb_fvwm2
January 28th, 2009, 23:01
I'd get the latest revision of the Exim book...
the one with Chapter 20 relevant to smart-host AFAIK.
..............
the freebsd-questions list has had *long* threads answering
your question.
blackadder
January 29th, 2009, 08:06
If you are referring to my question.. I probably am not that good at searching things in freebsd-questions archive, but search query "dbmail dovecot" didn't returned anything relevant, and "exim and postfix" unfortunately didn't either.
I don't see anything wrong to ask for you guyses opinion on dbmail or dovecot. And out of curiosity about exim subject as well. So answers on this topic would be greatly appreciated, as is your comment.
cheers :)
jb_fvwm2
January 29th, 2009, 10:44
If I recall, the author of Exim has a recent version of
his textbook about it. (To which I referred.). Exim
is on my "eventual todo" list probably because of that
book. I've seen the first version.
to search the freebsd-questions archive,
(probably from freebsd.org also) I usually go to
groups.google.com, enter "lucky freebsd-questions digest"
, and select the lucky.freebsd-questions.digest (maybe not
its actual name ) from the search results. Then one
can search the digests for threads.
rghq
January 30th, 2009, 22:56
Dovecot + Postfix - just can recommend them specially since Postfix can use Dovecot's Auth so you don't need to rely on SASL.
Both work fine with various Backends and Frontends - Squirrelmail or what you or your users prefer.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.