Re: director contingent on random address?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: T. William Wells
Datum:  
To: exim-users
Betreff: Re: director contingent on random address?
In article <Pine.SOL.3.96.971017085650.14285B-100000@???>,
Philip Hazel <ph10@???> wrote:
: do, but I take the general point. However, for simple cases I think it
: is nicer to be able to write, for example
:
: domains = a.b.c:d.e.f
:
: rather than
:
: condition = "${if or {eq{$domain}{a.b.c}}{eq{$domain}{d.e.f}}}{true}{false}}"
:
: which would get even more unreadable with lookups. So one would need
: some new syntax, I think.

condition = "${search_string_list{$domain}{a.b.c:d.e.f}}"

perhaps? Anyway, I don't think that it's necessary to remove *all*
the selection options. But what you probably should do is find out
which ones are used the most and keep a couple of them, but only
have the rest accessible via a conditional.

One advantage of the conditional approach is that once you've
implemented a particular operator, it becomes available to all
conditionals....

: On Thu, 16 Oct 1997, T. William Wells wrote:
: > Ah hah! It's a smartuser director at the moment. I had recalled
: > *something* had been changed that would have done what I wanted
: > but I kept looking at smartuser-related options and so didn't see
: > it....
:
: Sounds like you've seen it now?

Yes. But I think I'm going to have to use a router instead, as
what I want to be doing is to send the thing via smtp to myself --
as near as I can tell, you can't do that with a director. (Right
now, I'm cheating; I'm sending it to a friendly neighborhood SMTP
server, who sends it back to me. :-)

--
* 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/