It's defiantly wrong to place it in the locals. Qmail looks in the locals
first. If it finds the needed domain, it will check for a local user, if
it's not found, it will bounce.

What's the error message that you are getting?
Make sure it's also in the rcpthosts.
stockdigest.net should be in the rcpthosts and the virtualhosts file.

That's it.

Philip

> From: "tony cricelli" <[EMAIL PROTECTED]>
> Date: Fri, 26 Nov 1999 23:33:36 -0800
> To: <[EMAIL PROTECTED]>, "\"Philip Gabbert\"" <[EMAIL PROTECTED]>
> Subject: Re: virtualdomains setup trouble
> 
> I did as Brad suggested, another sig HUP with no luck. I just removed the
> domain
> from locals (as Philip suggested )and did another sig hub and now mail for
> the domain just bounces.
> 
> I must have missed a real simple step, but for the life of me I can not
> figure it out. Should i add it back to locals or is it definately wrong to
> put
> it in there?
> 
> --tony
> ----- Original Message -----
> From: "Philip Gabbert" <[EMAIL PROTECTED]>
> To: "tony cricelli" <[EMAIL PROTECTED]>
> Sent: Sunday, November 28, 1999 6:47 PM
> Subject: Re: virtualdomains setup trouble
> 
> 
>> I've fallen to this one as well, check your locals file. Make sure it's
> NOT
>> in the locals file.
>> This one got me for a bit too. I suggest if you want all your domains to
> be
>> 'virtual', like myself, have ONLY 'localhost' in the locals file. This
> will
>> make qmail check the virtualdomains file for ALL domains the machine
>> receives mail for.
>> 
>> And Of course like Brad said, make sure you send the -HUP SIG command to
>> qmail-send to restart it (you can locate it via top, user: qmails)
>> 
>> Philip
>> 
>>> From: "tony cricelli" <[EMAIL PROTECTED]>
>>> Date: Fri, 26 Nov 1999 22:23:54 -0800
>>> To: <[EMAIL PROTECTED]>
>>> Subject: virtualdomains setup trouble
>>> 
>>> Hello all,
>>> I struggled with this for a few days and finally broke down and am
>>> asking here. I am setting up a virtualdomain called stockdigest.net.
>>> 1. The MX record points to the correct machine.
>>> 2. The domain is in control/rcpthosts
>>> 3. I have the following in control/virtualdomains : stockdigest.net:tony
>>> 4. I also setup a .qmail-default file in ~tony
>>> 
>>> If I send mail to  [EMAIL PROTECTED]  I get the mail. If  I send it
> to
>>> [EMAIL PROTECTED] it bounces.
>>> 
>>> The above 4 steps is all I saw to do in the man pages and the FAQ. Sorry
>>> if I am missing something really silly! Where did I go wrong?
>>> 
>>> Thanks in advance,
>>> --tony
>>> 
>>> 
>> 
>> 
> 
> 

Reply via email to