fixing mysql-virtual_alias_maps.cf and mysql-virtual_mailbox_domains.cf regarding postfix-policy in Froxlor, refs #879
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) > '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = mail_virtual
|
table = mail_virtual
|
||||||
select_field = destination
|
select_field = destination
|
||||||
where_field = email
|
where_field = email
|
||||||
additional_conditions = and TRIM(destination) <> ''
|
additional_conditions = and TRIM(destination) <> '' and destination in (select destination from mail_users where email ='%s' and postfix = 'Y')
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ dbname = <SQL_DB>
|
|||||||
table = panel_domains
|
table = panel_domains
|
||||||
select_field = domain
|
select_field = domain
|
||||||
where_field = domain
|
where_field = domain
|
||||||
additional_conditions = and isemaildomain = '1'
|
additional_conditions = and isemaildomain = '1' and deactivated = '0'
|
||||||
hosts = <SQL_HOST>
|
hosts = <SQL_HOST>
|
||||||
|
|||||||
Reference in New Issue
Block a user