Jerry A! <[EMAIL PROTECTED]> wrote:
> On Fri, Dec 15, 2000 at 03:01:26PM -0600, Charles Cazabon wrote:
> : 
> : Just put a forwarding directive in your ~alias/.qmail-* entries:
> : 
> : &user@localdomain
> : 
> : You'll typically have a line like this for each of
> : ~alias/.qmail-{root,postmaster,...}
 
> But how do I get this one alias to be used for *all* my virtual domains?
> Right now postmaster@virt1, hostmaster@virt2, etc. goes to the default
> user for each domain.  I want "administrative" mail to be caught by the
> default .qmail-alias files.

Create one file containing the appropriate forward directive, and
symlink or hardlink it to .qmail-virt1-postmaster, .qmail-virt2-postmaster,
etc.

If you don't like the brute force approach, you could have separate 
entries in virtualdomains for the role accounts you want:

[EMAIL PROTECTED]:postmaster
[EMAIL PROTECTED]:postmaster
virtdomain1.com:virtuser1
virtdomain2.com:virtuser2

The two postmaster accounts could then be handled by
~postmaster/.qmail-postmaster or ~alias/.qmail-postmaster-default, which
the rest of those virtualdomains are handled normally.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to