2

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.

Pablo Santa Cruz
  • 1,084
  • 4
  • 18
  • 24

2 Answers2

5

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. :)

Avery Payne
  • 14,326
  • 1
  • 48
  • 87
  • +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 01:45
0

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.

therek
  • 682
  • 5
  • 6