RE: [Exim] Help with vacation messages

Top Page
Delete this message
Reply to this message
Author: Alan Glait
Date:  
To: 'exim-users@exim.org'
Subject: RE: [Exim] Help with vacation messages

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 ...

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


On Tue, 6 Aug 2002, Alan Glait wrote:

> Please ... help me with this ....
>
> vacation_user:
> driver = autoreply
> subject = "${if def:h_Subject: {Re: $h_Subject:} {OUPS!!}}"
> file = "${if exists {/exim/etc/vacation/msgs/${local_part}}}"


you need to return something here, that is to be taken as the argument
to `file'. i'm not quite sure what you want to do; if it's something
default, i'd go like

${if
exists{/exim/.../$local_part}{/exim/.../$local_part}{/exim/.../default_reply
_message}}

if this is not quite what you want, i don't understand the problem ;)

 >   condition = "${if or {{match {$h_precedence:} {(?i)junk|bulk|list}} \
 >                         {eq {$sender_address} {}}} {no} {yes}}"


hm, autoreply itself doesn't test for empty senders ? i can't see it
in the specs (and now this is just a reallyreally quick skim). if not,
Philip, shouldn't it be added to it ?



--
[-]