AW: AW: AW: [Exim] Problem with lookup

Etusivu
Poista viesti
Vastaa
Lähettäjä: Michael Prohm
Päiväys:  
Vastaanottaja: 'Thomas Fini Hansen', exim-users
Aihe: AW: AW: AW: [Exim] Problem with lookup
Thanks, now it working fine.

Regards,
Michael


> -----Ursprüngliche Nachricht-----
> Von: exim-users-admin@???
> [mailto:exim-users-admin@exim.org] Im Auftrag von Thomas Fini Hansen
> Gesendet: Samstag, 27. September 2003 19:16
> An: exim-users@???
> Betreff: Re: AW: AW: [Exim] Problem with lookup
>
>
> On Sat, Sep 27, 2003 at 05:30:25PM +0100, Philip Hazel wrote:
> > On Fri, 26 Sep 2003, Michael Prohm wrote:
> > > okay, than have I understand it correctly, but my problem
> now is, that he take the
> > > ":file" as a part of the lookupkey:
> > >
> > > key="localpart@domain:file" partial=-1 affix=NULL starflags=2
> >
> > But that's what you specified!
> >
> > > > > > > require_files         = "/etc/exim/${lookup \

> > > > > > >
> {${local_part}@${domain}:file} dbm*@ \
> > > > > > >                          {/etc/exim/autoresp.db}
> {$value} {_} }"

> >
> > Why is :file there? I assumed that you needed it in your
> Exim 3 config.
> > It would have been part of the key then as well. Just remove it.
>
> In the original mail it was mentioned that the file had entries like:
>
> localpart@domain: from="Realname" file="filename"
>
> And I was looking at the original wondering where the extract where,
> but assumed that lookup did some magic. I think this does what he
> wants (not tested):
>
> require_files         = "/etc/exim/${extract {file}{${lookup \
>                          {${local_part}@${domain}} dbm*@ \
>                          {/etc/exim/autoresp.db}
>              {$value}}}{$value}{_}}"

>
> --
> Thomas
> beast@???
>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-> users Exim details
> at http://www.exim.org/ ##
>
>