[exim] Smart_route ignoring condition?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Danielle M.
Dátum:  
Címzett: exim-users
Tárgy: [exim] Smart_route ignoring condition?
Hello,

I am running into an issue where my mail relay is ignoring the condition
I have set and routing ALL mail. Here's what I have at connect time:

acl_check_connect:
accept condition = ${if ={587}{$interface_port}}
        set acl_c_MSP = 1
accept condition = ${if ={25}{$interface_port}}
        set acl_c_MSP = 0
accept condition = ${if ={26}{$interface_port}}
        set acl_c_MSP = 0


And then under my mail router:

smart_route:
      condition = {${if eq{$acl_c_MSP}{1}}}
      driver = manualroute
      domains = !+local_domains
      transport = remote_smtp
      route_list = * <relay server IP>


No matter what acl_c_MSP is set to, mail is still routed to the mail
relay server. What am I doing wrong?

Thank you!
Dani