Skip to content
GitLab
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
5bf366b4
Commit
5bf366b4
authored
Sep 17, 2007
by
tbrehm
Browse files
Added postfix relay domains (transports table).
parent
7c6e658a
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
5bf366b4
...
...
@@ -209,6 +209,9 @@ class installer_base {
//* mysql-virtual_client.cf
$this
->
process_postfix_config
(
'mysql-virtual_client.cf'
);
//* mysql-virtual_relaydomains.cf
$this
->
process_postfix_config
(
'mysql-virtual_relaydomains.cf'
);
//* Changing mode and group of the new created config files.
caselog
(
'chmod o= '
.
$config_dir
.
'/mysql-virtual_*.cf* &> /dev/null'
,
...
...
@@ -241,6 +244,7 @@ class installer_base {
'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'
,
'virtual_mailbox_extended = yes'
,
'virtual_mailbox_limit_maps = proxy:mysql:'
.
$config_dir
.
'/mysql-virtual_mailbox_limit_maps.cf'
,
...
...
install/tpl/mysql-virtual_relaydomains.cf.master
0 → 100644
View file @
5bf366b4
user = {mysql_server_ispconfig_user}
password = {mysql_server_ispconfig_password}
dbname = {mysql_server_database}
table = mail_transport
select_field = domain
where_field = domain
additional_conditions = and active = 'y' and server_id = {server_id}
hosts = {mysql_server_ip}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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