Re: [exim] hard coded alias entry to lookup

Top Page
Delete this message
Reply to this message
Author: Gary Stainburn
Date:  
To: exim-users
CC: Jeremy Harris
Subject: Re: [exim] hard coded alias entry to lookup
On Wednesday 12 November 2014 16:02:06 Jeremy Harris wrote:
> On 12/11/14 15:22, Gary Stainburn wrote:
> > in check_rcpt so that a separate file could simply hold
> >
> > user1:    paula
> > user2:    graham

> >
> > and use a lookup to generate the appropriate message?
>
> deny local_part =    <lookup>

>
> Docs are at http://exim.org/exim-html-current/doc/html/spec_htm


Jeremy

I'm looking for something along the lines of

  deny    domains = +local_domains
        data = ${lookup{$local_part}lsearch{/etc/exim/lists/fail_list}}
                message = This user is no longer available. For assistance 
please contact <data>


Gary