Re: [exim] Decide what router to use according to the from f…

Góra strony
Delete this message
Reply to this message
Autor: rblue
Data:  
Dla: exim-users
Temat: Re: [exim] Decide what router to use according to the from field

On 7/17/2014 3:22 PM, Evgeniy Berdnikov wrote:
> On Thu, Jul 17, 2014 at 02:49:44PM -0600, rblue wrote:
>> I can't tell if $acl_m_use_ses is or not equal to 1. I assume it is due to
>> these lines:
>>
>> expanding: $acl_m_use_ses
>>     result:
>> expanding: 1
>>     result: 1

>>
>> but I'm unsure why this is resulting as false:
>>
>> condition: eq{$acl_m_use_ses}{1}
>>     result: false

>>
>> Any ideas?
> The $acl_m_use_ses is expanded to empty string, surely it is not 1.
> Empty string may be converted to number 0, but never to 1, IMHO.

If $acl_m_use_ses is expanding to an empty string, why does it have
result: 1? How could I fix this?

Thanks