Re: [Exim] forward to multiple recipients: best practice?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas Metzler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] forward to multiple recipients: best practice?
On Sun, Oct 12, 2003 at 04:59:22PM +0200, Tom Lazar wrote:
> I need to forward mail to particular addresses (info@ etc.) to multiple
> local and external users.

[...]
> with my current setup, the first entry in the forwardtable wins:
>
> address_to_external:
> driver = redirect
> allow_fail
> allow_defer
>
> data = ${lookup{$local_part@$domain} lsearch*@
> {/usr/local/etc/exim/forwardtable}}
> user = mailnull
>
> i reckon i could use the 'unseen' directive and simply set up an
> identical router and a second forwardtable but that would be just plain
> messy and wouldn't scale well to more recipients *at all*
>
> any better ideas?


Why don't you list multiple addresses in the aliasfile?
info@???: bar@???,blah@???
              cu andreas