On Wed, 21 Apr 1999, Jeff Lush wrote:
> > 3.2. How do I set up a virtual domain? I'd like any mail for
> > nowhere.mil, including [EMAIL PROTECTED] and [EMAIL PROTECTED] and
> > so on, to be delivered to Bob. I've set up the MX already.
> >
> I have gotten that far; however, now user bob needs to build individual
> dot-qmail files for whatever he wants as email addresses. For example,
> [EMAIL PROTECTED] would require .qmail-bobsmith and [EMAIL PROTECTED]
> would require .qmail-sales. I want all mail to [EMAIL PROTECTED] to go to
> bob with only one dot-qmail file.
My favourite recipy for this is to include put
nowhere.mil:bob-nowhere
in /var/qmail/control/virtualdomains
and
then create
a ~bob/.qmail-nowhere-default
that will handle all mail to the domain nowhere. bobs normal mail is
still handled by ~bob/.qmail
If bob wants to handle one specific adress (e.g. [EMAIL PROTECTED]) in a
special way, then he creates ~bob/.qmail-nowhere-alice which will handle
this mail.
If he wants to handle alice-* also specifically, then he creates
~bob/.qmail-nowhere-alice-default that will handle this mail.
If no specific dot-file is found then ~bob/.qmail-nowhere-default will
be used. qmail WILL NOT revert to bobs ~bob/.qmail for
nowhere.mil-deliveries.
MOST IMPORTANT: nowhere.mil HAS to be included in
/var/qmail/control/rcpthosts BUT NOT in /var/qmail/control/locals
/magnus
--
"most useless site of the year 1998" ---> http://x42.com/urlcalc/