Re: qmail+virtualdomain

2001-01-26 Thread Henning Brauer

On Thu, Jan 25, 2001 at 06:05:48PM +0100, Massimiliano Santarelli wrote:
 modifying the  locals/rcpthost files ,

 and in virtualdomain file (newvirtualdomain:newuser).
 ^
 How can i solve this problem and split different users with different
 virtualdomain??

Maybe in just using the right filenames... you missed the last s each.
virtualdomains and rctphosts are right.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: qmail+virtualdomain

2001-01-26 Thread Massimiliano Santarelli

On Thu, 25 Jan 2001, you wrote:
 Your virtualdomain is not called 'virtualdomain' so stop lying about
 that.
 
 Show us the contents of your configfiles, especially locals and
 virtualdomains, please.
 
 Greetz, Peter.

Well , now i put  "avatar.yi.org:alias-avatar" into virtualdomains file, 
and made a: touch ~alias/.qmail-avatar-pluto
Into my locals file i've: cikosub.yi.org
but if i send a mail to [EMAIL PROTECTED] and [EMAIL PROTECTED]
it seems there's no difference between the two domains for the same user.

thanks 
Massimiliano



Re: qmail+virtualdomain

2001-01-26 Thread Markus Stumpf

On Fri, Jan 26, 2001 at 12:05:18PM +0100, Massimiliano Santarelli wrote:
 Well , now i put  "avatar.yi.org:alias-avatar" into virtualdomains file, 
 and made a: touch ~alias/.qmail-avatar-pluto
 Into my locals file i've: cikosub.yi.org
 but if i send a mail to [EMAIL PROTECTED] and [EMAIL PROTECTED]
 it seems there's no difference between the two domains for the same user.

Did you   kill -HUP pidof(qmail-send)

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research  Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: qmail+virtualdomain

2001-01-25 Thread Frank Tegtmeyer

 thing for the user called "newuser"
 How can i solve this problem and split different users with different
 virtualdomain??

Is virtualdomain still in "locals"?



Re: qmail+virtualdomain

2001-01-25 Thread Markus Stumpf

On Thu, Jan 25, 2001 at 06:05:48PM +0100, Massimiliano Santarelli wrote:
 modifying the  locals/rcpthost files ,
 and in virtualdomain file (newvirtualdomain:newuser).

A domain has to be either in locals OR virtualdomains, not in both
(if you have it in both, locals overrides virtualdomains).
Don;t forget to   kill -HUP `pidof qmail-send`   after making changes
to locals and/or virtualdomains file.

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research  Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: qmail+virtualdomain

2001-01-25 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 06:05:48PM +0100, Massimiliano Santarelli wrote:
 HI! i've compiled qmail on mi server and it works well!
 Now, i'm still trying to add a virtualdomain, 
 modifying the  locals/rcpthost files ,
 and in virtualdomain file (newvirtualdomain:newuser).
 But if i try to send mail to newuser@hostname, the delivery happen! so the
 account newuser@newvirtualdomain and newuser@hostname seems to be the same
 thing for the user called "newuser"
 How can i solve this problem and split different users with different
 virtualdomain??

Make sure that any domain you want to handle virtually is *not*
mentioned in locals.

If you mention a domain in locals *and* in virtualdomains, locals
takes precedence.

Greetz, Peter.



Re: qmail+virtualdomain

2001-01-25 Thread Massimiliano Santarelli

Well, if i try to delete the virtualdomain from "locals" file,leaving it only in
the "virtualdomains" file, i obtain:

newuser@virtualdomain:
Sorry, no mailbox here by that name. (#5.1.1)

thans 
Massimiliano

On Thu, 25 Jan 2001, you wrote:
 On Thu, Jan 25, 2001 at 06:05:48PM +0100, Massimiliano Santarelli wrote:
  HI! i've compiled qmail on mi server and it works well!
  Now, i'm still trying to add a virtualdomain, 
  modifying the  locals/rcpthost files ,
  and in virtualdomain file (newvirtualdomain:newuser).
  But if i try to send mail to newuser@hostname, the delivery happen! so the
  account newuser@newvirtualdomain and newuser@hostname seems to be the same
  thing for the user called "newuser"
  How can i solve this problem and split different users with different
  virtualdomain??
 
 Make sure that any domain you want to handle virtually is *not*
 mentioned in locals.
 
 If you mention a domain in locals *and* in virtualdomains, locals
 takes precedence.
 
 Greetz, Peter.




Re: qmail+virtualdomain

2001-01-25 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 07:56:04PM +0100, Massimiliano Santarelli wrote:
 Well, if i try to delete the virtualdomain from "locals" file,leaving it only in
 the "virtualdomains" file, i obtain:
 
 newuser@virtualdomain:
 Sorry, no mailbox here by that name. (#5.1.1)

Your virtualdomain is not called 'virtualdomain' so stop lying about
that.

Show us the contents of your configfiles, especially locals and
virtualdomains, please.

Greetz, Peter.



Re: qmail+virtualdomain

2001-01-25 Thread Frank Tegtmeyer


 Well, if i try to delete the virtualdomain from "locals" file,leaving it only in
 the "virtualdomains" file, i obtain:
 
 newuser@virtualdomain:
 Sorry, no mailbox here by that name. (#5.1.1)

Of course you have to provide a .qmail file that catches your address.
In the case of this address it would be ~newuser/.qmail-newuser or
~newuser/.qmail-default.

Try to understand how the extension mechanism in qmail works - after that
you will understand how virtual domains may be implemented.

Two packages that handle virtual domains for you are mentioned on 
www.qmail.org.

Regards, Frank