Commit 02ad6eaa authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* check domain aliases on exim

parent 1dc80247
Pipeline #199 passed with stage
in 1 minute and 24 seconds
......@@ -51,12 +51,14 @@ acl_smtp_vrfy = check_vrfy
#!!# later on by the syntax "+local_domains".
#!!# Other domain and host lists may follow.
domainlist domainaliases = mysql;SELECT domainalias.domain FROM domainalias,domains WHERE domainalias.domain='$domain' AND domains.domain=domainalias.goto AND domains.active>0;
.ifdef WW_RELAY_MODE
domainlist relay_domains = mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist relay_domains = +domainaliases : mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist submission_domains = :
domainlist local_domains = :
.elifdef WW_SUBMISSION_MODE WW_MM_MODE
domainlist submission_domains = mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist submission_domains = +domainaliases : mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist relay_domains = :
domainlist local_domains = :
......@@ -69,7 +71,7 @@ WW_MAILMAN_ENABLE=1
domainlist mailman_domain = :
.endif
domainlist local_domains = +mailman_domain : mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist local_domains = +mailman_domain : +domainaliases : mysql;SELECT domain FROM domains WHERE domain='$domain' AND active>0;
domainlist submission_domains = :
domainlist relay_domains = :
.endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment