Re: [exim] Optional 'aliases' router?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Evgeniy Berdnikov
Datum:  
To: exim-users
Betreff: Re: [exim] Optional 'aliases' router?
On Fri, Nov 16, 2018 at 05:45:59PM +0100, Marco Gaiarin via Exim-users wrote:
>     alias: |/my/bounce/script, user1, user2

>
> (or something like this), but i want to use some 'magic', i'm thinking about
> setting up a redirect router, with a 'require_files' statement that get called
> only if file exist.
>
> But i need to be ''optional'', eg if that file exist, the bouncer get
> called, but after that the normal aliases expansion succeded.


You can take a redirect router for /etc/aliases as a template,
and rewrite it making your custom router with 'require_files' statement
for some "conditional aliases" file, say, /etc/aliases2.
--
Eugene Berdnikov