RE: [Exim] Help with vacation messages

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tamas TEVESZ
日付:  
To: Alan Glait
CC: 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


--
[-]