Roger Lipscombe <[EMAIL PROTECTED]> wrote:
Beerology, eh? I'm an amateur beerologist, myself.
>mail.foo.com is the MX for both foo.com and bar.com
>
>I'd like {postmaster,webmaster}@{foo,bar}.com to be delivered to me.
>
>I'd like any email to a user account that exists on the machine to be
>delivered to that user, regardless of which host it came in for.
So far, you want foo.com and bar.com to behave as if they're local,
not virtual.
>I'd like any email to bar.com that doesn't resolve to a known user to
>be delivered to a specific user.
So put both foo.com and bar.com in control/locals, remove bar.com from
control/virtualdomains, and create a ~alias/.qmail-default that looks
for bar.com in the recipient's address and forwards to the specified
user if found.
>Also, I was wondering if anyone had any tips/caveats for the unsuspecting
>qmail beginner that I should be aware of?
http://lwq.sill.org, especially Appendix G.
-Dave