RE: [Exim] Help with vacation messages

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tamas TEVESZ
Ημερομηνία:  
Προς: Alan Glait
Υ/ο: exim-users
Αντικείμενο: 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


--
[-]