Bug#865287: exim4-daemon-light: nomore than one rule option in a route_list rule

Andreas Metzler ametzler at bebt.de
Sat Jun 24 13:09:45 UTC 2017

On 2017-06-21 Marc Haber <mh+debian-packages at zugschlus.de> wrote:
> I think the issue is that upstream might have changed the way that
> macros are parsed. Here is our code:

> .ifndef DCsmarthost
> DCsmarthost=smtp.zugschlus.de::587
> .endif

> smarthost:
>   debug_print = "R: smarthost for $local_part@$domain"
>   driver = manualroute
>   domains = ! +local_domains
>   transport = remote_smtp_smarthost
>   route_list = * DCsmarthost byname
>   host_find_failed = ignore
>   same_domain_copy_routing = yes
>   no_more

> When you enter "remote_smtps_smarthost" in update-exim4.conf.conf, you
> end up with DCsmarthost being defined as "mailhost::465
> remote_smtps_smarthost", which is obviously misparsed in the
> tokenization stage of exim's configuration parser.

> Changing the actual router code to say
>   route_list = * DCsmarthost byname remote_smtps_smarthost
> seems to work for me. Please try that.


Afaict route_list has changed. exim up to 4.85 accepted both
* host byname transport
* host transport byname
but 4.86RC1 and later only accept
* host byname transport
but reject
* host transport byname
i.e. they require specification of transport /after/ options.

I will ask upstream.

cu Andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

More information about the Pkg-exim4-maintainers mailing list