I've been looking for some guides on setting up a secure dovecot and exim mail server setup on CentOS 6.4, however it seems there's nothing out there.

Does anyone know of any guides - or - if someone could push me in the right direction that would be fantastic.


I wrote up a blog post titled: How to Setup a Mail Server on CentOS 5. That post covers using Sendmail and Dovecot but all of the setting up of Dovecot should apply for Exim as well.

That article covers setting up the following:

Primary packages

  • sendmail
  • spamassassin
  • milter-greylist
  • GeoIP
  • clamav
  • spamassassin-milter
  • clamav-milter
  • dovecot

Addons to spamassassin

  • SPF
  • DKIM

Optional Extras

  • spf-milter

If you see any issues please feed them back so that I can keep that article current and relevant.


we recently wrote an article on how to setup a simple mailserver with Exim and Dovecot on a CentOS 7 system which you may find helpful.

It does not cover the installation and configuration of spamassasin, though there's a follow up article on how to setup opendkim with exim for digital signing of the emails.


  • Welcome to Unix & Linux! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – slm
    Oct 23 '14 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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