Locations of configuration and log files of major components

Attention

Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.

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

Earlier releases log to /var/log/dovecot.log and /var/log/dovecot-*.log.

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:

Log file: Fail2ban logs to default syslog log file.

SOGo Groupware

mlmmjadmin

iRedAPD

iRedAdmin

Main config file:

iRedAdmin is a web application, when debug mode is turned on, it will log error message to:

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.

Apache

Warning

Apache was dropped since iRedMail-0.9.8.

Cluebringer

Warning

Policyd/Cluebringer were removed since iRedMail-0.9.3.

Main config file:

Init script: