Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
01423fd5
Commit
01423fd5
authored
Dec 04, 2008
by
redray
Browse files
fixed mail-cert path
parent
e77915fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
01423fd5
...
...
@@ -96,8 +96,8 @@ class installer_dist extends installer_base {
'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:'
.
$config_dir
.
'/mysql-virtual_recipient.cf, reject_unauth_destination'
,
'smtpd_use_tls = yes'
,
'smtpd_tls_security_level = may'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/
ssl/
smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/
ssl/
smtpd.key'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/smtpd.key'
,
'transport_maps = proxy:mysql:'
.
$config_dir
.
'/mysql-virtual_transports.cf'
,
'relay_domains = mysql:'
.
$config_dir
.
'/mysql-virtual_relaydomains.cf'
,
'virtual_create_maildirsize = yes'
,
...
...
@@ -137,12 +137,11 @@ class installer_dist extends installer_base {
if
(
!
stristr
(
$options
,
'dont-create-certs'
))
{
//* Create the SSL certificate
$command
=
'mkdir '
.
$config_dir
.
'/ssl; '
.
'cd '
.
$config_dir
.
'/ssl; '
$command
=
'cd '
.
$config_dir
.
'; '
.
'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 365 -x509'
;
exec
(
$command
);
$command
=
'chmod o= '
.
$config_dir
.
'/
ssl/
smtpd.key'
;
$command
=
'chmod o= '
.
$config_dir
.
'/smtpd.key'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
'EXECUTED: '
.
$command
,
'Failed to execute the command '
.
$command
);
}
...
...
install/dist/lib/opensuse.lib.php
View file @
01423fd5
...
...
@@ -96,8 +96,8 @@ class installer_dist extends installer_base {
'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:'
.
$config_dir
.
'/mysql-virtual_recipient.cf, reject_unauth_destination'
,
'smtpd_use_tls = yes'
,
'smtpd_tls_security_level = may'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/
ssl/
smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/
ssl/
smtpd.key'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/smtpd.key'
,
'transport_maps = proxy:mysql:'
.
$config_dir
.
'/mysql-virtual_transports.cf'
,
'relay_domains = mysql:'
.
$config_dir
.
'/mysql-virtual_relaydomains.cf'
,
'virtual_create_maildirsize = yes'
,
...
...
@@ -137,12 +137,11 @@ class installer_dist extends installer_base {
if
(
!
stristr
(
$options
,
'dont-create-certs'
))
{
//* Create the SSL certificate
$command
=
'mkdir '
.
$config_dir
.
'/ssl; '
.
'cd '
.
$config_dir
.
'/ssl; '
$command
=
'cd '
.
$config_dir
.
'; '
.
'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 365 -x509'
;
exec
(
$command
);
$command
=
'chmod o= '
.
$config_dir
.
'/
ssl/
smtpd.key'
;
$command
=
'chmod o= '
.
$config_dir
.
'/smtpd.key'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
'EXECUTED: '
.
$command
,
'Failed to execute the command '
.
$command
);
}
...
...
install/lib/installer_base.lib.php
View file @
01423fd5
...
...
@@ -293,8 +293,8 @@ class installer_base {
'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:'
.
$config_dir
.
'/mysql-virtual_recipient.cf, reject_unauth_destination'
,
'smtpd_use_tls = yes'
,
'smtpd_tls_security_level = may'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/
ssl/
smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/
ssl/
smtpd.key'
,
'smtpd_tls_cert_file = '
.
$config_dir
.
'/smtpd.cert'
,
'smtpd_tls_key_file = '
.
$config_dir
.
'/smtpd.key'
,
'transport_maps = proxy:mysql:'
.
$config_dir
.
'/mysql-virtual_transports.cf'
,
'relay_domains = mysql:'
.
$config_dir
.
'/mysql-virtual_relaydomains.cf'
,
'virtual_create_maildirsize = yes'
,
...
...
@@ -333,12 +333,11 @@ class installer_base {
if
(
!
stristr
(
$options
,
'dont-create-certs'
))
{
//* Create the SSL certificate
$command
=
'mkdir '
.
$config_dir
.
'/ssl; '
.
'cd '
.
$config_dir
.
'/ssl; '
$command
=
'cd '
.
$config_dir
.
'; '
.
'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 365 -x509'
;
exec
(
$command
);
$command
=
'chmod o= '
.
$config_dir
.
'/
ssl/
smtpd.key'
;
$command
=
'chmod o= '
.
$config_dir
.
'/smtpd.key'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
'EXECUTED: '
.
$command
,
'Failed to execute the command '
.
$command
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment