Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What would be your suggestion if installing a FreeBSD 7 (7.2, actually) email server?

I am interested in:

  • SMTP agent
  • Imap/Pop backend
  • Authentication (OS users, OpenLDAP)
  • Anti-Spam server side tools
  • WebMail frontend

Thanks a lot in advance.

share|improve this question
    
Related question ... serverfault.com/questions/722/… –  tomjedrz May 12 '09 at 1:51
add comment

2 Answers

up vote 5 down vote accepted

There are so many different possibilities here. What you're really talking about is an email "stack" (much like web-server/web-app "stacks").

  • SMTP Agent a.k.a. MTA (Mail Transfer Agent)

There are several, including Sendmail, Exim, Qmail, Postfix, and Courier. Sendmail has had most of its "issues" resolved, Exim is small and stable, Qmail is fast, and Postfix is "flexible", sturdy, and fairly easy to configure. I guess it's a function of which one makes the most sense to you.

  • IMAP/POP Backend

There are also several, including UW-IMAP (don't), and Dovecot (does POP3/IMAP, supports SSL). Courier also has POP/IMAP services.

  • Authentication Where to start? OpenLDAP is possible, but you can also get away with Kerberos, or even SASL.

  • Anti-Spam Tools Amavisd-new is a Perl script that hooks into SpamAssassin. Be sure to get the newest version(s) of both (the newer SpamAssassin supports detecting image spam via OCR).

  • Web Mail SquirrelMail has made the rounds, but Courier I believe also provides this.

...and...

  • Anti-Viral Tools Clam is free and has a very good detection rate. If you use it with Amavis, it will act as a "backup" scanner. I have seen Clam detect things that commercial scanners won't (probably because the signatures are updated frequently).

My personal preference:

Postfix MTA, Amavis spam/virus filter, ClamAV scanner, Dovecot supplies IMAP over SSL, and SquirrelMail for a web interface.

I do have to admit that I don't run FreeBSD, sorry. However, I did take the time to check the BSD ports to see if all these package are available, and they are. So choose what you like. :)

share|improve this answer
    
+1 for caring about other operating systems –  Steinbitglis Nov 10 '11 at 23:38
1  
A plus for sendmail is that it is part of the base OS in FreeBSD. Also, don't be afraid of running more than one virus scanner on all incoming mail. Sophos supports FreeBSD with a native binary, but it is commercial software. –  Utkonos May 10 '12 at 1:45
add comment

If I may throw my own $0.2 I'd recommend DSpam as an anti-spam tool. If you're not afraid of using greylisting (like postgrey) it's worth giving a try. I personally just love OpenBSD's spamd and I can see there's a FreeBSD fork in mail/spamd.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.