Eric Cox <[EMAIL PROTECTED]> 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 missed the fact that qmail-local calls qmail-queue to handle
forwards.

-Dave

Reply via email to