From 23f3dc67a13f71bb8fdf2930052d3fdce85e9774 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 1 Nov 2015 19:46:28 +0000 Subject: TLS: Default tls_advertise_hosts to "*". Bug 1709 Make the option available in non-TLS builds, and clear in testsuite confs as needed to keep TLS and non-TLS testcase outputs the same. An error is logged at startup if tls_advertise_hosts is nonempty but tls_certificate is not set. --- test/log/2020 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/log') diff --git a/test/log/2020 b/test/log/2020 index 4b9c1fac1..25a01dfb3 100644 --- a/test/log/2020 +++ b/test/log/2020 @@ -1,10 +1,16 @@ +1999-03-02 09:44:33 Warning: No server certificate defined; TLS connections will fail. + Suggested action: either install a certificate or change tls_advertise_hosts option 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 Warning: No server certificate defined; TLS connections will fail. + Suggested action: either install a certificate or change tls_advertise_hosts option 1999-03-02 09:44:33 Start queue run: pid=pppp -qf 1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@myhost.test.ex R=abc T=t1 H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmaY-0005vi-00" 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf ******** SERVER ******** +1999-03-02 09:44:33 Warning: No server certificate defined; TLS connections will fail. + Suggested action: either install a certificate or change tls_advertise_hosts option 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 1999-03-02 09:44:33 TLS error on connection from localhost (myhost.test.ex) [127.0.0.1] (no TLS server certificate is specified) 1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1] P=esmtp S=sss id=E10HmaX-0005vi-00@myhost.test.ex -- cgit v1.2.3