Solr full text search for Dovecot

Index all emails!Dovecot is great POP3/IMAP mail server but its internal search mechanism falls short when dealing with large mailboxes. Search is not only super slow, but also extremely resource intensive on both CPU and disk IO front.

Offloading mail indexing and search to Apache Solr is not only recommended, but a must in such scenarios.

In this tutorial, I'll cover Apache Solr 7.5.0 installation and integration with Dovecot 2.2. I won't go into Dovecot installation and configuration details.


Exim ACL for blocking certain senders

This is definitely not spamIf you're in a need for fast and simple solution to block certain senders directly on Exim mail server, you're in luck. Couple of weeks back I needed to blacklist a spammer on a relay mail server, so that I could take my time and carefully trace the origin server/script from where the spam was being sent.

Implementing sender blocklist is very simple. Just open Exim's configuration file - if you're using CentOS or RHEL, look no further than /etc/exim/exim.conf. On Debian based distributions Exim's configuration is split into multiple files, so the recommended way of reconfiguring Exim is with dpkg-reconfigure exim4-config.


Fine tuning cPanel autoresponder interval

Y u no answer email?If you enabled autoresponder in your cPanel, then you probably noticed that, by default, the sender gets only one autoreponder message every 8 hours. There is nothing wrong with that. In fact, the purpose of this interval setting is to prevent sending a bunch of emails to the sender who sends more then one email to the user who has enabled autoresponder.


Are your emails being automatically deleted from trash folder on cPanel server?

TrashIf you happen to run Courier IMAP server that comes with cPanel, then you are probably experiencing a rather unpleasant feature . By default, Courier will regularly delete every single email from trash folder that is more than 7 days old.

Considering that most people use IMAP protocol to keep their messages safe and always available on the server, this default option can cause a lot of frustration. Luckily, fixing this issue is rather easy and quick (it takes less than a minute).