Fix: #1568 Gestion des catchall défectueuse.
This commit is contained in:
parent
fe9612061e
commit
333d780047
|
@ -532,6 +532,7 @@ etc/alternc/templates/postfix/master.cf -text
|
||||||
etc/alternc/templates/postfix/myalias.cf -text
|
etc/alternc/templates/postfix/myalias.cf -text
|
||||||
etc/alternc/templates/postfix/mydomain.cf -text
|
etc/alternc/templates/postfix/mydomain.cf -text
|
||||||
etc/alternc/templates/postfix/mygid.cf -text
|
etc/alternc/templates/postfix/mygid.cf -text
|
||||||
|
etc/alternc/templates/postfix/mymail2mail.cf -text
|
||||||
etc/alternc/templates/postfix/myquota.cf -text
|
etc/alternc/templates/postfix/myquota.cf -text
|
||||||
etc/alternc/templates/postfix/myrelay-domain.cf -text
|
etc/alternc/templates/postfix/myrelay-domain.cf -text
|
||||||
etc/alternc/templates/postfix/myrelay.cf -text
|
etc/alternc/templates/postfix/myrelay.cf -text
|
||||||
|
|
|
@ -32,7 +32,7 @@ smtpd_sasl_auth_enable=yes
|
||||||
#Virtual Maping
|
#Virtual Maping
|
||||||
alias_maps = hash:/etc/aliases
|
alias_maps = hash:/etc/aliases
|
||||||
alias_database = hash:/etc/aliases
|
alias_database = hash:/etc/aliases
|
||||||
virtual_alias_maps = proxy:mysql:/etc/postfix/myalias.cf
|
virtual_alias_maps = proxy:mysql:/etc/postfix/myalias.cf,proxy:mysql:/etc/postfix/mymail2mail.cf
|
||||||
virtual_alias_domains =
|
virtual_alias_domains =
|
||||||
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mydomain.cf
|
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mydomain.cf
|
||||||
virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
|
virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
user = %%db_mail_user%%
|
||||||
|
password = %%db_mail_pwd%%
|
||||||
|
hosts =%%dbhost%%
|
||||||
|
dbname = %%dbname%%
|
||||||
|
query = concat(`address`.`address`,'@',`domaines`.`domaine`) AS `mail` from address,domaines where `address`.`enabled` = 1 and `address`.`domain_id` = domaines.id and concat(`address`.`address`,'@',`domaines`.`domaine`) = '%s';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue