Re: [Exim] Ruoter conditions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Edward St Pierre
Ημερομηνία:  
Προς: Dan Egli
Υ/ο: Exim Users
Αντικείμενο: Re: [Exim] Ruoter conditions
I might have this a little wrong, however something along the lines of:

condition = "${if or { \
                          {eq {$interface_port}{10025} {0}{1}}\
                          {eq
{${lookup{$sender_address}lsearch{filename}{0}}} {0}}\
                          }\
                }"



Might work.

Ed

On Fri, 02 Jul 2004 08:12:42 -0600, Dan Egli
<dan@???> wrote:
> Hey all. I need a bit of help on some router conditions. Right now I
> have a router with a condition:
>
> condition = "${if eq {$interface_port}{10025} {0}{1}}"
>
> which I interpret as "if the interface port is not 10025", yes?
> How could I modify that to be:
> "if interface port is not 10025, OR sender address is in this file"?
>
> --
> -- Dan
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>