Re: [exim-dev] tls_advertise_hosts issues too many warnings …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-dev
Sujet: Re: [exim-dev] tls_advertise_hosts issues too many warnings (!?)
Jeremy Harris <jgh@???> (Di 17 Nov 2015 15:02:25 CET):
> On 17/11/15 13:02, Heiko Schlittermann wrote:
> >     exim -C /dev/null -bP primary_hostname
> >     exim -C <(echo primary_hostname=foo) -bP primary_hostname

> >
> >With the default being tls_advertise_hosts = *, this above line issue
> >all that ugly warnings about missing tls_* support files.
>
> How about suppressing the tls warnings when -bP is used?


Ok, I've implemented this, using the existing 'checking' variable in exim.c.
Now I set this in -bP and -brw too.

But, ~ exim.c:3490

    if …
     (
     list_options &&
     (checking || smtp_input || extract_recipients ||
       filter_test != FTEST_NONE || bi_option)
     ) ||
     … then issue "incompatible options"


Are there security reasons, or may I change this to

    if …
     (
     list_options &&
-    (checking || smtp_input || extract_recipients ||
+    (smtp_input || extract_recipients ||
       filter_test != FTEST_NONE || bi_option)
     ) ||
     … then issue "incompatible options"


--
Heiko