Re: lsearch or string expansion with senders option

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: John Horne
CC: exim-users
Sujet: Re: lsearch or string expansion with senders option
On Wed, 1 Oct 1997, John Horne wrote:

> If I use :
>
> senders=lsearch;/lists/${lc:$local_part}-senders:POSTMASTER
>
> with the domain name in the senders file then it all works fine. However, is
> it possible to configure this to avoid the domain name in the file?


The only way I can think of is to use the @@-style search mechanism,
which would require you to have the domain name only once in the file.
Check out section 7.13 in the spec. However, if you do this and the
list gets very long, you won't gain anything by (for example) changing
from lsearch to dbm.


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/