Re: [exim] Weirdness when forcing TLS and checking that its …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] Weirdness when forcing TLS and checking that its working in ACLs
On 13/02/2020 13:55, Mike Tubby via Exim-users wrote:
> acl_check_mail:
>
>         #
>         # refuse all connections that are not TLS
>         #
>         deny    message = Connection not secure. You must use STARTTLS
> to send to this server!
>                 logwrite = MAIL: Denied host
> $sender_host_address:$sender_host_port not using TLS secure connection!
>                 ! encrypted = *


You are doing the write to the log before checking the status
of the encryption. Therefore you will always write to the log.
--
Cheers,
Jeremy