2016-02-10 06:05:52 -06:00
|
|
|
# Locations of configuration and log files of major components
|
2014-10-10 23:05:53 -05:00
|
|
|
|
|
|
|
[TOC]
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## SSL certificate {: #ssl }
|
2015-12-21 08:34:13 -06:00
|
|
|
|
|
|
|
The self-signed SSL certificate generated during iRedMail installation:
|
|
|
|
|
|
|
|
* on RHEL/CentOS:
|
|
|
|
|
|
|
|
* `/etc/pki/tls/certs/iRedMail.crt`
|
|
|
|
* Private key: `/etc/pki/tls/private/iRedMail.key`
|
|
|
|
|
|
|
|
* on Debian/Ubuntu:
|
|
|
|
|
|
|
|
* `/etc/ssl/certs/iRedMail.crt`
|
|
|
|
* Private key: `/etc/ssl/private/iRedMail.key`
|
|
|
|
|
|
|
|
* on FreeBSD:
|
|
|
|
|
|
|
|
* `/etc/ssl/certs/iRedMail.crt`
|
|
|
|
* Private key: `/etc/ssl/private/iRedMail.key`
|
|
|
|
|
|
|
|
* on OpenBSD:
|
|
|
|
|
|
|
|
* `/etc/ssl/iRedMail.crt`
|
|
|
|
* Private key: `/etc/ssl/iRedMail.key`
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Postfix {: #postfix }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
|
|
|
* on `Linux` and OpenBSD, Postfix config files are placed under `/etc/postfix/`.
|
|
|
|
* on FreeBSD, Postfix config files are placed under `/usr/local/etc/postfix/`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Main config files: {: #postfix-config }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
|
|
|
* `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.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Log files {: #postfix-log }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
|
|
|
* on RHEL/CentOS, FreeBSD, OpenBSD, it's `/var/log/maillog`.
|
|
|
|
* on Debian, Ubuntu, it's `/var/log/mail.log`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Dovecot {: #dovecot }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
2018-02-06 06:16:45 -06:00
|
|
|
* on Linux and OpenBSD, Dovecot config files are placed under `/etc/dovecot/`.
|
2016-05-09 20:18:28 -05:00
|
|
|
* on FreeBSD, Dovecot config files are placed under `/usr/local/etc/dovecot/`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Config files {: #dovecot-config }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
|
|
|
Main config file is `dovecot.conf`. It contains most configurations.
|
|
|
|
|
|
|
|
Additional config files under `/etc/dovecot/`:
|
|
|
|
|
|
|
|
* `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.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Log files {: #dovecot-log }
|
2016-05-09 20:18:28 -05:00
|
|
|
|
2016-12-21 08:04:56 -06:00
|
|
|
* `/var/log/dovecot.log`: main log file.
|
|
|
|
|
2018-08-03 02:32:58 -05:00
|
|
|
* Since iRedMail-0.9.8, log files are under `/var/log/dovecot/` directory.
|
2016-12-21 08:04:56 -06:00
|
|
|
* Since iRedMail-0.9.6, on Linux:
|
2017-01-12 20:39:04 -06:00
|
|
|
* `/var/log/dovecot-imap.log`: IMAP service related log.
|
|
|
|
* `/var/log/dovecot-pop3.log`: POP3 service related log.
|
|
|
|
* `/var/log/dovecot-sieve.log`: Managesieve service related log.
|
|
|
|
* `/var/log/dovecot-lda.log`: Local mail delivery related log, including both sieve and LMTP.
|
2016-12-21 08:04:56 -06:00
|
|
|
|
|
|
|
* In iRedMail-0.9.5 and earlier versions, all Linux and BSD system:
|
|
|
|
* `/var/log/dovecot-sieve.log`: sieve LDA (Local Delivery Agent) related log.
|
|
|
|
Mail delivery related log will be logged in this file. NOTE: on old iRedMail
|
|
|
|
releases, it's `/var/log/sieve.log`.
|
|
|
|
* `/var/log/dovecot-lmtp.log`: LMTP related log. Mail delivery (via LMTP)
|
|
|
|
related log will be logged in this file. Note: there's no such file on
|
|
|
|
iRedMail-0.8.6 and old iRedMail releases.
|
2016-05-09 20:18:28 -05:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Nginx {: #nginx }
|
2014-10-28 21:26:22 -06:00
|
|
|
|
2017-10-03 21:16:30 -05:00
|
|
|
* On `Linux` and OpenBSD:
|
|
|
|
* Nginx config files are placed under `/etc/nginx/`
|
|
|
|
* uWSGI config files are placed under `/etc/uwsgi/`
|
|
|
|
* On FreeBSD:
|
|
|
|
* Nginx config files are placed under `/usr/local/etc/nginx`
|
|
|
|
* Web applications are stored under `/usr/local/www`
|
|
|
|
* uWSGI config files are placed under `/usr/local/etc/uwsgi/`
|
2014-10-28 21:26:22 -06:00
|
|
|
|
|
|
|
Main config files are `nginx.conf` and `default.conf`.
|
|
|
|
|
2014-12-07 22:25:42 -06:00
|
|
|
* On `Linux` and FreeBSD: log files are placed under `/var/log/nginx/`.
|
|
|
|
* On OpenBSD: log files are placed under `/var/www/logs/` (same as Apache).
|
2014-10-28 21:26:22 -06:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## PHP {: #php }
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2016-05-09 20:18:28 -05:00
|
|
|
Main config file:
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2016-05-09 20:18:28 -05:00
|
|
|
* on RHEL/CentOS: it's `/etc/php.ini`
|
|
|
|
* on Debian/Ubuntu:
|
|
|
|
* If you're running Apache as web server:
|
|
|
|
* If you're running PHP-5: it's `/etc/php5/apache2/php.ini` (Debian 8, Ubuntu 14.04)
|
|
|
|
* If you're running PHP-7: it's `/etc/php/7.0/cli/php.ini` (Ubuntu 16.04)
|
|
|
|
* If you're running Nginx as web server: it's `/etc/php5/fpm/php.ini`.
|
|
|
|
* If you're running PHP-5: it's `/etc/php5/fpm/php.ini` (Debian 8, Ubuntu 14.04)
|
|
|
|
* If you're running PHP-7: it's `/etc/php/7.0/fpm/php.ini` (Ubuntu 16.04)
|
|
|
|
* on FreeBSD: it's `/usr/local/etc/php.ini`.
|
|
|
|
* on OpenBSD: it's `/etc/php-5.X.ini`
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## OpenLDAP {: #openldap }
|
2015-02-24 08:23:40 -06:00
|
|
|
|
|
|
|
Main config file:
|
|
|
|
|
|
|
|
* on RHEL/CentOS: it's `/etc/openldap/slapd.conf`.
|
|
|
|
* on Debian/Ubuntu: it's `/etc/ldap/slapd.conf`.
|
|
|
|
* on FreeBSD: it's `/usr/local/etc/openldap/slapd.conf`.
|
|
|
|
* on OpenBSD: it's `/etc/openldap/slapd.conf`.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## MySQL, MariaDB {: #mysql }
|
2015-05-10 04:34:55 -05:00
|
|
|
|
|
|
|
Main config file:
|
|
|
|
|
2015-10-29 08:19:56 -06:00
|
|
|
* on RHEL/CentOS: `/etc/my.cnf`.
|
2015-05-10 04:34:55 -05:00
|
|
|
* on Debian/Ubuntu, it's `/etc/mysql/my.cnf`. If you're running MariaDB, it's
|
|
|
|
`/etc/mysql/mariadb.conf.d/mysqld.cnf`.
|
|
|
|
* on FreeBSD: `/var/db/mysql/my.cnf`.
|
2015-10-29 08:19:56 -06:00
|
|
|
* on OpenBSD: `/etc/my.cnf`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Roundcube webmail {: #roundcube }
|
2016-04-28 04:39:31 -05:00
|
|
|
|
|
|
|
* Root Directory. Roundcube webmail is installed under below directory by default:
|
|
|
|
|
2019-02-01 05:40:41 -06:00
|
|
|
* RHEL/CentOS: `/opt/www/roundcubemail`. It's a symbol link to `roundcubemail-x.y.z` under same directory.
|
|
|
|
|
|
|
|
Note: with old iRedMail releases, it's `/var/www/roundcubemail`.
|
|
|
|
|
2016-05-13 10:37:24 -05:00
|
|
|
* Debian/Ubuntu: `/opt/www/roundcubemail`. It's a symbol link to
|
|
|
|
`/opt/www/roundcubemail-x.y.z`.
|
2019-02-01 05:40:41 -06:00
|
|
|
|
2016-05-13 10:37:24 -05:00
|
|
|
Note: with old iRedMail releases, it's `/usr/share/apache2/roundcubemail`,
|
|
|
|
it's a symbol link to `/usr/share/apache2/roundcubemail-x.y.z/`.
|
2019-02-01 05:40:41 -06:00
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
* FreeBSD: `/usr/local/www/roundcube`.
|
2019-02-01 05:40:41 -06:00
|
|
|
* OpenBSD: `/opt/www/roundcubemail`. It's a symbol link to `roundcubemail-x.y.z`
|
|
|
|
under same directory.
|
|
|
|
|
|
|
|
Note: with old iRedMail releases, it's `/var/www/roundcubemail`.
|
2016-04-28 04:39:31 -05:00
|
|
|
|
2019-10-28 00:23:33 -06:00
|
|
|
* Config files:
|
2016-04-28 04:39:31 -05:00
|
|
|
|
|
|
|
* Main config file is `config/config.inc.php` under Roundcube webmail
|
|
|
|
directory.
|
|
|
|
|
|
|
|
If you're running old Roundcube webmail (0.9.x and earlier
|
|
|
|
releases), it has two separate config files: `config/db.inc.php` and
|
|
|
|
`config/main.inc.php`.
|
|
|
|
|
|
|
|
* Config files of plugins are placed under plugin directory. for example,
|
|
|
|
config file of `password` plugin is `plugins/password/config.inc.php`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
* Log file. Roundcube is configured to log to [Postfix log](#postfix) file by default.
|
|
|
|
{: #roundcube-log }
|
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
!!! 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`.
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Amavisd {: #amavisd }
|
2015-05-10 04:34:55 -05:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Main config files {: #amavisd-config }
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2014-12-07 22:25:42 -06:00
|
|
|
* on RHEL/CentOS: it's `/etc/amavisd/amavisd.conf`.
|
|
|
|
* on Debian/Ubuntu: it's `/etc/amavis/conf.d/50-user`.
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2015-01-04 10:17:26 -06:00
|
|
|
Debian/Ubuntu have some additional config files under `/etc/amavis/conf.d/`,
|
2014-12-07 22:25:42 -06:00
|
|
|
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.
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2014-12-07 22:25:42 -06:00
|
|
|
* on FreeBSD: it's `/usr/local/etc/amavisd.conf`.
|
|
|
|
* on OpenBSD: it's `/etc/amavisd.conf`.
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
### Log files {: #amavisd-log }
|
2014-10-10 23:05:53 -05:00
|
|
|
|
|
|
|
Amavisd is configured to log to [Postfix log file](#postfix) by iRedMail.
|
2014-12-07 22:25:42 -06:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## SpamAssassin {: #spamassassin }
|
2015-04-28 22:50:19 -05:00
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
!!! attention
|
2015-04-28 22:50:19 -05:00
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
With default iRedMail settings, SpamAssassin is called by Amavisd, not run as a daemon.
|
2015-04-28 22:50:19 -05:00
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
Main config file:
|
2016-07-20 18:22:08 -05:00
|
|
|
{: #spamassassin-config }
|
2015-07-14 04:15:46 -05:00
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
* On Linux/OpenBSD, it's `/etc/mail/spamassassin/local.cf`.
|
|
|
|
* On FreeBSD, it's `/usr/local/etc/mail/spamassassin/local.cf`.
|
|
|
|
|
|
|
|
SpamAssassin doesn't have a separated log file, to debug SpamAssassin, please
|
|
|
|
set `$sa_debug = 1;` in Amavisd config file, then restart Amavisd service.
|
2016-07-20 18:22:08 -05:00
|
|
|
{: #spamassassin-log }
|
2015-07-14 04:15:46 -05:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## Fail2ban {: #fail2ban }
|
2015-01-14 03:25:16 -06:00
|
|
|
|
2016-04-28 04:46:21 -05:00
|
|
|
Main config file:
|
2016-07-20 18:22:08 -05:00
|
|
|
{: #fail2ban-config }
|
2016-04-28 04:46:21 -05:00
|
|
|
|
|
|
|
* On Linux/OpenBSD, it's `/etc/fail2ban/jail.local`.
|
|
|
|
* On FreeBSD, it's `/usr/local/etc/fail2ban/jail.local`.
|
|
|
|
|
|
|
|
!!! 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:
|
|
|
|
|
|
|
|
* On Linux/OpenBSD, all filters are defined in files under `/etc/fail2ban/filter.d/`.
|
|
|
|
* On FreeBSD, all filters are defined in files under `/usr/local/etc/fail2ban/filter.d/`.
|
|
|
|
|
|
|
|
Ban/Unban actions:
|
2015-02-11 04:07:26 -06:00
|
|
|
|
2016-04-28 04:46:21 -05:00
|
|
|
* On Linux/OpenBSD, all actions are defined in files under `/etc/fail2ban/action.d/`.
|
|
|
|
* On FreeBSD, all filters are defined in files under `/usr/local/etc/fail2ban/action.d/`.
|
2015-02-11 04:07:26 -06:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
Log file: Fail2ban logs to default syslog log file.
|
|
|
|
{: #fail2ban-log }
|
|
|
|
|
|
|
|
* on RHEL/CentOS/OpenBSD/FreeBSD, it's `/var/log/messages`.
|
|
|
|
* on Debian/Ubuntu, it's `/var/log/syslog`.
|
2015-01-14 03:25:16 -06:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## SOGo Groupware {: #sogo }
|
2015-05-08 04:55:45 -05:00
|
|
|
|
2016-09-30 01:45:58 -05:00
|
|
|
* Main config file is
|
|
|
|
* on Linux/OpenBSD: `/etc/sogo/sogo.conf`
|
|
|
|
* on FreeBSD: `/usr/local/etc/sogo/sogo.conf`
|
2015-05-08 04:55:45 -05:00
|
|
|
* Log file is `/var/log/sogo/sogo.log`.
|
|
|
|
|
2018-03-15 07:03:05 -06:00
|
|
|
## mlmmjadmin {: #mlmmjadmin }
|
|
|
|
|
|
|
|
* Config file: `/opt/mlmmjadmin/settings.py` (same on all Linux/BSD distributions)
|
|
|
|
* Log file: `/var/log/mlmmjadmin/mlmmjadmin.log`
|
|
|
|
* Data directories:
|
|
|
|
* All active mailing lists: `/var/vmail/mlmmj`. Including archive.
|
|
|
|
* Removed and archived mailing lists: `/var/vmail/mlmmj-archive`
|
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## iRedAPD {: #iredapd }
|
2014-12-07 22:25:42 -06:00
|
|
|
|
2015-10-01 11:00:14 -05:00
|
|
|
* Main config file is `/opt/iredapd/settings.py` on all Linux/BSD distributions.
|
|
|
|
* Log file:
|
|
|
|
|
|
|
|
* With iRedAPD-1.7.0 and later releases, log file is `/var/log/iredapd/iredapd.log`.
|
|
|
|
* With iRedAPD-1.6.0 and older releases, log file is `/var/log/iredapd.log`.
|
2014-12-07 22:25:42 -06:00
|
|
|
|
2016-07-20 18:22:08 -05:00
|
|
|
## iRedAdmin {: #iredadmin }
|
2014-12-07 22:25:42 -06:00
|
|
|
|
|
|
|
Main config file:
|
|
|
|
|
2019-02-01 05:40:41 -06:00
|
|
|
* on RHEL/CentOS, it's `/opt/www/iredadmin/settings.py`.
|
|
|
|
|
|
|
|
Note: on old iRedMail releases, it's `/var/www/iredadmin/settings.py`.
|
|
|
|
|
|
|
|
* on Debian/Ubuntu, it's `/opt/www/iredadmin/settings.py`.
|
|
|
|
|
|
|
|
Note: on old iRedMail releases, it's `/usr/share/apache2/iredadmin/settings.py`.
|
|
|
|
|
2019-11-20 07:39:55 -06:00
|
|
|
* on FreeBSD, it's `/opt/www/iredadmin/settings.py`.
|
|
|
|
|
|
|
|
Note: on old iRedMail releases, it's `/usr/local/www/iredadmin/settings.py`.
|
|
|
|
|
2019-02-01 05:40:41 -06:00
|
|
|
* on OpenBSD, it's `/opt/www/iredadmin/settings.py`.
|
|
|
|
|
|
|
|
Note: on old iRedMail releases, it's `/var/www/iredadmin/settings.py`.
|
2014-12-07 22:25:42 -06:00
|
|
|
|
|
|
|
iRedAdmin is a web application, when debug mode is turned on, it will log error
|
2016-10-19 22:24:16 -05:00
|
|
|
message to:
|
|
|
|
|
|
|
|
* If you're running Apache, it logs to [Apache ssl error log file](#apache).
|
|
|
|
* If you're running Nginx with uwsgi:
|
|
|
|
* on Debian/Ubuntu, it logs to `/var/log/uwsgi/app/iredadmin.log`.
|
|
|
|
* on RHEL/CentOS, it logs to `/var/log/messages`.
|
|
|
|
* on OpenBSD, it logs to `/var/www/logs/uwsgi.log`.
|
|
|
|
* on FreeBSD, it logs to `/var/log/uwsgi-iredadmin.log`.
|
2015-01-12 07:25:58 -06:00
|
|
|
|
|
|
|
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.
|
2016-04-28 04:39:31 -05:00
|
|
|
|
2019-02-01 05:40:41 -06:00
|
|
|
## <strike>Apache</strike> {: #apache }
|
|
|
|
|
|
|
|
!!! warning
|
|
|
|
|
|
|
|
Apache was dropped since iRedMail-0.9.8.
|
|
|
|
|
|
|
|
* On RHEL/CentOS: Apache config files are placed under `/etc/httpd/`.
|
|
|
|
|
|
|
|
* Main config file is `/etc/httpd/conf/httpd.conf`.
|
|
|
|
* Module config files are placed under `/etc/httpd/conf.d/` (old releases)
|
|
|
|
or `/etc/httpd/conf.modules.d/`.
|
|
|
|
* Root directory used to store web applications is `/var/www`, document
|
|
|
|
root is `/var/www/html/`.
|
|
|
|
* Log files are placed under `/var/www/httpd/`.
|
|
|
|
|
|
|
|
* On Debian/Ubuntu: Apache config files are placed under `/etc/apache2`.
|
|
|
|
|
|
|
|
* Main config file is `/etc/apache2/apache2.conf`.
|
|
|
|
* Module config files are placed under `/etc/apache2/conf.d/` (old
|
|
|
|
releases) or `/etc/apache2/conf-available/`.
|
|
|
|
* Root directory used to store web applications is `/usr/share/apache2`,
|
|
|
|
document root is `/var/www/` (old releases) or `/var/www/html/`.
|
|
|
|
* Log files are placed under `/var/log/apache2/`.
|
|
|
|
|
|
|
|
* On FreeBSD: Apache config files are placed under `/usr/local/etc/apache2`.
|
|
|
|
|
|
|
|
* Main config file is `/usr/local/etc/apache2/httpd.conf`.
|
|
|
|
* Module config files are placed under `/usr/local/etc/apache2/Includes/`.
|
|
|
|
* Root directory used to store web applications is `/usr/local/www/`,
|
|
|
|
document root is `/usr/local/www/apacheXX/data/`.
|
|
|
|
* Log files are placed under `/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`.
|
|
|
|
|
|
|
|
* Main config file is `/var/www/conf/httpd.conf`.
|
|
|
|
* Module config files are placed under `/var/www/conf/modules/`.
|
|
|
|
* Root directory used to store web applications is `/var/www/`,
|
|
|
|
document root is `/var/www/htdocs/`.
|
|
|
|
* Log files are placed under `/var/www/logs/`.
|
|
|
|
|
2016-04-28 04:39:31 -05:00
|
|
|
## <strike>Cluebringer</strike>
|
|
|
|
|
|
|
|
!!! warning
|
|
|
|
|
|
|
|
Policyd/Cluebringer were removed since iRedMail-0.9.3.
|
|
|
|
|
|
|
|
Main config file:
|
|
|
|
|
|
|
|
* RHEL/CentOS: `/etc/policyd/cluebringer.conf`, `/etc/policyd/webui.conf` (web admin panel).
|
|
|
|
* Debian/Ubuntu: `/etc/cluebringer/cluebringer.conf`, `/etc/cluebringer/cluebringer-webui.conf` (web admin panel).
|
|
|
|
* FreeBSD: `/usr/local/etc/cluebringer.conf`, `/usr/local/etc/apache24/cluebringer.conf` (web admin panel).
|
|
|
|
* OpenBSD: Not applicable, cluebringer is not available on OpenBSD.
|
|
|
|
|
|
|
|
Init script:
|
|
|
|
|
|
|
|
* RHEL/CentOS: `/etc/init.d/cbpolicyd`
|
|
|
|
* Debian/Ubuntu: `/etc/init.d/postfix-cluebringer`
|
|
|
|
* FreeBSD: `/usr/local/etc/rc.d/policyd2`
|
|
|
|
* OpenBSD: N/A. we don't have Cluebringer installed on OpenBSD.
|