Re: [exim] proper vacation processing

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Phil Chambers
CC: exim-users
Temat: Re: [exim] proper vacation processing
On Thu, 3 Mar 2005, Phil Chambers wrote:

> > You can have a list. The list separator is "alias" :-)
>
> Have you had this work?


No.

> I have tried that and can't get it to work. It appears to treat the whole expansion
> of "alias1@addr1 alias alias2@addr2" as a single alias, which is what one might
> expect.


Ah yes. However for your purposes you can work around the problem. You are
using a fixed filter which is presumably not very long, so instead of
putting it in a file you could just include it inline in the Exim
configuration. The value of the data setting is expanded before being
interpreted as a filter, so the list of aliases will be treated as such
rather than as a single string.

  vacation:
    driver = redirect
    ...
    data   = # Exim filter \n\
             if personal alias \
                ${readfile {ALIASES/$local_part} { alias } } \
             then vacation blah endif
    allow_filter


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}