<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=IRedMail%3A_Locations_of_configuration_and_log_files</id>
	<title>IRedMail: Locations of configuration and log files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=IRedMail%3A_Locations_of_configuration_and_log_files"/>
	<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=IRedMail:_Locations_of_configuration_and_log_files&amp;action=history"/>
	<updated>2026-05-08T17:20:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=IRedMail:_Locations_of_configuration_and_log_files&amp;diff=8614&amp;oldid=prev</id>
		<title>Kangtain: Created page with &quot;== SSL certificate == The self-signed SSL certificate generated during iRedMail installation:  * on RHEL/CentOS: ** &lt;code&gt;/etc/pki/tls/certs/iRedMail.crt&lt;/code&gt; ** Private key: &lt;code&gt;/etc/pki/tls/private/iRedMail.key&lt;/code&gt; * on Debian/Ubuntu: ** &lt;code&gt;/etc/ssl/certs/iRedMail.crt&lt;/code&gt; ** Private key: &lt;code&gt;/etc/ssl/private/iRedMail.key&lt;/code&gt; * on FreeBSD: ** &lt;code&gt;/etc/ssl/certs/iRedMail.crt&lt;/code&gt; ** Private key: &lt;code&gt;/etc/ssl/private/iRedMail.key&lt;/code&gt; * on OpenBS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=IRedMail:_Locations_of_configuration_and_log_files&amp;diff=8614&amp;oldid=prev"/>
		<updated>2025-03-31T11:06:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== SSL certificate == The self-signed SSL certificate generated during iRedMail installation:  * on RHEL/CentOS: ** &amp;lt;code&amp;gt;/etc/pki/tls/certs/iRedMail.crt&amp;lt;/code&amp;gt; ** Private key: &amp;lt;code&amp;gt;/etc/pki/tls/private/iRedMail.key&amp;lt;/code&amp;gt; * on Debian/Ubuntu: ** &amp;lt;code&amp;gt;/etc/ssl/certs/iRedMail.crt&amp;lt;/code&amp;gt; ** Private key: &amp;lt;code&amp;gt;/etc/ssl/private/iRedMail.key&amp;lt;/code&amp;gt; * on FreeBSD: ** &amp;lt;code&amp;gt;/etc/ssl/certs/iRedMail.crt&amp;lt;/code&amp;gt; ** Private key: &amp;lt;code&amp;gt;/etc/ssl/private/iRedMail.key&amp;lt;/code&amp;gt; * on OpenBS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== SSL certificate ==&lt;br /&gt;
