Re: [exim] Routeur on List-Id ?

2020-03-11 Thread francois via Exim-users
Le 11/03/2020 à 16:39, Frank Elsner via Exim-users a écrit : >> Hi, >> On a debian/exim/sympa list server, I plan to write a List-Id oriented >> router. >> >> I wrote this: >> some_router: >> debug_print = "R: some_router for $local_part@$domain" >> condition = ${if match {$h_List-Id}{}

Re: [exim] Routeur on List-Id ?

2020-03-11 Thread Jeremy Harris via Exim-users
On 11/03/2020 14:57, francois via Exim-users wrote: > condition = ${if match {$h_List-Id}{} {yes}{no}} > but, the condition seems to never be true :-( > What's wrong ? You need a colon after List-Id. -- Cheers, Jeremy -- ## List details at

Re: [exim] Routeur on List-Id ?

2020-03-11 Thread Frank Elsner via Exim-users
On Wed, 11 Mar 2020 15:57:42 +0100 francois via Exim-users wrote: > Hi, > On a debian/exim/sympa list server, I plan to write a List-Id oriented > router. > > I wrote this: > some_router: > debug_print = "R: some_router for $local_part@$domain" > condition = ${if match {$h_List-Id}{}

[exim] Routeur on List-Id ?

2020-03-11 Thread francois via Exim-users
Hi, On a debian/exim/sympa list server, I plan to write a List-Id oriented router. I wrote this: some_router: debug_print = "R: some_router for $local_part@$domain" condition = ${if match {$h_List-Id}{} {yes}{no}} driver = manualroute route_list = * A.B.C.D transport = remote_smtp but,