Re: [Exim] how to avoid dupes ?

Top Page
Delete this message
Reply to this message
Author: Robert Kehl
Date:  
To: exim-users
Subject: Re: [Exim] how to avoid dupes ?
That's because you're missing a
{1}
right behind the
{0}
in the condition. Use this:

condition = "${if eq {$received_protocol}{spam-scanned} {0}{1}}"

Or this one:

condition = "${if !eq {$received_protocol}{spam-scanned} {1}}"

Sorry *again* for the typo...

Regards,

Robert

----- Original Message -----
From: "Michael V. Sokolov" <mvs@???>
Sent: Friday, September 12, 2003 8:05 AM


> On Thursday 11 September 2003 18:33, Robert Kehl wrote:
>
> > > driver = redirect
> > > domains = +local_domains
> > > senders = !*@+local_domains
> > > condition = "${if {eq {$received_protocol}{spam-scanned}} {0}}"
> > > directory_transport = address_file
>        ^^^^^^^^^^^^^^^^ i've changet it to file_transport

>
> > Sorry, change the condition to:
> > condition = "${if eq{$received_protocol}{spam-scanned} {0}}"
> > That way it should be ok.
>
> there is no more errors in logs, but as far as i can see this

condition never
> obeyed. Any suggestions why ?
>
> PS: i placed this router before spamass one.
>
>
> --
>
> Michael V. Sokolov, SA/Helpdesk