On Sat, Sep 23, 2000 at 06:44:37PM -0700, Eric Cox wrote:
>
>
> Peter Samuel wrote:
> >
> > On Thu, 21 Sep 2000, Eric Cox wrote:
> > >
> > > Mail is delivered to [EMAIL PROTECTED]
> > >
> > > ~alias/.qmail-user1 contains:
> > >
> > > |script that writes a username into ~alias/.qmail-user2
> > > &user2
> >
> > It would work but it's a woefully inefficient way to do it. Especially
> > as qmail comes with a mechanism to do just this - /var/qmail/bin/forward.
> >
> > ~alias/.qmail-user1 contains:
> >
> > | forward `some_script_that_generates_new_addess(es)`
> >
> > See the man page.
>
> The man page says that forward is a wrapper around qmail-queue.
> Doesn't that mean the message makes two complete trips into and
> out of the queue, while the method I described is handled
> completely within qmail-local?
>
> Granted I haven't looked at the source yet, but what have I
> missed?
You haven't missed anything. It could be faster.
And the order does not matter as all forwards are done last.
/magnus