Re: [Exim] regexp lookups from a file

Top Page
Delete this message
Reply to this message
Author: Rejo Zenger
Date:  
To: exim-users
Subject: Re: [Exim] regexp lookups from a file
++ 03/11/02 14:57 +0100 - Nico Erfurth:
>> What is it that I'm doing wrong?
>
>exim -d -bv bounce-test@??? will give you more information.


Though sometimes a bit cryptic (most likely bevause it is rather
verbose, a thing I consider to be Good [tm]), it did help a lot.

One thing I didn't realize was that, except for those addresses like
<bounce-something@>, I also had some valid ones like that match the
pattern (like <nl-moderated-newsgroup@>). I do not know if this can be
considered as the best solution, but I have solved it by two routers:

| virtual_domains_complete:
| driver = redirect
| domains = lsearch;/etc/exim/virtual.domains
| data = ${lookup {$local_part} lsearch {/etc/exim/aliases-$domain} }

|
| virtual_domains_part:
| driver = redirect
| domains = lsearch;/etc/exim/virtual.domains
| local_part_prefix = *-
| data = ${lookup {$local_part_prefix} lsearch {/etc/exim/aliases-$domain} }


I still have some questions, regarding header rewriting, but I would
like to test first some stuff... I do not want to ask the stupid
questions. Thanks a lot for your help,

--
Rejo Zenger <rejo@???>
http://www.xs4all.nl/~sister
PGP 0x75FC50F3