1
Kloxo-MR Technical Helps / letsencrypt in mail server
« on: 2017-10-05, 20:31:54 »
Can SSL (let's encrypt) be specified for mail?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"^M
Header always set X-XSS-Protection "1;mode=block"^M
Header always set X-Frame-Options "SAMEORIGIN"^M
Header always set Access-Control-Allow-Origin "*"
Header always set X-Supported-By "Kloxo-MR 7.0"
RequestHeader unset Proxy early
</IfModule>
Clients — "Username" — Domains — "Userdomain.com" — {Web Features} => General Header (in Apache Format; Blank To Reset)
perl -p -i -e "s/\r//g" /opt/configs/apache/conf/domains/*
/opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock
<IfModule mod_fastcgi.c>
Alias /<?=$domainname;?>.<?=$count;?>fake "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake"
#FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
# -host 127.0.0.1:<?=$fpmport;?> -idle-timeout <?=$timeout;?> -pass-header Authorization
FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
-socket /opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock \
-idle-timeout <?=$timeout;?> -pass-header Authorization
<FilesMatch \.php$>
SetHandler application/x-httpd-fastphp
</FilesMatch>
Action application/x-httpd-fastphp /<?=$domainname;?>.<?=$count;?>fake
<Files "<?=$domainname;?>.<?=$count;?>fake">
RewriteCond %{REQUEST_URI} !<?=$domainname;?>.<?=$count;?>fake
</Files>
</IfModule>
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 288 of /opt/configs/apache/conf/domains/mydomain.conf:
SSLCertificateFile: file '/home/kloxo/httpd/ssl/eth0_0___localhost.pem' does not exist or is empty
[FAILED]
Stopping php-fpm (PHP Used): [ OK ]
Parando httpd: [ OK ]
- For help, type '/script/restart-web [--help|-h]'
> sh /script/restart-web
*** Process for PHP-FPM service ***
- Process: restart
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
*** Process for HTTPD service ***
- Process: restart
Parando httpd: [ OK ]
Iniciando httpd: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-web [--help|-h]'
> sh /script/restart-dns
*** Process for BIND service ***
- Process: restart
Deteniendo named: .[ OK ]
Iniciando named: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-dns [--help|-h]'
Desactivando el generador de registros del sistema: [ OK ]
Deteniendo named: . [ OK ]
Stopping php-fpm (PHP Used): [ OK ]
Parando httpd: [ OK ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Parando pure-ftpd: [ OK ]
Stopping kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
- For help, type '/script/restart-all [--help|-h]'
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016060105
- Web: hiawatha-10.2.0-f.7.mr.el6.x86_64
- PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.8 (Final) x86_64
- Hostname: mydomain.mydomain.com
C. Services:
1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Multiple:
* php52m-5.2.17-102.mr.el6
* php53m-5.3.29-1.ius.el6
* php54m-5.4.40-1.ius.el6
* php55m-5.5.24-1.ius.el6
* php56m-5.6.8-1.ius.el6
- Used: --Use PHP Branch--
3. Web Used: apache
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: --uninstalled--
- Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.7-1.mr.el6.x86_64
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.19.mr.el6.x86_64
- spam: spamassassin