[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim und bind



On Mon, Nov 06, 2000 at 03:23:34PM +0100, Andreas Tille wrote:
[snip]
> Die exim Dokumentation ist zwar sehr ausführlich, aber immer an den
> entscheidenden Punkten hilft sie mir (ich will nicht ausschließen, daß ich
> zu blöd bin!) nicht weiter.  Als Beispiel sei auch das Address-Rewriting
> angeführt.  Die Standard-Debian-Konfiguration sieht das ja auch explizit
> vor und fügt am Ende von /etc/exim.conf
> 
> *@my-domain.de    ${lookup{$1}lsearch{/etc/email-addresses}\
>                                                {$value}fail} bcfrF
> 
> ein, aber wie um alles in der Welt /etc/email-addresses aussehen muß, daß
> steht nicht in der exim Dokumentation (oder wie gesagt, bin ich zu blöd es
> rauszulesen) :-(.

6. FILE AND DATABASE LOOKUPS,
6.1 Single-key lookup types

The following single-key lookup types are implemented:

 .   lsearch: The given file is a text file which is searched linearly for a
     line beginning with the single key, terminated by a colon or white space
     or the end of the line. White space between the key and the colon is
     permitted. The remainder of the line, with leading and trailing white
     space removed, is the data. This can be continued onto subsequent lines
     by starting them with any amount of white space, but only a single space
     character is included in the data at such a junction. If the data begins
     with a colon, then the key must be terminated by a colon, for example:

       baduser:  :fail:

     Empty lines and lines beginning with # are ignored, even if they occur in
     the middle of an item. This is the traditional textual format of alias
     files.

Also:
blahlokal: foo@bar.org

Gefunden mittels suche im Inhaltsverzerichnis nach "lookup", wenn man
einfach das ganze File nach "lsearch" durchsucht landet man schon beim
zweiten Treffer an der richtigen Stelle.
             cu andreas


---------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Body
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
---------------------------------------------------------

725 eingetragene Mitglieder in dieser Liste.


Reply to: