On RHEL/CentOS: Apache config files are placed under /etc/httpd/
.
/etc/httpd/conf/httpd.conf
./etc/httpd/conf.d/
(old releases)
or /etc/httpd/conf.modules.d/
./var/www
, document
root is /var/www/html/
./var/www/httpd/
.On Debian/Ubuntu: Apache config files are placed under /etc/apache2
.
/etc/apache2/apache2.conf
./etc/apache2/conf.d/
(old
releases) or /etc/apache2/conf-available/
./usr/share/apache2
,
document root is /var/www/
(old releases) or /var/www/html/
./var/www/apache2/
.On FreeBSD: Apache config files are placed under /usr/local/etc/apache2
.
/usr/local/etc/apache2/httpd.conf
./usr/local/etc/apache2/Includes/
./usr/local/www/
,
document root is /usr/local/www/apache22/data/
./var/log/
, main log files are
/var/log/httpd-access.log
and /var/log/httpd-error.log
.On OpenBSD: Apache (the one shipped in OpenBSD base system) config files
are placed under /var/www/conf
.
/var/www/conf/httpd.conf
./var/www/conf/modules/
./var/www/
,
document root is /var/www/htdocs/
./var/www/logs/
.Linux
and OpenBSD: Nginx config files are placed under /etc/nginx/
,
uWSGI config files are placed under /etc/uwsgi/
./usr/local/etc/nginx
,
uWSGI config files are placed under /usr/local/etc/uwsgi/
.Main config files are nginx.conf
and default.conf
.
Linux
and FreeBSD: log files are placed under /var/log/nginx/
./var/www/logs/
(same as Apache).Linux
and OpenBSD, Postfix config files are placed under /etc/postfix/
./usr/local/etc/postfix/
.main.cf
: contains most configurations.master.cf
: contains transport related settings.aliases
: aliases for system accounts.helo_access.pcre
: PCRE regular expressions of HELO check rules.ldap/*.cf
: used to query mail accounts. LDAP backends only.mysql/*.cf
: used to query mail accounts. MySQL/MariaDB backends only.pgsql/*.cf
: used to query mail accounts. PostgreSQL backend only./var/log/maillog
./var/log/mail.log
.Linux
and OpenBSD, Dovecot config files are placed under /etc/dovecot/
./usr/local/etc/dovecot/
.Main config file is dovecot.conf
. It contains most configurations.
Addition config files:
dovecot-ldap.conf
: used to query mail users and passwords. LDAP backends only.dovecot-mysql.conf
: used to query mail users and passwords. MySQL/MariaDB backends only.dovecot-pgsql.conf
: used to query mail users and passwords. PostgreSQL backend only.dovecot-used-quota.conf
: used to store and query real-time per-user mailbox quota.dovecot-share-folder.conf
: used to store settings of shared IMAP mailboxes.dovecot-master-users-password
or dovecot-master-users
: used to store Dovecot master user accounts./var/log/dovecot.log
: main log file./var/log/dovecot-sieve.log
: sieve related log. NOTE: on old iRedMail
releases, it's /var/log/sieve.log
./var/log/dovecot-lmtp.log
: LMTP related log./etc/amavisd/amavisd.conf
.on Debian/Ubuntu: it's /etc/amavis/conf.d/50-user
.
Debian/Ubuntu have some addition config files under /etc/amavis/conf.d/
,
but you can always override them in /etc/amavis/conf.d/50-user
.
When we mention amavisd.conf
in other documents, it always means 50-user
on Debian/Ubuntu.
on FreeBSD: it's /usr/local/etc/amavisd.conf
.
/etc/amavisd.conf
.Amavisd is configured to log to Postfix log file by iRedMail.
Main config file is /opt/iredapd/settings.py
on all Linux/BSD distributions.
Main config file:
/var/www/iredadmin/settings.py
./usr/share/apache2/iredadmin/settings.py
./usr/local/www/iredadmin/settings.py
./var/www/iredadmin/settings.py
.iRedAdmin is a web application, when debug mode is turned on, it will log error
message to Apache/Nginx log file.
It logs to /var/log/iredapd.log
by default.
Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it.