Re: [Exim] regexp lookups from a file

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: Rejo Zenger
CC: Exim-Users
Assumpte: Re: [Exim] regexp lookups from a file
On Sun, 3 Nov 2002, Rejo Zenger wrote:

> ++ 02/11/02 16:14 +0100 - Nico Erfurth:
> Oke, this is something I can use. Thank you. Still I seem to have some
> problems. This is the setup currently in place:
>
>
> In /etc/exim/configure:
>
> |  domainlist local_domains = *.local :\
> |                             partial-lsearch;/etc/exim/virtual.domains

>
> Same file, right after the dnslookup and before the system_aliases
> router:
>
> |  virtual_domains:
> |    driver = redirect
> |    domains = partial-lsearch;/etc/exim/aliases-$domain
> |    local_part_prefix = *-
> |    data = ${lookup {$local_part_prefix} lsearch {/etc/exim/aliases-$domain} }

>
> In /etc/exim/virtual.domains:
>
> | sisterray.xs4all.nl
> | rz.xs4all.nl
> | rz.nl.eu.org
>
> In /etc/exim/aliases-rz.xs4all.nl
>
> | # main
> | rejo: rejo@???
> |
> | # catch-all
> | bounce-: rejo
> | charter-: rejo
>
>
> So, now when I send an email to <bounce-test@???>, this should
> be accepted - if I'm not mistaken. Mail to <bounce-test@???>
> should go to <rejo@???> should go to <rejo@???>. Right?
>
> Well, in one way or another, email to <rejo@???> is accepted,
> but email to <bounce-test@???> is not. Probably I'm overlooking
> something stupid...
>
> |  2002-11-03 13:53:14 188KFe-0004bd-00 <= rejo@??? U=rejo P=local
> |      S=570 id=20021103125314.GA17706@??? T="test" from
> |      <rejo@???> for bounce-test@???
> |  2002-11-03 13:53:14 188KFe-0004bd-00 ** bounce-test@???:
> |      Unrouteable address

>
> What is it that I'm doing wrong?


exim -d -bv bounce-test@??? will give you more information.

If it does not help, post the relevant parts of the debugrun to the list.

ciao