Scott,

If you have a small number of host names (which I suspect you do), you can
use virtualdomains to your advantage.

Try something like this (only dealing with .com for now--assuming you
have no users named "tammy" or "scott"):

/var/qmail/control/virtualdomains
====================================
tammy.yelich.com:tammy
scott.yelich.com:scott


~alias/.qmail-tammy (symlink to) --> ~alias/.qmail-tammy-default
=================================================================
&[EMAIL PROTECTED]

~alias/.qmail-scott (symlink to) --> ~alias/.qmail-scott-default
=================================================================
&[EMAIL PROTECTED]


Now, if you wish to make exceptions for [EMAIL PROTECTED], you can
create the following file:

~alias/.qmail-scott-deadcat
============================
&[EMAIL PROTECTED]

If you don't understand what is going on with regard to the extensions,
give the Life with Qmail page a thorough read, and you'll understand a bit
better.

You'll still need to set up rcpthosts to deal with only those hostnames
(domain names) for which you wish to accept mail.

Best of luck,

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Wed, 29 Dec 1999, Scott D. Yelich wrote:

:-----BEGIN PGP SIGNED MESSAGE-----
:
:
:another mail "forwarding" question/issue:
:
:
:I have registered yelich.{com,net,org} and I want to use qmail to accept
:mail on one machine.. where you can set up a domain plus host such as
:"tommy.yelich.com" where I can then use a .qmail-default so that all
:mail to this host+domain gets forwarded... I also want to do
:"tammy.yelich.com," "scott.yelich.com"  and others.
:
:Can qmail handle this easily?  If so, how?
:
:Scott
:
:
:
:
:-----BEGIN PGP SIGNATURE-----
:Version: 2.6.2
:
:iQCVAwUBOGpVmh4PLs9vCOqdAQGQ3QP/fD8F2xQDgxGV5fBN53OPWGFvsjBvAWn1
:VM7oXU8C8WHllfIPoywJKN7Oz5ijwGJKZmQA+rdZuinhLRSVfg7/mPu29xZNY8UR
:x9yXkuRLNt6goCuEu4puwql1F9QUU/Qi1naHPpxXIjgMivslumfcn8ZvebSWAoiE
:eAxOoCFRGIc=
:=8Hgi
:-----END PGP SIGNATURE-----
:
:

Reply via email to