Skip to main content

Posts

Showing posts from December, 2017

IndiMail Queue Mechanism

Indimail has the ability of configuring multiple local and remote queues. A queue is a location on your hard disk where email are deposited before actual delivery. When you have massive injecting rates, your software may place multiple files in a single directory. This drastically reduces file system performance. IndiMail avoids this by injecting your email in a queue consisting of multiple directories and mails distributed as evenly as possible across these directories.


Balancing of emails across multiple queues is achieved by the program qmail-multi(8), which is actuall just a qmail-queue(8) replacement. Any qmail-queue frontend can use qmail-multi. The list of qmail-queue frontends in IndiMail are
sendmail
qmail-inject
qmail-smtpd
qmail-qmqpd
qmail-qmtpd
qreceipt
condredirect
dotforward
fastforward
forward
maildirserial
new-inject
ofmipd
replier
rrforward



You just need to configure the following environment variables to have the qmail-queue(8) frontends using qmail-multi(8)
1. QUEU…

RoundCube with IndiMail

These instructions will work on CentOS, RHEL, Fedora. For Debian/Ubuntu and other distros, please use your knowledge to make changes accordingly. In this guide, replace indimail.org with your own hostname.
Non SSL Version Install/Configuration (look below for SSL config)
Install RoundCube. On older systems, use the yum command
$ sudo dnf -y install roundcubemail php-mysqlnd


Connect to MySQL using a privileged user. IndiMail installation creates a privileged mysql user 'mysql'. It does not have the user 'root'. Look at the variable PRIV_PASS in /usr/sbin/svctool to know the password.
$ /usr/bin/mysql -u mysql -p mysql MySQL> create database RoundCube_db; MySQL> create user roundcube identified by 'subscribed'; MySQL> GRANT ALL PRIVILEGES on RoundCube_db.* to roundcube; MySQL> FLUSH PRIVILEGES; MySQL> QUIT; $ /usr/bin/mysql -u mysql -p RoundCube_db < /usr/share/roundcubemail/SQL/mysql.initial.sql


Copy /etc/roundcube/config.inc.php.sample to …