RE: [Exim] Help with vacation messages

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Alan Glait
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: RE: [Exim] Help with vacation messages
uops ...
I put:
          condition = "${if and{or {{match {$h_precedence:}
{(?i)junk|bulk|list}} \
                        {eq {$sender_address} {}}} {no} {yes}}} \
                        {exists{/exim/etc/vacation/msgs/$local_part} {yes}
{no}}}"
             local_parts = lsearch;/maildata/exim/etc/vacation-users


and I have
        failed to expand condition"${if and{or {{match
{$h_precedence:} {(?i)junk|bulk|list}} {eq {$sender_address} {}}} {no}
{yes}}} {exists{/exim/etc/vacation/msgs/$local_part} {yes} {no}}}" for
vacation director: subcondition in {} expected inside "and{...}" condition


If I del lsearch ... how it check the users for vacation ??

thanX a lot !




-----Original Message-----
From: Tamas TEVESZ [mailto:ice@extreme.hu]
Sent: Martes, 06 de Agosto de 2002 11:49 a.m.
To: Alan Glait
Cc: exim-users@???
Subject: RE: [Exim] Help with vacation messages


On Tue, 6 Aug 2002, Alan Glait wrote:

> I want that if file = "${if exists
> {/exim/etc/vacation/msgs/${local_part}}}" is yes, if exist and

local_parts =
> lsearch;/maildata/exim/etc/vacation-users is ok ... send the file
> ${local_part} as answer ...


then ditch these conditions in the director, leaving the transport's
`file' option as

    file = /exim/etc/vacation/msgs/$local_part


only. the logic you described above doesn't belong in the transport
(although it could be put there, but you just don't want that).

the director would look something like that:

condition = ${if exists{/exim/etc/vacation/msgs/$local_part}{yes}{no}}
local_parts = /maildata/exim/etc/vacation-users


--
[-]