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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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