RE: [Exim] Help with vacation messages

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tamas TEVESZ
Dátum:  
Címzett: Alan Glait
CC: exim-users
Tárgy: 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


--
[-]