Locations of configuration and log files of major components

SSL certificate

The self-signed SSL certificate generated during iRedMail installation:

Postfix

Main config files:

Log files

Dovecot

Config files

Main config file is dovecot.conf. It contains most configurations.

Additional config files under /etc/dovecot/:

Log files

Apache

Nginx

Main config files are nginx.conf and default.conf.

PHP

Main config file:

OpenLDAP

Main config file:

Schema files are stored under schema/ directory (same directory as slapd.conf).

OpenLDAP is configured to log to /var/log/openldap.log by default, if it's empty, please check normal syslog log file /var/log/messages or /var/log/syslog instead.

MySQL, MariaDB

Main config file:

Roundcube webmail

Warning

Roundcube stores all default settings in config/defaults.inc.php, please do not modify it, instead, you should copy the settings you want to modify from config/defaults.inc.php to config/config.inc.php, then modify the one in config/config.inc.php.

Amavisd

Main config files

Log files

Amavisd is configured to log to Postfix log file by iRedMail.

SpamAssassin

Attention

With default iRedMail settings, SpamAssassin is called by Amavisd, not run as a daemon.

Main config file:

SpamAssassin doesn't have a separated log file, to debug SpamAssassin, please set $sa_debug = 1; in Amavisd config file, then restart Amavisd service.

Fail2ban

Main config file:

Warning

All custom settings should be placed in jail.local, and don't touch jail.conf, so that upgrading Fail2ban binary package won't lose/override your custom settings.

Filters:

Ban/Unban actions:

SOGo Groupware

iRedAPD

iRedAdmin

Main config file:

iRedAdmin is a web application, when debug mode is turned on, it will log error message to Apache ssl error log file, or uwsgi log file (if you're running Nginx). uwsgi log file is under /var/log/uwsgi/ on Linux/FreeBSD, and /var/www/logs/ on OpenBSD.

Note: If you modified any iRedAdmin files (not just config file), please restart Apache or uwsgi service (if you're running Nginx) to reload modified files.

Cluebringer

Warning

Policyd/Cluebringer were removed since iRedMail-0.9.3.

Main config file:

Init script:

All documents are available in BitBucket repository, and published under Creative Commons license. You can download the latest version for offline reading. If you found something wrong, please do contact us to fix it.