On Thu, Mar 30, 2000 at 12:03:49PM +1000, Marc-Adrian Napoli wrote:
> Two locally delivered domains, "cia.com.au" and "ezeelynx.com.au" - both of
> these *must* stay in "locals" and we *cannot* put them in "virtualdomains".
> (If we could, this problem would be easily).
> 
> I have one particular user, who wants to receive [EMAIL PROTECTED] mail
> but have [EMAIL PROTECTED] go elsewhere. I've tried creating a
> .qmail-ezeelynx:com:au-username file in his home directory but it is
> ignored.

It's ignored because it's meaningless in this situation. If someone sent mail
to [EMAIL PROTECTED], qmail would dutifully follow the
instructions contained in .qmail-ezeelynx:com:au-username.

> Does *anyone* please have any suggestion on how to resolve this? Customer is
> getting edgy :-]

This seems crude, and I hope someone can come up with something better, but you
could stick this in his .qmail file:

| condredirect [EMAIL PROTECTED] [ `echo "$RECIPIENT" | tr A-Z a-z` = 
|"[EMAIL PROTECTED]" ]
./Maildir/

I'm sure there's something terribly wrong with that, but it should work. The
better solution is to have a better understanding of virtual domains and
realize that you can indeed make one or the other of the domains virtual.
Reexamine your notion that 'both of these *must* stay in "locals" and we
*cannot* put them in "virtualdomains."'

Chris

Reply via email to