[exim] Best way of doing a two feild look up

Inizio della pagina
Delete this message
Reply to this message
Autore: Robert Bannocks
Data:  
To: exim-users@exim.org
Oggetto: [exim] Best way of doing a two feild look up
Hi,


Can someone advise what the best way of lookup up pairs of addresses in an exim table are.


I want to do something like:


userabc@???:usercds@???: :fail: SMTP errror or alias to diver to.


i.e. mail from userabc@??? addressed to usercde@??? is either re-aluiased or subject to a :fail: etc.


I cannot see an obvious way and though parhaps a combined key with a comma sepperator would do, i.e. look up

userabc@???,usercde@???: :fail: bla bla bla


but am not 100% sure if comma is a valid token in Addresses and thought I would aks what others have done.


Kittos


Rob


This email and any attachments are intended solely for the addressee and may contain confidential information. If you are not the intended recipient of this email and/or its attachments you must not take any action based upon them and you must not copy or show them to anyone. Please send the email back to us and immediately and permanently delete it and its attachments. Where this email is unrelated to the business of University of the Arts London or of any of its group companies the opinions expressed in it are the opinions of the sender and do not necessarily constitute those of University of the Arts London (or the relevant group company). Where the sender's signature indicates that the email is sent on behalf of UAL Short Courses Limited the following also applies: UAL Short Courses Limited is a company registered in England and Wales under company number 02361261. Registered Office: University of the Arts London, 272 High Holborn, London WC1V 7EY