diff --git a/cmdeploy/src/cmdeploy/deployers.py b/cmdeploy/src/cmdeploy/deployers.py index 84b8e598..ed5fef02 100644 --- a/cmdeploy/src/cmdeploy/deployers.py +++ b/cmdeploy/src/cmdeploy/deployers.py @@ -552,7 +552,7 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: ) exit(1) - tls_domains = [mail_domain, f"mta-sts.{mail_domain}", f"www.{mail_domain}"] + tls_domains = [mail_domain] all_deployers = [ ChatmailDeployer(mail_domain), diff --git a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 index 58864d72..ab7e9934 100644 --- a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 +++ b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 @@ -66,7 +66,7 @@ http { index index.html index.htm; - server_name {{ config.domain_name }} www.{{ config.domain_name }} mta-sts.{{ config.domain_name }}; + server_name {{ config.domain_name }}; access_log syslog:server=unix:/dev/log,facility=local7; diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index 3f3a3a07..a6f33de5 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -86,7 +86,7 @@ filter unix - n n - - lmtp # Local SMTP server for reinjecting incoming filtered mail 127.0.0.1:{{ config.postfix_reinject_port_incoming }} inet n - n - 100 smtpd -o syslog_name=postfix/reinject_incoming - -o smtpd_milters=unix:opendkim/opendkim.sock +# -o smtpd_milters=unix:opendkim/opendkim.sock # Cleanup `Received` headers for authenticated mail # to avoid leaking client IP. diff --git a/cmdeploy/src/cmdeploy/remote/rdns.py b/cmdeploy/src/cmdeploy/remote/rdns.py index 5b79d436..eaf7379a 100644 --- a/cmdeploy/src/cmdeploy/remote/rdns.py +++ b/cmdeploy/src/cmdeploy/remote/rdns.py @@ -77,7 +77,7 @@ def query_dns(typ, domain): ns = soa[0][4] # Query authoritative nameserver directly to bypass DNS cache. - res = shell(f"dig @{ns} -r -q {domain} -t {typ} +short", print=log_progress) + res = shell(f"dig -r -q {domain} -t {typ} +short", print=log_progress) return next((line for line in res.split("\n") if not line.startswith(";")), "")