Changeset 1134
- Timestamp:
- 05/03/2008 12:25:41 AM
(2 months ago)
- Author:
- rats
- Message:
* Fixed #1222: FreeBSD: Fix some path and config and insert old daemon routine
* Fixed #1195: Gentoo: Somewhat large Gentoo update
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1056 |
r1134 |
|
| 31 | 31 | # |
|---|
| 32 | 32 | |
|---|
| | 33 | |
|---|
| 33 | 34 | .ifdef $(OSTYPE)==FreeBSD |
|---|
| 34 | 35 | .include <Makefile.fbsd> |
|---|
| … | … | |
| 38 | 39 | |
|---|
| 39 | 40 | install: |
|---|
| 40 | | |
|---|
| | 41 | # |
|---|
| | 42 | # Preparing ISPCP System Directory and files |
|---|
| | 43 | # |
|---|
| 41 | 44 | cd ./tools && $(MAKE) install |
|---|
| 42 | 45 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF) |
|---|
| … | … | |
| 53 | 56 | cd ./keys && $(MAKE) install |
|---|
| 54 | 57 | |
|---|
| | 58 | # |
|---|
| 55 | 59 | # Patch some variable |
|---|
| | 60 | # |
|---|
| 56 | 61 | /usr/bin/sed s/"\/etc\/ispcp\/ispcp.conf"/"\/usr\/local\/etc\/ispcp\/ispcp.conf"/g ./engine/ispcp_common_code.pl > $(SYSTEM_ROOT)/engine/ispcp_common_code.pl |
|---|
| 57 | | /usr/bin/sed s/"\/apache\"\;"/"\/apache22\"\;"/g ./engine/setup/ispcp-setup-methods.pl > $(SYSTEM_ROOT)/engine/setup/ispcp-setup-methods.pl |
|---|
| | 62 | |
|---|
| | 63 | .if exists ($(SYSTEM_WEB)/ispcp/engine/ispcp-db-keys.pl) |
|---|
| | 64 | # |
|---|
| | 65 | # Previous database key detected, assuming being perform Upgrade Procedure |
|---|
| | 66 | # |
|---|
| | 67 | cp $(SYSTEM_WEB)/ispcp/engine/ispcp-db-keys.pl $(SYSTEM_ROOT)/engine/ |
|---|
| | 68 | cp $(SYSTEM_WEB)/ispcp/engine/messager/ispcp-db-keys.pl $(SYSTEM_ROOT)/engine/messager/ |
|---|
| | 69 | cp $(SYSTEM_WEB)/ispcp/gui/include/ispcp-db-keys.php $(SYSTEM_ROOT)/gui/include/ |
|---|
| | 70 | cp $(SYSTEM_WEB)/ispcp/gui/tools/pma/config.inc.php $(SYSTEM_ROOT)/gui/tools/pma/ |
|---|
| | 71 | .endif |
|---|
| 58 | 72 | |
|---|
| 59 | 73 | cd ${INST_PREF} && cp -R * / |
|---|
| 60 | 74 | rm -rf ${INST_PREF} |
|---|
| 61 | 75 | |
|---|
| | 76 | # |
|---|
| | 77 | # |
|---|
| | 78 | # If Some error occured please read FAQ first and search at forum in http://www.isp-control.net |
|---|
| | 79 | # Go to $(SYSTEM_WEB)/ispcp/engine/setup and type "ispcp-setup" to configure or "ispcp-upgrade" |
|---|
| | 80 | # to complete upgrade process |
|---|
| 62 | 81 | |
|---|
| 63 | 82 | uninstall: |
|---|
| … | … | |
| 81 | 100 | |
|---|
| 82 | 101 | cd ./tools/daemon && $(MAKE) clean |
|---|
| | 102 | |
|---|
| | 103 | |
|---|
| r1103 |
r1134 |
|
| 38 | 38 | |
|---|
| 39 | 39 | ROOT_CONF=$(INST_PREF)/usr/local/etc |
|---|
| 40 | | SYSTEM_ROOT=$(INST_PREF)/usr/local/www/ispcp |
|---|
| | 40 | SYSTEM_WEB=/usr/local/www |
|---|
| | 41 | SYSTEM_ROOT=$(INST_PREF)$(SYSTEM_WEB)/ispcp |
|---|
| 41 | 42 | SYSTEM_CONF=$(INST_PREF)/usr/local/etc/ispcp |
|---|
| 42 | 43 | SYSTEM_LOG=$(INST_PREF)/var/log/ispcp |
|---|
| 43 | | SYSTEM_APACHE_BACK_LOG=$(INST_PREF)/usr/local/www/logs/backup |
|---|
| 44 | | SYSTEM_VIRTUAL=$(INST_PREF)/usr/local/www/data/virtual |
|---|
| 45 | | SYSTEM_AWSTATS=$(INST_PREF)/usr/local/www/awstats |
|---|
| 46 | | SYSTEM_FCGI=$(INST_PREF)/usr/local/www/data/fcgi |
|---|
| | 44 | SYSTEM_APACHE_BACK_LOG=$(INST_PREF)$(SYSTEM_WEB)/logs/backup |
|---|
| | 45 | SYSTEM_VIRTUAL=$(INST_PREF)$(SYSTEM_WEB)/data/virtual |
|---|
| | 46 | SYSTEM_AWSTATS=$(INST_PREF)$(SYSTEM_WEB)/awstats |
|---|
| | 47 | SYSTEM_FCGI=$(INST_PREF)$(SYSTEM_WEB)/data/fcgi |
|---|
| 47 | 48 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 48 | 49 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| r1101 |
r1134 |
|
| 41 | 41 | SYSTEM_CONF=$(INST_PREF)/etc/ispcp |
|---|
| 42 | 42 | SYSTEM_LOG=$(INST_PREF)/var/log/ispcp |
|---|
| | 43 | SYSTEM_PROFTPD_LOG=$(INST_PREF)/var/log/proftpd |
|---|
| 43 | 44 | SYSTEM_APACHE_BACK_LOG=$(INST_PREF)/var/log/apache2/backup |
|---|
| | 45 | SYSTEM_APACHE_USERS_LOG=$(INST_PREF)/var/log/apache2/users |
|---|
| 44 | 46 | SYSTEM_VIRTUAL=$(INST_PREF)/var/www/virtual |
|---|
| 45 | 47 | SYSTEM_AWSTATS=$(INST_PREF)/var/www/awstats |
|---|
| 46 | 48 | SYSTEM_FCGI=$(INST_PREF)/var/www/fcgi |
|---|
| 47 | 49 | SYSTEM_SCOREBOARDS=$(INST_PREF)/var/www/scoreboards |
|---|
| 48 | | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| | 50 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/spool/mail/virtual |
|---|
| 49 | 51 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 50 | 52 | SYSTEM_MAKE_FILE=/bin/touch |
|---|
| 51 | 53 | |
|---|
| 52 | | POSTFIX_SASLDB2_DIR=$(INST_PREF)/var/spool/postfix/etc |
|---|
| | 54 | POSTFIX_SASLDB2_DIR=$(INST_PREF)/etc/sasl2 |
|---|
| 53 | 55 | |
|---|
| 54 | 56 | export |
|---|
| … | … | |
| 68 | 70 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_AWSTATS) |
|---|
| 69 | 71 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_MAIL_VIRTUAL) |
|---|
| | 72 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_PROFTPD_LOG) |
|---|
| 70 | 73 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_BACK_LOG) |
|---|
| | 74 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_USERS_LOG) |
|---|
| 71 | 75 | $(SYSTEM_MAKE_DIRS) $(POSTFIX_SASLDB2_DIR) |
|---|
| 72 | 76 | |
|---|
| r1129 |
r1134 |
|
| 71 | 71 | <IfModule mod_php4.c> |
|---|
| 72 | 72 | <Directory {ROOT_DIR}/gui> |
|---|
| 73 | | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}" |
|---|
| | 73 | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/sbin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}" |
|---|
| 74 | 74 | php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" |
|---|
| 75 | 75 | php_admin_value upload_tmp_dir "{ROOT_DIR}/gui/phptmp/" |
|---|
| … | … | |
| 78 | 78 | <IfModule mod_php5.c> |
|---|
| 79 | 79 | <Directory {ROOT_DIR}/gui> |
|---|
| 80 | | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}" |
|---|
| | 80 | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/sbin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}" |
|---|
| 81 | 81 | php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" |
|---|
| 82 | 82 | php_admin_value upload_tmp_dir "{ROOT_DIR}/gui/phptmp/" |
|---|
| r1001 |
r1134 |
|
| | 1 | # httpd Data BEGIN. |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | # |
|---|
| 3 | | # This file will be replaced by ../httpd.conf when make is executed |
|---|
| | 4 | # wget-hack prevention |
|---|
| 4 | 5 | # |
|---|
| | 6 | |
|---|
| | 7 | <IfModule mod_rewrite.c> |
|---|
| | 8 | RewriteEngine on |
|---|
| | 9 | RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple |
|---|
| | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| | 11 | </IfModule> |
|---|
| | 12 | |
|---|
| | 13 | # |
|---|
| | 14 | # Web traffic accounting. |
|---|
| | 15 | # |
|---|
| | 16 | |
|---|
| | 17 | LogFormat "%B" traff |
|---|
| | 18 | |
|---|
| | 19 | # |
|---|
| | 20 | # mod_cband configuration |
|---|
| | 21 | # |
|---|
| | 22 | |
|---|
| | 23 | <IfModule mod_cband.c> |
|---|
| | 24 | CBandScoreFlushPeriod 10 |
|---|
| | 25 | CBandRandomPulse On |
|---|
| | 26 | </IfModule> |
|---|
| | 27 | |
|---|
| | 28 | # |
|---|
| | 29 | # let the customer decide what charset he likes to use |
|---|
| | 30 | # |
|---|
| | 31 | |
|---|
| | 32 | AddDefaultCharset Off |
|---|
| | 33 | |
|---|
| | 34 | # |
|---|
| | 35 | # Header End |
|---|
| | 36 | # |
|---|
| | 37 | |
|---|
| | 38 | # httpd [{IP}] virtual host entry BEGIN. |
|---|
| | 39 | # httpd [{IP}] virtual host entry END. |
|---|
| | 40 | |
|---|
| | 41 | # httpd Data END. |
|---|
| r1113 |
r1134 |
|
| 109 | 109 | #smtpd_use_tls = yes |
|---|
| 110 | 110 | #smtpd_tls_loglevel = 2 |
|---|
| 111 | | #smtpd_tls_cert_file = /etc/postfix/cert.pem |
|---|
| 112 | | #smtpd_tls_key_file = /etc/postfix/privkey.pem |
|---|
| | 111 | #smtpd_tls_cert_file = /usr/local/etc/postfix/cert.pem |
|---|
| | 112 | #smtpd_tls_key_file = /usr/local/etc/postfix/privkey.pem |
|---|
| 113 | 113 | #smtpd_tls_auth_only = no |
|---|
| 114 | 114 | #smtpd_tls_received_header = yes |
|---|
| r1129 |
r1134 |
|
| 48 | 48 | |
|---|
| 49 | 49 | <IfModule suexec_module> |
|---|
| 50 | | SuexecUserGroup vu2000 vu2000 |
|---|
| | 50 | SuexecUserGroup {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| 51 | 51 | </IfModule> |
|---|
| 52 | 52 | |
|---|
| r1118 |
r1134 |
|
| 33 | 33 | ROOT_APACHE_CONF=$(ROOT_CONF)/apache2 |
|---|
| 34 | 34 | |
|---|
| 35 | | RELEASE=`cat /etc/debian_version | awk '{print $1}'` |
|---|
| 36 | | |
|---|
| 37 | 35 | export |
|---|
| 38 | 36 | |
|---|
| … | … | |
| 41 | 39 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/apache |
|---|
| 42 | 40 | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF) |
|---|
| 43 | | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/sites-available |
|---|
| 44 | | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/mods-available |
|---|
| | 41 | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/vhosts.d |
|---|
| | 42 | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/modules.d |
|---|
| 45 | 43 | $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/ispcp |
|---|
| 46 | 44 | |
|---|
| 47 | 45 | cp ./httpd.conf $(SYSTEM_CONF)/apache |
|---|
| | 46 | cp ./fastcgi_ispcp.conf $(SYSTEM_CONF)/apache |
|---|
| 48 | 47 | cp ./00_master.conf $(SYSTEM_CONF)/apache |
|---|
| 49 | 48 | cp ./01_awstats.conf $(SYSTEM_CONF)/apache |
|---|
| … | … | |
| 52 | 51 | cp -R ./working $(SYSTEM_CONF)/apache |
|---|
| 53 | 52 | |
|---|
| | 53 | cp ./fastcgi_ispcp.conf $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf |
|---|
| 54 | 54 | cp ./httpd.conf $(SYSTEM_CONF)/apache/working/ispcp.conf |
|---|
| 55 | 55 | cp ./httpd.conf $(SYSTEM_CONF)/apache/parts/ispcp_base.tpl |
|---|
| 56 | 56 | |
|---|
| 57 | | # Debian 4.0 "Etch"? |
|---|
| 58 | | if [[ $(RELEASE) = '4.0' ]] || [[ $(RELEASE) = 'lenny/sid' ]]; then \ |
|---|
| 59 | | cp ./fastcgi2.conf $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf ; \ |
|---|
| 60 | | else \ |
|---|
| 61 | | cp ./fastcgi.conf $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf ; \ |
|---|
| 62 | | fi |
|---|
| 63 | | |
|---|
| 64 | | cp -R $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf $(ROOT_APACHE_CONF)/mods-available/fastcgi_ispcp.conf |
|---|
| 65 | 57 | |
|---|
| 66 | 58 | uninstall: |
|---|
| r1082 |
r1134 |
|
| 1 | | # |
|---|
| 2 | | # ispCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 3 | | # |
|---|
| 4 | | # @copyright 2006-2008 by ispCP | http://isp-control.net |
|---|
| 5 | | # @version SVN: $ID$ |
|---|
| 6 | | # @link http://isp-control.net |
|---|
| 7 | | # @author ispCP Team |
|---|
| 8 | | # |
|---|
| 9 | | # @license |
|---|
| 10 | | # This program is free software; you can redistribute it and/or modify it under |
|---|
| 11 | | # the terms of the MPL General Public License as published by the Free Software |
|---|
| 12 | | # Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| 13 | | # version. |
|---|
| 14 | | # You should have received a copy of the MPL Mozilla Public License along with |
|---|
| 15 | | # this program; if not, write to the Open Source Initiative (OSI) |
|---|
| 16 | | # http://opensource.org | osi@opensource.org |
|---|
| 17 | | # |
|---|
| 18 | | ################################################################################ |
|---|
| 19 | | |
|---|
| 20 | | <IfModule mod_fastcgi.c> |
|---|
| 21 | | FastCgiWrapper On |
|---|
| 22 | | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| 23 | | |
|---|
| 24 | | FastCgiConfig -minProcesses 1 \ |
|---|
| 25 | | -maxProcesses 400 \ |
|---|
| 26 | | -maxClassProcesses 5 \ |
|---|
| 27 | | -multiThreshold 80 \ |
|---|
| 28 | | -killInterval 60 \ |
|---|
| 29 | | -startDelay 5 |
|---|
| 30 | | # -singleThreshold 100 \ |
|---|
| 31 | | # -autoUpdate \ |
|---|
| 32 | | # -pass-header HTTP_AUTHORIZATION |
|---|
| 33 | | |
|---|
| 34 | | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -idle-timeout 300 |
|---|
| 35 | | |
|---|
| 36 | | # |
|---|
| 37 | | # PHP{PHP_VERSION} SUPPORT |
|---|
| 38 | | # |
|---|
| 39 | | |
|---|
| 40 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 41 | | |
|---|
| 42 | | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| 43 | | SetHandler fastcgi-script |
|---|
| 44 | | Options +ExecCGI |
|---|
| 45 | | </Location> |
|---|
| 46 | | |
|---|
| 47 | | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| 48 | | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| 49 | | </IfModule> |
|---|
| r1082 |
r1134 |
|
| 1 | | # |
|---|
| 2 | | # ispCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 3 | | # |
|---|
| 4 | | # @copyright 2006-2008 by ispCP | http://isp-control.net |
|---|
| 5 | | # @version SVN: $ID$ |
|---|
| 6 | | # @link http://isp-control.net |
|---|
| 7 | | # @author ispCP Team |
|---|
| 8 | | # |
|---|
| 9 | | # @license |
|---|
| 10 | | # This program is free software; you can redistribute it and/or modify it under |
|---|
| 11 | | # the terms of the MPL General Public License as published by the Free Software |
|---|
| 12 | | # Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| 13 | | # version. |
|---|
| 14 | | # You should have received a copy of the MPL Mozilla Public License along with |
|---|
| 15 | | # this program; if not, write to the Open Source Initiative (OSI) |
|---|
| 16 | | # http://opensource.org | osi@opensource.org |
|---|
| 17 | | # |
|---|
| 18 | | ################################################################################ |
|---|
| 19 | | |
|---|
| 20 | | <IfModule mod_fastcgi.c> |
|---|
| 21 | | FastCgiWrapper On |
|---|
| 22 | | FastCgiIpcDir /var/lib/apache2/fastcgi2 |
|---|
| 23 | | |
|---|
| 24 | | FastCgiConfig -minProcesses 1 \ |
|---|
| 25 | | -maxProcesses 400 \ |
|---|
| 26 | | -maxClassProcesses 5 \ |
|---|
| 27 | | -multiThreshold 80 \ |
|---|
| 28 | | -killInterval 60 \ |
|---|
| 29 | | -startDelay 5 |
|---|
| 30 | | # -singleThreshold 100 \ |
|---|
| 31 | | # -autoUpdate \ |
|---|
| 32 | | # -pass-header HTTP_AUTHORIZATION |
|---|
| 33 | | |
|---|
| 34 | | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -idle-timeout 300 |
|---|
| 35 | | |
|---|
| 36 | | # |
|---|
| 37 | | # PHP{PHP_VERSION} SUPPORT |
|---|
| 38 | | # |
|---|
| 39 | | |
|---|
| 40 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 41 | | |
|---|
| 42 | | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| 43 | | SetHandler fastcgi-script |
|---|
| 44 | | Options +ExecCGI |
|---|
| 45 | | </Location> |
|---|
| 46 | | |
|---|
| 47 | | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| 48 | | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| 49 | | </IfModule> |
|---|
| r653 |
r1134 |
|
| 21 | 21 | </Directory> |
|---|
| 22 | 22 | </IfModule> |
|---|
| | 23 | <IfModule mod_fcgid.c> |
|---|
| | 24 | ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ |
|---|
| | 25 | ScriptAlias /php5/ {STARTER_DIR}/{DMN_NAME}/ |
|---|
| | 26 | <Directory "/var/www/virtual/{DMN_NAME}/htdocs"> |
|---|
| | 27 | FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php |
|---|
| | 28 | AddHandler fcgid-script .php |
|---|
| | 29 | Options +ExecCGI |
|---|
| | 30 | </Directory> |
|---|
| | 31 | </IfModule> |
|---|
| r642 |
r1134 |
|
| 9 | 9 | RemoveType .php |
|---|
| 10 | 10 | </IfModule> |
|---|
| | 11 | <IfModule mod_fcgid.c> |
|---|
| | 12 | RemoveHandler .php |
|---|
| | 13 | RemoveType .php |
|---|
| | 14 | </IfModule> |
|---|
| r908 |
r1134 |
|
| 21 | 21 | </Directory> |
|---|
| 22 | 22 | </IfModule> |
|---|
| 23 | | <IfModule mod_fcgid.c> |
|---|
| 24 | | <Directory "/var/www/virtual/{DMN_NAME}/htdocs"> |
|---|
| 25 | | FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php |
|---|
| 26 | | AddHandler fcgid-script .php |
|---|
| 27 | | Options +ExecCGI |
|---|
| 28 | | </Directory> |
|---|
| 29 | | </IfModule> |
|---|
| | 23 | <IfModule mod_fcgid.c> |
|---|
| | 24 | <Directory "{STARTER_DIR}/{DMN_NAME}"> |
|---|
| | 25 | AllowOverride None |
|---|
| | 26 | Options +ExecCGI -MultiViews -Indexes |
|---|
| | 27 | Order allow,deny |
|---|
| | 28 | Allow from all |
|---|
| | 29 | </Directory> |
|---|
| | 30 | <Location /> |
|---|
| | 31 | FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php |
|---|
| | 32 | AddHandler fcgid-script .php |
|---|
| | 33 | Options +ExecCGI |
|---|
| | 34 | Order allow,deny |
|---|
| | 35 | Allow from all |
|---|
| | 36 | </Location> |
|---|
| | 37 | </IfModule> |
|---|
| r642 |
r1134 |
|
| 9 | 9 | RemoveType .php |
|---|
| 10 | 10 | </IfModule> |
|---|
| | 11 | <IfModule mod_fcgid.c> |
|---|
| | 12 | RemoveHandler .php |
|---|
| | 13 | RemoveType .php |
|---|
| | 14 | </IfModule> |
|---|
| r1127 |
r1134 |
|
| 2 | 2 | <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/cgi-bin> |
|---|
| 3 | 3 | AllowOverride AuthConfig |
|---|
| 4 | | #Options ExecCGI |
|---|
| | 4 | Options ExecCGI |
|---|
| 5 | 5 | Order allow,deny |
|---|
| 6 | 6 | Allow from all |
|---|
| r653 |
r1134 |
|
| 21 | 21 | </Directory> |
|---|
| 22 | 22 | </IfModule> |
|---|
| | 23 | <IfModule mod_fcgid.c> |
|---|
| | 24 | <Directory "{STARTER_DIR}/{DMN_NAME}"> |
|---|
| | 25 | AllowOverride None |
|---|
| | 26 | Options +ExecCGI -MultiViews -Indexes |
|---|
| | 27 | Order allow,deny |
|---|
| | 28 | Allow from all |
|---|
| | 29 | </Directory> |
|---|
| | 30 | <Location /> |
|---|
| | 31 | FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php |
|---|
| | 32 | AddHandler fcgid-script .php |
|---|
| | 33 | Options +ExecCGI |
|---|
| | 34 | Order allow,deny |
|---|
| | 35 | Allow from all |
|---|
| | 36 | </Location> |
|---|
| | 37 | </IfModule> |
|---|
| r642 |
r1134 |
|
| 9 | 9 | RemoveType .php |
|---|
| 10 | 10 | </IfModule> |
|---|
| | 11 | <IfModule mod_fcgid.c> |
|---|
| | 12 | RemoveHandler .php |
|---|
| | 13 | RemoveType .php |
|---|
| | 14 | </IfModule> |
|---|
| r1082 |
r1134 |
|
| 1 | | # ISPCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 2 | | # Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 1 | |
|---|
| 3 | 2 | # |
|---|
| | 3 | # This file will be replaced by ../ispcp when make is executed |
|---|
| 4 | 4 | # |
|---|
| 5 | | # License: |
|---|
| 6 | | # This program is free software; you can redistribute it and/or |
|---|
| 7 | | # modify it under the terms of the GPL General Public License |
|---|
| 8 | | # as published by the Free Software Foundation; either version 2.0 |
|---|
| 9 | | # of the License, or (at your option) any later version. |
|---|
| 10 | | # |
|---|
| 11 | | # This program is distributed in the hope that it will be useful, |
|---|
| 12 | | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | # GPL General Public License for more details. |
|---|
| 15 | | # |
|---|
| 16 | | # You may have received a copy of the GPL General Public License |
|---|
| 17 | | # along with this program. |
|---|
| 18 | | # |
|---|
| 19 | | # An on-line copy of the GPL General Public License can be found |
|---|
| 20 | | # http://www.fsf.org/licensing/licenses/gpl.txt |
|---|
| 21 | | # |
|---|
| 22 | | ######################################################################## |
|---|
| 23 | | # |
|---|
| 24 | | # @TODO : |
|---|
| 25 | | # - Finish config Fastcgi |
|---|
| 26 | | |
|---|
| 27 | | <IfModule mod_fastcgi.c> |
|---|
| 28 | | FastCgiWrapper On |
|---|
| 29 | | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| 30 | | FastCgiConfig -minProcesses 1 \ |
|---|
| 31 | | -maxProcesses 400 \ |
|---|
| 32 | | -maxClassProcesses 5 \ |
|---|
| 33 | | -multiThreshold 80 \ |
|---|
| 34 | | -killInterval 60 \ |
|---|
| 35 | | -startDelay 5 |
|---|
| 36 | | # -singleThreshold 100 \ |
|---|
| 37 | | # -autoUpdate \ |
|---|
| 38 | | # -pass-header HTTP_AUTHORIZATION |
|---|
| 39 | | |
|---|
| 40 | | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -idle-timeout 300 |
|---|
| 41 | | |
|---|
| 42 | | # |
|---|
| 43 | | # PHP{PHP_VERSION} SUPPORT |
|---|
| 44 | | # |
|---|
| 45 | | |
|---|
| 46 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 47 | | |
|---|
| 48 | | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| 49 | | SetHandler fastcgi-script |
|---|
| 50 | | Options +ExecCGI |
|---|
| 51 | | </Location> |
|---|
| 52 | | |
|---|
| 53 | | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| 54 | | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| 55 | | </IfModule> |
|---|
| r1118 |
r1134 |
|
| 42 | 42 | $(SYSTEM_MAKE_DIRS) $(ROOT_AUTHLIB_CONF) |
|---|
| 43 | 43 | $(SYSTEM_MAKE_DIRS) $(ROOT_COURIER_IMAP_CONF) |
|---|
| 44 | | $(SYSTEM_MAKE_DIRS) $(INST_PREF)/var/run/courier |
|---|
| 45 | 44 | $(SYSTEM_MAKE_FILE) $(INST_PREF)/var/log/mail.log |
|---|
| 46 | 45 | |
|---|
| r1103 |
r1134 |
|
| 40 | 40 | cp -R ./parts $(SYSTEM_CONF)/cron.d |
|---|
| 41 | 41 | cp -R ./working $(SYSTEM_CONF)/cron.d |
|---|
| 42 | | $(SYSTEM_MAKE_FILE) $(SYSTEM_CONF)/cron.d/backup/ispcp |
|---|
| 43 | | $(SYSTEM_MAKE_FILE) $(SYSTEM_CONF)/cron.d/working/ispcp |
|---|
| 44 | 42 | cp $(SYSTEM_CONF)/cron.d/ispcp $(SYSTEM_CONF)/cron.d/working |
|---|
| 45 | 43 | |
|---|
| r1129 |
r1134 |
|
| 75 | 75 | ('PORT_DNS', '53;tcp;DNS;1;0'), |
|---|
| 76 | 76 | ('PORT_HTTP', '80;tcp;HTTP;1;0'), |
|---|
| 77 | | ('PORT_HTTPS', '443;tcp;HTTPS;0;0'), |
|---|
| | 77 | ('PORT_HTTPS', '443;tcp;HTTPS;1;0'), |
|---|
| 78 | 78 | ('PORT_POP3', '110;tcp;POP3;1;0'), |
|---|
| 79 | 79 | ('PORT_POP3-SSL', '995;tcp;POP3-SSL;1;0'), |
|---|
| 80 | 80 | ('PORT_IMAP', '143;tcp;IMAP;1;0'), |
|---|
| 81 | | ('PORT_IMAP-SSL', '993;tcp;IMAP-SSL;0;0'), |
|---|
| 82 | | ('PORT_POSTGREY', '60000;tcp;POSTGREY;1;1'), |
|---|
| | 81 | ('PORT_IMAP-SSL', '993;tcp;IMAP-SSL;1;0'), |
|---|
| | 82 | ('PORT_POSTGREY', '10030;tcp;POSTGREY;1;1'), |
|---|
| 83 | 83 | ('PORT_AMAVIS', '10024;tcp;AMaVis;1;1'), |
|---|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| r1118 |
r1134 |
|
| 36 | 36 | |
|---|
| 37 | 37 | $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/init.d |
|---|
| 38 | | $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/default |
|---|
| | 38 | $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/conf.d |
|---|
| 39 | 39 | |
|---|
| 40 | 40 | cp ispcp_daemon $(ROOT_CONF)/init.d |
|---|
| … | … | |
| 44 | 44 | chmod 0755 $(ROOT_CONF)/init.d/ispcp_network $(ROOT_CONF)/init.d/ispcp_daemon |
|---|
| 45 | 45 | |
|---|
| 46 | | if [[ -f ispcp_daemon.default ]]; then \ |
|---|
| 47 | | cp -p ispcp_daemon.default $(ROOT_CONF)/default/ispcp_daemon ; \ |
|---|
| | 46 | if [[ -f conf.d/ispcp_daemon ]]; then \ |
|---|
| | 47 | cp -p ispcp_daemon $(ROOT_CONF)/conf.d/ispcp_daemon ; \ |
|---|
| 48 | 48 | fi |
|---|
| 49 | | if [[ -f ispcp_network.default ]]; then \ |
|---|
| 50 | | cp -p ispcp_network.default $(ROOT_CONF)/default/ispcp_network ; \ |
|---|
| | 49 | if [[ -f conf.d/ispcp_network ]]; then \ |
|---|
| | 50 | cp -p ispcp_network $(ROOT_CONF)/conf.d/ispcp_network ; \ |
|---|
| 51 | 51 | fi |
|---|
| 52 | 52 | |
|---|
| … | … | |
| 55 | 55 | rm -f $(ROOT_CONF)/init.d/ispcp_daemon |
|---|
| 56 | 56 | rm -f $(ROOT_CONF)/init.d/ispcp_network |
|---|
| 57 | | rm -f $(ROOT_CONF)/default/ispcp_daemon |
|---|
| 58 | | rm -f $(ROOT_CONF)/default/ispcp_network |
|---|
| | 57 | rm -f $(ROOT_CONF)/conf.d/ispcp_daemon |
|---|
| | 58 | rm -f $(ROOT_CONF)/conf.d/ispcp_network |
|---|
| r1005 |
r1134 |
|
| 29 | 29 | # |
|---|
| 30 | 30 | |
|---|
| 31 | | NAME="ispCP Deamon" |
|---|
| 32 | 31 | DAEMON=/var/www/ispcp/daemon/ispcp_daemon |
|---|
| 33 | | PID=/var/run/ispcp-daemon.pid |
|---|
| 34 | | DESC="ispCP GUI-Backend communication Daemon" |
|---|
| | 32 | PID=/var/run/${SVCNAME}.pid |
|---|
| 35 | 33 | |
|---|
| 36 | 34 | opts="" |
|---|
| … | … | |
| 43 | 41 | |
|---|
| 44 | 42 | start() { |
|---|
| 45 | | ebegin "Starting $NAME:" |
|---|
| | 43 | ebegin "Starting $SVCNAME" |
|---|
| 46 | 44 | start-stop-daemon --start --exec $DAEMON \ |
|---|
| 47 | 45 | --pidfile $PID |
|---|
| … | … | |
| 51 | 49 | |
|---|
| 52 | 50 | stop() { |
|---|
| 53 | | ebegin "Stopping $NAME:" |
|---|
| | 51 | ebegin "Stopping $SVCNAME" |
|---|
| 54 | 52 | start-stop-daemon --stop --exec $DAEMON \ |
|---|
| 55 | 53 | --pidfile $PID |
|---|
| r1068 |
r1134 |
|
| 1 | | #!/bin/sh |
|---|
| | 1 | #!/sbin/runscript |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | # ispCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| … | … | |
| 28 | 28 | # http://www.isp-control.net |
|---|
| 29 | 29 | # |
|---|
| 30 | | ### BEGIN INIT INFO |
|---|
| 31 | | # Provides: ispcp_network |
|---|
| 32 | | # Required-Start: $network $local_fs $remote_fs |
|---|
| 33 | | # Required-Stop: |
|---|
| 34 | | # Should-Stop: $local_fs |
|---|
| 35 | | # Default-Start: 2 3 4 5 |
|---|
| 36 | | # Default-Stop: 0 1 6 |
|---|
| 37 | | # Short-Description: ispCP Network Traffic Logger |
|---|
| 38 | | ### END INIT INFO |
|---|
| 39 | | # Note: do not modify any of these vars here, use /etc/default/$NAME instead |
|---|
| 40 | 30 | |
|---|
| 41 | | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
|---|
| 42 | | DESC="ispCP Network Traffic Logger" |
|---|
| 43 | | NAME=ispcp_network |
|---|
| 44 | | LFILE=/var/run/$NAME |
|---|
| 45 | | IPTABLES=/sbin/iptables |
|---|
| 46 | | LOGDIR=/var/log/ispcp |
|---|
| 47 | | LOGFILE=${LOGDIR}/${NAME}.log |
|---|
| 48 | | DIETIME=3 |
|---|
| | 31 | IPTABLES=${IPTABLES:-$(which iptables)} |
|---|
| | 32 | LOGDIR=${LOGDIR:-"/var/log/ispcp"} |
|---|
| | 33 | LOGFILE=${LOGFILE:-"${LOGDIR}/${SVCNAME}.log"} |
|---|
| 49 | 34 | |
|---|
| 50 | | START=1 |
|---|
| 51 | | |
|---|
| 52 | | # Debian LSB extensions (will be used if init-functions doesn't override them): |
|---|
| 53 | | log_daemon_msg() { |
|---|
| 54 | | if [ ! -z "${2:-}" ]; then |
|---|
| 55 | | log_success_msg "${1:-}: ${2:-}" |
|---|
| 56 | | else |
|---|
| 57 | | log_success_msg "${1:-}" |
|---|
| 58 | | fi |
|---|
| | 35 | depend() { |
|---|
| | 36 | need net |
|---|
| | 37 | use iptables |
|---|
| 59 | 38 | } |
|---|
| 60 | | log_end_msg() { |
|---|
| 61 | | local status="$1" |
|---|
| 62 | | } |
|---|
| 63 | | log_progress_msg () { |
|---|
| 64 | | log_success_msg " $@" |
|---|
| 65 | | } |
|---|
| 66 | | |
|---|
| 67 | | # Logging of warn messages |
|---|
| 68 | | function log_warning_msg () { |
|---|
| 69 | | echo -en "$@" echo -e "${stat}${attn} warning${norm}" |
|---|
| 70 | | } |
|---|
| 71 | | |
|---|
| 72 | | # if not present (e.g. *BSD) make sure to provide compatible methods via /etc/default/$NAME |
|---|
| 73 | | if [ -f /lib/lsb/init-functions ]; then |
|---|
| 74 | | . /lib/lsb/init-functions |
|---|
| 75 | | fi |
|---|
| 76 | | |
|---|
| 77 | | # Read config file if present. |
|---|
| 78 | | if [ -r /etc/default/$NAME ]; then |
|---|
| 79 | | . /etc/default/$NAME |
|---|
| 80 | | fi |
|---|
| 81 | | |
|---|
| 82 | | if [ $START -eq 0 ]; then |
|---|
| 83 | | log_warning_msg "Not starting $DESC: edit /etc/default/$NAME." |
|---|
| 84 | | exit 1 |
|---|
| 85 | | fi |
|---|
| 86 | 39 | |
|---|
| 87 | 40 | add_rules() { |
|---|
| … | … | |
| 128 | 81 | ${IPTABLES} -A ISPCP_INPUT -j RETURN |
|---|
| 129 | 82 | ${IPTABLES} -A ISPCP_OUTPUT -j RETURN |
|---|
| 130 | | |
|---|
| 131 | | # Touch lock file |
|---|
| 132 | | touch $LFILE |
|---|
| 133 | 83 | } |
|---|
| 134 | 84 | |
|---|
| … | … | |
| 140 | 90 | ${IPTABLES} -X ISPCP_INPUT 2>> "$LOGFILE" |
|---|
| 141 | 91 | ${IPTABLES} -X ISPCP_OUTPUT 2>> "$LOGFILE" |
|---|
| 142 | | |
|---|
| 143 | | # Remove lock file |
|---|
| 144 | | rm $LFILE |
|---|
| 145 | 92 | } |
|---|
| 146 | 93 | |
|---|
| 147 | | case "$1" in |
|---|
| 148 | | start) |
|---|
| 149 | | log_daemon_msg "Starting $DESC" "$NAME" |
|---|
| | 94 | start() { |
|---|
| | 95 | ebegin "Starting $SVCNAME" |
|---|
| | 96 | add_rules |
|---|
| | 97 | eend $? |
|---|
| | 98 | } |
|---|
| 150 | 99 | |
|---|
| 151 | | if [ -e "$LFILE" ]; then |
|---|
| 152 | | echo "" |
|---|
| 153 | | log_warning_msg "${NAME} is already started" >&2 |
|---|
| 154 | | else |
|---|
| 155 | | add_rules |
|---|
| 156 | | fi |
|---|
| | 100 | stop() { |
|---|
| | 101 | ebegin "Stopping $SVCNAME" |
|---|
| | 102 | remove_rules |
|---|
| | 103 | eend $? |
|---|
| | 104 | } |
|---|
| 157 | 105 | |
|---|
| 158 | | log_end_msg $? |
|---|
| 159 | | ;; |
|---|
| 160 | | stop) |
|---|
| 161 | | log_daemon_msg "Stopping $DESC" "$NAME" |
|---|
| 162 | | if [ ! -e "$LFILE" ]; then |
|---|
| 163 | | echo "" |
|---|
| 164 | | log_warning_msg "${NAME} is already stopped" >&2 |
|---|
| 165 | | else |
|---|
| 166 | | remove_rules |
|---|
| 167 | | fi |
|---|
| 168 | | |
|---|
| 169 | | log_end_msg $? |
|---|
| 170 | | ;; |
|---|
| 171 | | restart|force-reload) |
|---|
| 172 | | log_daemon_msg "Stopping $DESC" "$NAME" |
|---|
| 173 | | |
|---|
| 174 | | if [ ! -e "$LFILE" ]; then |
|---|
| 175 | | echo "" |
|---|
| 176 | | log_warning_msg "${NAME} is already stopped" >&2 |
|---|
| 177 | | else |
|---|
| 178 | | remove_rules |
|---|
| 179 | | log_end_msg $? |
|---|
| 180 | | [ -n "$DIETIME" ] && sleep "$DIETIME" |
|---|
| 181 | | fi |
|---|
| 182 | | |
|---|
| 183 | | log_daemon_msg "Starting $DESC" "$NAME" |
|---|
| 184 | | |
|---|
| 185 | | add_rules |
|---|
| 186 | | |
|---|
| 187 | | log_end_msg $? |
|---|
| 188 | | |
|---|
| 189 | | ;; |
|---|
| 190 | | status) |
|---|
| 191 | | log_daemon_msg "Checking status of $DESC" "$NAME" |
|---|
| 192 | | |
|---|
| 193 | | if [ ! -e "$LFILE" ]; then |
|---|
| 194 | | log_progress_msg "stopped" |
|---|
| 195 | | else |
|---|
| 196 | | log_progress_msg "started" |
|---|
| 197 | | fi |
|---|
| 198 | | |
|---|
| 199 | | echo "" |
|---|
| 200 | | ;; |
|---|
| 201 | | *) |
|---|
| 202 | | echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 |
|---|
| 203 | | exit 1 |
|---|
| 204 | | ;; |
|---|
| 205 | | esac |
|---|
| 206 | | |
|---|
| 207 | | exit 0 |
|---|
| r1089 |
r1134 |
|
| 152 | 152 | FTPD_CONF_FILE = /etc/proftpd/proftpd.conf |
|---|
| 153 | 153 | |
|---|
| | 154 | FTPD_MIN_UID = 10000 |
|---|
| | 155 | FTPD_MIN_GID = 10000 |
|---|
| | 156 | |
|---|
| 154 | 157 | # |
|---|
| 155 | 158 | # BIND data |
|---|
| … | … | |
| 175 | 178 | AWSTATS_CONFIG_DIR = /etc/awstats |
|---|
| 176 | 179 | |
|---|
| 177 | | AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin |
|---|
| 178 | | |
|---|
| 179 | | AWSTATS_WEB_DIR = /usr/share/awstats |
|---|
| | 180 | AWSTATS_ENGINE_DIR = /var/www/localhost/cgi-bin |
|---|
| | 181 | |
|---|
| | 182 | AWSTATS_WEB_DIR = /var/www/localhost/htdocs/awstats |
|---|
| 180 | 183 | |
|---|
| 181 | 184 | AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats |
|---|
| … | … | |
| 201 | 204 | APACHE_MODS_DIR = /etc/apache2/modules.d |
|---|
| 202 | 205 | |
|---|
| 203 | | APACHE_SITES_DIR = /etc/apache2/vhosts.d/ |
|---|
| | 206 | APACHE_SITES_DIR = /etc/apache2/vhosts.d |
|---|
| 204 | 207 | |
|---|
| 205 | 208 | APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/apache2/ispcp |
|---|
| … | … | |
| 207 | 210 | APACHE_SUEXEC_USER_PREF = vu |
|---|
| 208 | 211 | |
|---|
| 209 | | APACHE_SUEXEC_MIN_GID = 2000 |
|---|
| 210 | | |
|---|
| 211 | | APACHE_SUEXEC_MIN_UID = 2000 |
|---|
| | 212 | APACHE_SUEXEC_MIN_GID = 10000 |
|---|
| | 213 | |
|---|
| | 214 | APACHE_SUEXEC_MIN_UID = 10000 |
|---|
| 212 | 215 | |
|---|
| 213 | 216 | APACHE_USER = apache |
|---|
| … | … | |
| 223 | 226 | POSTFIX_MASTER_CONF_FILE = /etc/postfix/master.cf |
|---|
| 224 | 227 | |
|---|
| 225 | | MTA_LOCAL_MAIL_DIR = /var/mail |
|---|
| 226 | | |
|---|
| 227 | | MTA_VIRTUAL_MAIL_DIR = /var/mail/virtual |
|---|
| | 228 | MTA_LOCAL_MAIL_DIR = /var/spool/mail |
|---|
| | 229 | |
|---|
| | 230 | MTA_VIRTUAL_MAIL_DIR = /var/spool/mail/virtual |
|---|
| 228 | 231 | |
|---|
| 229 | 232 | MTA_LOCAL_ALIAS_HASH = /etc/mail/aliases |
|---|
| … | … | |
| 241 | 244 | MTA_SENDER_ACCESS_HASH = /etc/postfix/ispcp/sender-access |
|---|
| 242 | 245 | |
|---|
| 243 | | MTA_MAILBOX_MIN_UID = 1004 |
|---|
| 244 | | |
|---|
| 245 | | MTA_MAILBOX_UID = 1004 |
|---|
| | 246 | MTA_MAILBOX_MIN_UID = 10000 |
|---|
| | 247 | |
|---|
| | 248 | MTA_MAILBOX_UID = 10000 |
|---|
| 246 | 249 | |
|---|
| 247 | 250 | MTA_MAILBOX_UID_NAME = vmail |
|---|
| … | … | |
| 251 | 254 | MTA_MAILBOX_GID_NAME = mail |
|---|
| 252 | 255 | |
|---|
| 253 | | MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2 |
|---|
| | 256 | MTA_SASLDB_FILE = /etc/sasl2/sasldb2 |
|---|
| 254 | 257 | |
|---|
| 255 | 258 | ETC_SASLDB_FILE = /etc/sasl2/sasldb2 |
|---|
| r1123 |
r1134 |
|
| 100 | 100 | reject_unlisted_recipient, |
|---|
| 101 | 101 | check_policy_service inet:127.0.0.1:12525, |
|---|
| 102 | | check_policy_service inet:127.0.0.1:10030, |
|---|
| | 102 | check_policy_service inet:127.0.0.1:60000, |
|---|
| 103 | 103< |
|---|
|