On Tue, May 16, 2000 at 02:39:18PM +0200, Paulo Jan wrote:
> 1) Let's suppose that I decide to centralize virtual domains
> redirection in users/assign, by adding in virtualdomains entries like
> these:
>
> domain1.com:domain1-com
> blah.org:blah-org
>
> And entries like these in users/assign:
>
> domain1-com-luser1:luser1:2020:200:/home/luser1:::
> blah-org-superluser:1036:200:/home/superluser:::
>
> Okay. Now let's suppose that I have an address in the blah.org domain
> that doesn't correspond to any local user; instead, mail to that address
> should be directly forwarded to another host. How do I do that? I had
> thought of adding in qmail/alias a file a .qmail-blah-org-(username)
> file, but I don't know if that's the right way, nor I really like it too
> much, frankly (I'd prefer to have all the information about users in
> virtual domains available in one place, instead of scattered between
> qmail/users and qmail/alias). So... is there any other way?
You can do this:
# echo '&[EMAIL PROTECTED]' > ~alias/.qmail-blah-org-username
or use Dan's fastforward package to centralize all the addresses in one cdb
file. (The principle remains the same though: everything gets delivered through
an ~alias/.qmail-blah-org-default or an ~alias/.qmail-default file.)
Chris