Re: [exim] aliases, :fail:, include text from a file?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Troy Engel
Date:  
À: exim-users
Sujet: Re: [exim] aliases, :fail:, include text from a file?
Hi Philip,

Philip Hazel wrote:
>
> Try changing it to
> data = ${expand:${lookup{$local_part}lsearch{/etc/aliases}}}


This part works great -- I have three aliasing routers, applying it to
the publically visible one works great. Minimizes the processing on the
internal aliasing routers I'm sure.

> job-1234: :fail: ${readfile{/some/file}{}}


Hmmmm, this doesn't quite work like I expected. What I want to happen is
that the person is emailed back the contents of the file (like a
vacation reply), but instead what I get is this text during the SMTP
conversation (in Thunderbird, a really huge dialog box :) ).

I'm looking at my userforward router (with FAQ_4.html#TOC156 applied)
and vacation router, but don't see the proper way to do what I want.
Maybe I don't want to use :fail: in my aliases file?

thx,
-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com