[Vmail-discuss] Multiple Aliases
Paul Warren
pdw@xxxxxxxxxxxxx
Mon, 27 May 2002 11:22:11 +0100
On Mon, May 27, 2002 at 11:16:53AM +0100, Chris Lightfoot wrote:
> > > yep - VE-forwarder add domain.com info
> > > user1@foobar.com,user2@foobar.com,user3@foobar.com
> >
> > Does that work? Neat. The intended way to do that this is to do:
>
> I think that it only works because of the way that Exim
> parses address lists-- it results in a single db row with
> lots of addresses and commas in it. In other words, I
> don't recommend using it this way.
>
> > VE-forwarder add domain.com info user1@foobar.com
> > VE-forwarder add domain.com info user2@foobar.com
> > VE-forwarder add domain.com info user3@foobar.com
>
> Perhaps we should extend the add syntax to take a list of
> addresses? That would be neater.
Yes - certainly quietly accepting a comma separated list is likely to
cause confusion.
Mail::RFC822::Address could be used to split up a comma separated
list, as well as ensuring that the addresses are syntactically valid,
which is probably a good idea too.
Paul