Re: [Exim] Ruoter conditions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dan Egli
Ημερομηνία:  
Προς: Edgar Lovecraft
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Ruoter conditions
Edgar Lovecraft wrote:

> OOPS, hit the send key too soon, appols for the second post...
>
> Dan Egli wrote:
>
>>>condition = "${if or { \
>>>                          {eq {$interface_port}{10025} {0}{1}}\
>>>                          {eq
>>>{${lookup{$sender_address}lsearch{filename}{0}}} {0}}\
>>>                          }\
>>>                }"

>>
>
> Why do you have the condition wraped in "quotes"??? remove them :)
> and put the missing '\' in after the second "{eq" line.
>
>
>


I removed the quotes, verified all the \'s no effect.

condition = ${if or { \
                           {eq {$interface_port}{10025} {0}{1}}\
                           {eq \
{${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}} {0}}\
                          }\
                 }




result:

2004-07-05 11:07:26 1BhWvk-0001la-AO failed to expand condition "${if or
{ {eq {$interface_port}{10025} {0}{1}}{eq
{${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}} {0}}}}"
for amavis router: missing } at end of condition inside "or" group


--
>
> --EAL--
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--
-- Dan