Bug#526819: exim4-daemon-light: claims to support TLS but doesn't recognise hosts_require_tls option on smtp transport

Dafydd Harries daf at debian.org
Mon May 4 17:19:29 UTC 2009


Ar 04/05/2009 am 19:14, ysgrifennodd Andreas Metzler:
> On 2009-05-03 Dafydd Harries <daf at debian.org> wrote:
> > Package: exim4-daemon-light
> > Version: 4.69-9
> > Severity: normal
> 
> > Older versions of exim4-daemon-light supported the hosts_require_tls
> > option on the smtp transport. After upgrading exim recently, it
> > stopped recognising this option:
> 
> >   2008-11-13 12:20:26 Exim configuration error in line 213 of /var/lib/exim4/config.autogenerated.tmp:
> >     main option "hosts_require_tls" unknown
> 
> > Hence, my mail configuration stopped working. Either
> > exim4-daemon-light should support this option, or the package
> > description should make it clear that it doesn't have full TLS
> > support.
> 
> 
> Hello,
>  From the error message this sounds like the respective line is placed
> the wrong section of the configuration file, with the main options
> instead of as a setting for the respective transport.
> 
> At least that is the case for me.
> (SID)root at argenau:/# exim4 -bP transport remote_smtp | \
>   grep require_tls
> hosts_require_tls = *
> 
> cu andreas

Here's the entire transport stanza:

    remote_smtp_smarthost:
      debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
      driver = smtp
      port = 2525
      hosts_require_tls = mild.rhydd.org
      hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
            {\
            ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
            }\
            {} \
          }
    .ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
      hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
    .endif
    .ifdef REMOTE_SMTP_HEADERS_REWRITE
      headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
    .endif
    .ifdef REMOTE_SMTP_RETURN_PATH
      return_path = REMOTE_SMTP_RETURN_PATH
    .endif
    .ifdef REMOTE_SMTP_HELO_FROM_DNS
      helo_data=REMOTE_SMTP_HELO_DATA
    .endif

IIRC, only the port and the hosts_require_tls lines were added over the default
version of transport/30_exim4-config_remote_smtp_smarthost.





More information about the Pkg-exim4-maintainers mailing list