Need advice for setting up mail server

krad kraduk at
Tue Aug 9 10:24:27 UTC 2016

I would second exim, i have used it in big ISP installations so know it
scales fairly well. Its config is also very human readable, and powerful.
If your users are happy at the cli consider hooking procmail into the loop
as well as that can do all sorts of funky things for sorting their mail. On
the mailbox front make sure you use the maildir format, as its the simplest
to manipulate/fix at the CLI and most reliable.

On the dns side dnsmasq is good for small scale, and if it acts a dhcp it
will also handle all you internal dynamic dns without to much hassle. I
generally use it in conjunction with local_unbound as a forwarder, so I get
some level of dns-sec support, even if its not end to end. It will also
handle the ipv6 side of things as well if you have that available. If your
isp doesnt provide ipv6 have a look at It's easy to setup
(full instructions)

On 7 August 2016 at 16:52, Steve O'Hara-Smith <steve at> wrote:

> On Sun, 7 Aug 2016 15:24:48 +0000
> Manish Jain <bourne.identity at> wrote:
> >  fo
> >  r me, the thing has to be easy to set up and maintain, rather than worry
> > too much about eavesdropping/MITM. Thanks for any advice. Manish Jain
>         I found it simplest to set up two MTAs (in jails) one for outgoing
> mail (allows relay from inside the LAN only, uses my ISPs SMTP server as a
> smarthost) running exim (I found it easy to configure) and one for incoming
> mail (sendmail delivering via procmail and spamassassin to dovecot for
> IMAP).
>         Separating the two directions made it very easy to think about the
> security of the configuration.
>         For DNS there are many alternatives,  but for simplicity there's
> little to beat dnsmasq (perhaps not the most performant but good enough
> for a smallish network). I had unbound and nsd running for my DNS for a
> while, it was a *nightmare* that I never got working smoothly.
> --
> Steve O'Hara-Smith <steve at>
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at"

More information about the freebsd-questions mailing list