how to test for a qmail virtualdomain?

2001-05-16 Thread Jason R. Mastaler
Does anyone know of a reliable way to programatically test whether an incoming message is part of a qmail virtualdomain or not? I've been looking at qmail-send's environment variables under both a regular setup and a virtualdomain, and can't find a surefire way to differentiate the two cases

Re: how to test for a qmail virtualdomain?

2001-05-16 Thread Tim
to handle all types (for example, maildrop has its own virtual users mechanism)? How reliable does it need to be? Tim On Wed, May 16, 2001 at 09:53:13AM -0600, Jason R. Mastaler wrote: Does anyone know of a reliable way to programatically test whether an incoming message is part of a qmail

Re: how to test for a qmail virtualdomain?

2001-05-16 Thread Dave Sill
Jason R. Mastaler [EMAIL PROTECTED] wrote: Does anyone know of a reliable way to programatically test whether an incoming message is part of a qmail virtualdomain or not? I think you'll have to parse control/virtualdomains. I've been looking at qmail-send's environment variables under both

Re: how to test for a qmail virtualdomain?

2001-05-16 Thread Jason R. Mastaler
Tim [EMAIL PROTECTED] writes: I would say the most reliable way would be to just parse /var/qmail/virtualdomains and compare the LHS with $HOST (although this is a problem while somebody has updated virtualdomains but haven't sent -HUP to qmail-send yet). In this case, how about comparing

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

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

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

qmail+virtualdomain

2001-01-25 Thread Massimiliano Santarelli
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

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).

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

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

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

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