The self-signed SSL certificate generated during iRedMail installation:&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS:&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/pki/tls/certs/iRedMail.crt&amp;lt;/code&amp;gt;&lt;br /&gt;
** Private key: &amp;lt;code&amp;gt;/etc/pki/tls/private/iRedMail.key&amp;lt;/code&amp;gt;&lt;br /&gt;
* on Debian/Ubuntu:&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/ssl/certs/iRedMail.crt&amp;lt;/code&amp;gt;&lt;br /&gt;
** Private key: &amp;lt;code&amp;gt;/etc/ssl/private/iRedMail.key&amp;lt;/code&amp;gt;&lt;br /&gt;
* on FreeBSD:&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/ssl/certs/iRedMail.crt&amp;lt;/code&amp;gt;&lt;br /&gt;
** Private key: &amp;lt;code&amp;gt;/etc/ssl/private/iRedMail.key&amp;lt;/code&amp;gt;&lt;br /&gt;
* on OpenBSD:&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/ssl/iRedMail.crt&amp;lt;/code&amp;gt;&lt;br /&gt;
** Private key: &amp;lt;code&amp;gt;/etc/ssl/iRedMail.key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Postfix ==&lt;br /&gt;
&lt;br /&gt;
* on &amp;lt;code&amp;gt;Linux&amp;lt;/code&amp;gt; and OpenBSD, Postfix config files are placed under &amp;lt;code&amp;gt;/etc/postfix/&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on FreeBSD, Postfix config files are placed under &amp;lt;code&amp;gt;/usr/local/etc/postfix/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Main config files: ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;main.cf&amp;lt;/code&amp;gt;: contains most configurations.&lt;br /&gt;
* &amp;lt;code&amp;gt;master.cf&amp;lt;/code&amp;gt;: contains transport related settings.&lt;br /&gt;
* &amp;lt;code&amp;gt;aliases&amp;lt;/code&amp;gt;: aliases for system accounts.&lt;br /&gt;
* &amp;lt;code&amp;gt;helo_access.pcre&amp;lt;/code&amp;gt;: PCRE regular expressions of HELO check rules.&lt;br /&gt;
* &amp;lt;code&amp;gt;ldap/*.cf&amp;lt;/code&amp;gt;: used to query mail accounts. LDAP backends only.&lt;br /&gt;
* &amp;lt;code&amp;gt;mysql/*.cf&amp;lt;/code&amp;gt;: used to query mail accounts. MySQL/MariaDB backends only.&lt;br /&gt;
* &amp;lt;code&amp;gt;pgsql/*.cf&amp;lt;/code&amp;gt;: used to query mail accounts. PostgreSQL backend only.&lt;br /&gt;
&lt;br /&gt;
=== Log files ===&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS, FreeBSD, OpenBSD, it&amp;#039;s &amp;lt;code&amp;gt;/var/log/maillog&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on Debian, Ubuntu, it&amp;#039;s &amp;lt;code&amp;gt;/var/log/mail.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Dovecot ==&lt;br /&gt;
&lt;br /&gt;
* on Linux and OpenBSD, Dovecot config files are placed under &amp;lt;code&amp;gt;/etc/dovecot/&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on FreeBSD, Dovecot config files are placed under &amp;lt;code&amp;gt;/usr/local/etc/dovecot/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Config files ===&lt;br /&gt;
Main config file is &amp;lt;code&amp;gt;dovecot.conf&amp;lt;/code&amp;gt;. It contains most configurations.&lt;br /&gt;
&lt;br /&gt;
Additional config files under &amp;lt;code&amp;gt;/etc/dovecot/&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-ldap.conf&amp;lt;/code&amp;gt;: used to query mail users and passwords. LDAP backends only.&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-mysql.conf&amp;lt;/code&amp;gt;: used to query mail users and passwords. MySQL/MariaDB backends only.&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-pgsql.conf&amp;lt;/code&amp;gt;: used to query mail users and passwords. PostgreSQL backend only.&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-used-quota.conf&amp;lt;/code&amp;gt;: used to store and query real-time per-user mailbox quota.&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-share-folder.conf&amp;lt;/code&amp;gt;: used to store settings of shared IMAP mailboxes.&lt;br /&gt;
* &amp;lt;code&amp;gt;dovecot-master-users-password&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dovecot-master-users&amp;lt;/code&amp;gt;: used to store Dovecot master user accounts.&lt;br /&gt;
&lt;br /&gt;
=== Log files ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/log/dovecot/*.log&amp;lt;/code&amp;gt;: main log file after iRedMail-0.9.8.&lt;br /&gt;
&lt;br /&gt;
Earlier releases log to &amp;lt;code&amp;gt;/var/log/dovecot.log&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log/dovecot-*.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Nginx ==&lt;br /&gt;
&lt;br /&gt;
* On &amp;lt;code&amp;gt;Linux&amp;lt;/code&amp;gt; and OpenBSD:&lt;br /&gt;
** Nginx config files are placed under &amp;lt;code&amp;gt;/etc/nginx/&amp;lt;/code&amp;gt;&lt;br /&gt;
** uWSGI config files are placed under &amp;lt;code&amp;gt;/etc/uwsgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
* On FreeBSD:&lt;br /&gt;
** Nginx config files are placed under &amp;lt;code&amp;gt;/usr/local/etc/nginx&amp;lt;/code&amp;gt;&lt;br /&gt;
** Web applications are stored under &amp;lt;code&amp;gt;/usr/local/www&amp;lt;/code&amp;gt;&lt;br /&gt;
** uWSGI config files are placed under &amp;lt;code&amp;gt;/usr/local/etc/uwsgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Main config files are &amp;lt;code&amp;gt;nginx.conf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;default.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* On &amp;lt;code&amp;gt;Linux&amp;lt;/code&amp;gt; and FreeBSD: log files are placed under &amp;lt;code&amp;gt;/var/log/nginx/&amp;lt;/code&amp;gt;.&lt;br /&gt;
* On OpenBSD: log files are placed under &amp;lt;code&amp;gt;/var/www/logs/&amp;lt;/code&amp;gt; (same as Apache).&lt;br /&gt;
&lt;br /&gt;
== PHP ==&lt;br /&gt;
Main config file:&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php.ini&amp;lt;/code&amp;gt;&lt;br /&gt;
* on Debian/Ubuntu:&lt;br /&gt;
** If you&amp;#039;re running Apache as web server:&lt;br /&gt;
*** If you&amp;#039;re running PHP-5: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php5/apache2/php.ini&amp;lt;/code&amp;gt; (Debian 8, Ubuntu 14.04)&lt;br /&gt;
*** If you&amp;#039;re running PHP-7: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php/7.0/cli/php.ini&amp;lt;/code&amp;gt; (Ubuntu 16.04)&lt;br /&gt;
** If you&amp;#039;re running Nginx as web server: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php5/fpm/php.ini&amp;lt;/code&amp;gt;.&lt;br /&gt;
*** If you&amp;#039;re running PHP-5: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php5/fpm/php.ini&amp;lt;/code&amp;gt; (Debian 8, Ubuntu 14.04)&lt;br /&gt;
*** If you&amp;#039;re running PHP-7: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php/7.0/fpm/php.ini&amp;lt;/code&amp;gt; (Ubuntu 16.04)&lt;br /&gt;
* on FreeBSD: it&amp;#039;s &amp;lt;code&amp;gt;/usr/local/etc/php.ini&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on OpenBSD: it&amp;#039;s &amp;lt;code&amp;gt;/etc/php-5.X.ini&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OpenLDAP ==&lt;br /&gt;
Main config file:&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS: it&amp;#039;s &amp;lt;code&amp;gt;/etc/openldap/slapd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on Debian/Ubuntu: it&amp;#039;s &amp;lt;code&amp;gt;/etc/ldap/slapd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on FreeBSD: it&amp;#039;s &amp;lt;code&amp;gt;/usr/local/etc/openldap/slapd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on OpenBSD: it&amp;#039;s &amp;lt;code&amp;gt;/etc/openldap/slapd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Schema files are stored under &amp;lt;code&amp;gt;schema/&amp;lt;/code&amp;gt; directory (same directory as &amp;lt;code&amp;gt;slapd.conf&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
OpenLDAP is configured to log to &amp;lt;code&amp;gt;/var/log/openldap.log&amp;lt;/code&amp;gt; by default, if it&amp;#039;s empty, please check normal syslog log file &amp;lt;code&amp;gt;/var/log/messages&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/var/log/syslog&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
== MySQL, MariaDB ==&lt;br /&gt;
Main config file:&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS: &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on Debian/Ubuntu, it&amp;#039;s &amp;lt;code&amp;gt;/etc/mysql/my.cnf&amp;lt;/code&amp;gt;. If you&amp;#039;re running MariaDB, it&amp;#039;s &amp;lt;code&amp;gt;/etc/mysql/mariadb.conf.d/mysqld.cnf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on FreeBSD: &amp;lt;code&amp;gt;/var/db/mysql/my.cnf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on OpenBSD: &amp;lt;code&amp;gt;/etc/my.cnf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Roundcube webmail ==&lt;br /&gt;
&lt;br /&gt;
* Root Directory. Roundcube webmail is installed under below directory by default:&lt;br /&gt;
** RHEL/CentOS: &amp;lt;code&amp;gt;/opt/www/roundcubemail&amp;lt;/code&amp;gt;. It&amp;#039;s a symbol link to &amp;lt;code&amp;gt;roundcubemail-x.y.z&amp;lt;/code&amp;gt; under same directory.  Note: with old iRedMail releases, it&amp;#039;s &amp;lt;code&amp;gt;/var/www/roundcubemail&amp;lt;/code&amp;gt;.&lt;br /&gt;
** Debian/Ubuntu: &amp;lt;code&amp;gt;/opt/www/roundcubemail&amp;lt;/code&amp;gt;. It&amp;#039;s a symbol link to &amp;lt;code&amp;gt;/opt/www/roundcubemail-x.y.z&amp;lt;/code&amp;gt;.  Note: with old iRedMail releases, it&amp;#039;s &amp;lt;code&amp;gt;/usr/share/apache2/roundcubemail&amp;lt;/code&amp;gt;, it&amp;#039;s a symbol link to &amp;lt;code&amp;gt;/usr/share/apache2/roundcubemail-x.y.z/&amp;lt;/code&amp;gt;.&lt;br /&gt;
** FreeBSD: &amp;lt;code&amp;gt;/usr/local/www/roundcube&amp;lt;/code&amp;gt;.&lt;br /&gt;
** OpenBSD: &amp;lt;code&amp;gt;/opt/www/roundcubemail&amp;lt;/code&amp;gt;. It&amp;#039;s a symbol link to &amp;lt;code&amp;gt;roundcubemail-x.y.z&amp;lt;/code&amp;gt; under same directory.  Note: with old iRedMail releases, it&amp;#039;s &amp;lt;code&amp;gt;/var/www/roundcubemail&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Config files:&lt;br /&gt;
** Main config file is &amp;lt;code&amp;gt;config/config.inc.php&amp;lt;/code&amp;gt; under Roundcube webmail directory.  If you&amp;#039;re running old Roundcube webmail (0.9.x and earlier releases), it has two separate config files: &amp;lt;code&amp;gt;config/db.inc.php&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;config/main.inc.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
** Config files of plugins are placed under plugin directory. for example, config file of &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt; plugin is &amp;lt;code&amp;gt;plugins/password/config.inc.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Log file. Roundcube is configured to log to Postfix log file by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Warning&lt;br /&gt;
&lt;br /&gt;
Roundcube stores all default settings in &amp;lt;code&amp;gt;config/defaults.inc.php&amp;lt;/code&amp;gt;, please do not modify it, instead, you should copy the settings you want to modify from &amp;lt;code&amp;gt;config/defaults.inc.php&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;config/config.inc.php&amp;lt;/code&amp;gt;, then modify the one in &amp;lt;code&amp;gt;config/config.inc.php&amp;lt;/code&amp;gt;.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Nginx config snippet:&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/nginx/templates/roundcube.tmpl&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;/etc/nginx/templates/roundcube-subdomain.tmpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Amavisd ==&lt;br /&gt;
&lt;br /&gt;
=== Main config files ===&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS: it&amp;#039;s &amp;lt;code&amp;gt;/etc/amavisd/amavisd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on Debian/Ubuntu: it&amp;#039;s &amp;lt;code&amp;gt;/etc/amavis/conf.d/50-user&amp;lt;/code&amp;gt;.  Debian/Ubuntu have some additional config files under &amp;lt;code&amp;gt;/etc/amavis/conf.d/&amp;lt;/code&amp;gt;, but you can always override them in &amp;lt;code&amp;gt;/etc/amavis/conf.d/50-user&amp;lt;/code&amp;gt;. When we mention &amp;lt;code&amp;gt;amavisd.conf&amp;lt;/code&amp;gt; in other documents, it always means &amp;lt;code&amp;gt;50-user&amp;lt;/code&amp;gt; on Debian/Ubuntu.&lt;br /&gt;
* on FreeBSD: it&amp;#039;s &amp;lt;code&amp;gt;/usr/local/etc/amavisd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on OpenBSD: it&amp;#039;s &amp;lt;code&amp;gt;/etc/amavisd.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Log files ===&lt;br /&gt;
Amavisd is configured to log to Postfix log file by iRedMail.&lt;br /&gt;
&lt;br /&gt;
== SpamAssassin ==&lt;br /&gt;
With default iRedMail settings, SpamAssassin is called by Amavisd, not run as a daemon.&lt;br /&gt;
&lt;br /&gt;
Main config file:&lt;br /&gt;
&lt;br /&gt;
* On Linux/OpenBSD, it&amp;#039;s &amp;lt;code&amp;gt;/etc/mail/spamassassin/local.cf&amp;lt;/code&amp;gt;.&lt;br /&gt;
* On FreeBSD, it&amp;#039;s &amp;lt;code&amp;gt;/usr/local/etc/mail/spamassassin/local.cf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
SpamAssassin doesn&amp;#039;t have a separated log file, to debug SpamAssassin, please set &amp;lt;code&amp;gt;$sa_debug = 1;&amp;lt;/code&amp;gt; in Amavisd config file, then restart Amavisd service.&lt;br /&gt;
&lt;br /&gt;
== Fail2ban ==&lt;br /&gt;
Main config file:&lt;br /&gt;
&lt;br /&gt;
* On Linux/OpenBSD, it&amp;#039;s &amp;lt;code&amp;gt;/etc/fail2ban/jail.local&amp;lt;/code&amp;gt;.&lt;br /&gt;
* On FreeBSD, it&amp;#039;s &amp;lt;code&amp;gt;/usr/local/etc/fail2ban/jail.local&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Warning&lt;br /&gt;
&lt;br /&gt;
All custom settings should be placed in &amp;lt;code&amp;gt;jail.local&amp;lt;/code&amp;gt;, and don&amp;#039;t touch &amp;lt;code&amp;gt;jail.conf&amp;lt;/code&amp;gt;, so that upgrading Fail2ban binary package won&amp;#039;t lose/override your custom settings.&amp;lt;/blockquote&amp;gt;Filters:&lt;br /&gt;
&lt;br /&gt;
* On Linux/OpenBSD, all filters are defined in files under &amp;lt;code&amp;gt;/etc/fail2ban/filter.d/&amp;lt;/code&amp;gt;.&lt;br /&gt;
* On FreeBSD, all filters are defined in files under &amp;lt;code&amp;gt;/usr/local/etc/fail2ban/filter.d/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Ban/Unban actions:&lt;br /&gt;
&lt;br /&gt;
* On Linux/OpenBSD, all actions are defined in files under &amp;lt;code&amp;gt;/etc/fail2ban/action.d/&amp;lt;/code&amp;gt;.&lt;br /&gt;
* On FreeBSD, all filters are defined in files under &amp;lt;code&amp;gt;/usr/local/etc/fail2ban/action.d/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Log file: Fail2ban logs to default syslog log file.&lt;br /&gt;
&lt;br /&gt;
* on RHEL/CentOS/OpenBSD/FreeBSD, it&amp;#039;s &amp;lt;code&amp;gt;/var/log/messages&amp;lt;/code&amp;gt;.&lt;br /&gt;
* on Debian/Ubuntu, it&amp;#039;s &amp;lt;code&amp;gt;/var/log/syslog&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== SOGo Groupware ==&lt;br /&gt;
&lt;br /&gt;
* Main config file is&lt;br /&gt;
** on Linux/OpenBSD: &amp;lt;code&amp;gt;/etc/sogo/sogo.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
** on FreeBSD: &amp;lt;code&amp;gt;/usr/local/etc/sogo/sogo.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* Log file is &amp;lt;code&amp;gt;/var/log/sogo/sogo.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== mlmmjadmin ==&lt;br /&gt;
&lt;br /&gt;
* Config file: &amp;lt;code&amp;gt;/opt/mlmmjadmin/settings.py&amp;lt;/code&amp;gt; (same on all Linux/BSD distributions)&lt;br /&gt;
* Log file: &amp;lt;code&amp;gt;/var/log/mlmmjadmin/mlmmjadmin.log&amp;lt;/code&amp;gt;&lt;br /&gt;
* Data directories:&lt;br /&gt;
** All active mailing lists: &amp;lt;code&amp;gt;/var/vmail/mlmmj&amp;lt;/code&amp;gt;. Including archive.&lt;br /&gt;
** Removed and archived mailing lists: &amp;lt;code&amp;gt;/var/vmail/mlmmj-archive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iRedAPD ==&lt;br /&gt;
&lt;br /&gt;
* Main config file is &amp;lt;code&amp;gt;/opt/iredapd/settings.py&amp;lt;/code&amp;gt; on all Linux/BSD distributions.&lt;br /&gt;
* Log file:&lt;br /&gt;
** With iRedAPD-1.7.0 and later releases, log file is &amp;lt;code&amp;gt;/var/log/iredapd/iredapd.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
** With iRedAPD-1.6.0 and older releases, log file is &amp;lt;code&amp;gt;/var/log/iredapd.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== iRedAdmin ==&lt;br /&gt;
Main config file: &amp;lt;code&amp;gt;/opt/www/iredadmin/settings.py&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
iRedAdmin is a web application, when debug mode is turned on, it will log error message to:&lt;br /&gt;
&lt;br /&gt;
* Debian/Ubuntu: &amp;lt;code&amp;gt;/var/log/uwsgi/app/iredadmin.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
* RHEL/CentOS: &amp;lt;code&amp;gt;/var/log/messages&amp;lt;/code&amp;gt;.&lt;br /&gt;
* OpenBSD: &amp;lt;code&amp;gt;/var/www/logs/uwsgi.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
* FreeBSD: &amp;lt;code&amp;gt;/var/log/uwsgi-iredadmin.log&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: If you modified any iRedAdmin source files (not just config file), don&amp;#039;t forget to restart &amp;lt;code&amp;gt;iredadmin&amp;lt;/code&amp;gt; service to load modified files.&lt;br /&gt;
&lt;br /&gt;
== Source ==&lt;br /&gt;
&lt;br /&gt;
* [https://docs.iredmail.org/file.locations.html iredmail.org]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
</feed>