On Sat, Jul 28, 2001 at 02:22:25PM -0400, Philip Mak allegedly wrote:
> On Sat, 28 Jul 2001, Peter van Dijk wrote:
>
> > > I am not familiar with the internals of qmail, but from what I have seen,
> > > this would make sense.
> >
> > Yes. This program could then just talk to /var/qmail/bin/qmail-queue itself,
> > or talk to /var/qmail/bin/forward.
>
> Oh, so you're saying if e.g. on mydomain.com I have the file .qmail-pmak
> that says:
>
> &[EMAIL PROTECTED]
>
> and someone sends e-mail to [EMAIL PROTECTED], the message actually gets
> injected twice into qmail---first time to send to [EMAIL PROTECTED], then
> qmail re-injects it again for delivery to [EMAIL PROTECTED]?
Yep.
The way to do this optimally is to have a program that does the lookup
and then execs /var/qmail/bin/forward (or possibly qmail-queue for a
minor performance gain).
Regards.