On Tue, 23 Aug 2005 17:47:04 +0200
Jakob Hirsch <[EMAIL PROTECTED]> wrote:
> Marco Herrn wrote:
>
> >> data = ${lookup ...alias... {$value ${lookup ... mailbox... {, $value}}}}
> > Not really sure, what you mean by this. The path to the mailbox
>
> It would expand to
> data = [EMAIL PROTECTED], [EMAIL PROTECTED]
> but only if there's a mailbox [EMAIL PROTECTED], otherwise
> data = [EMAIL PROTECTED]
Well, that shouldn't work, since for [EMAIL PROTECTED] a new message would be
created, which itself is handled by the same router. All mailboxes are on the
same machine. The only difference between an alias and a mailbox is, that an
alias generates new adresses, whereas a mailbox directly stored into a file. If
I would only get the _address_ of the mailbox from the db and give it as data,
a new mail for the same address would be generated, which would result in an
endless loop (I think exim would prevent endless loops, but it wouldn't be
nice, of course).
> Btw, did you think about what will happen if there is more than one
> alias to a single address?
I do not see any scenario that could lead to problems here. Do you?
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/