Virtual Domains Delivering to Local Users - PROBLEM..

2001-08-07 Thread craig . spiers

Hi All,

Im using virtualdomains with a line like this..

nothingbut.net.nz:alias

I have fastforward installed and working correctly..

I have in /etc/aliases - [EMAIL PROTECTED]:craig

now.. when i post a message to [EMAIL PROTECTED] i get this back from
qmail-send

Hi. This is the qmail-send program at localhost.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

/etc/aliases works fine.. IF i am forwarding to a remote address.. the
username craig is a local pop account.. i am storing mail in
/var/spool/mail if thats relivant..
the user craig does exist, and the directory /home/craig is owned and
writeable by the user craig.
thanks in advance!
craig




Help with virtual domains - mail bouncing

2001-07-15 Thread Matt Fearnow

I need help with a virtual domain.  One of our sister companies site has 
been down for a while, and email is starting to bounce to their domain.

We were going to setup qmail to be able to at least hold their mail, until 
either 1) we were able to create the necessary alias's or 2) their site 
comes online.

I created entries in control/rcpthosts, and control/virtualdomains:

control/rcpthosts:
ourdomain.com
sisterdomain.com

control/virtualdomains:
ourdomain.com:ourdomain-com
sisterdomain.com:alias

But when I restart qmail, all mail for their domain starts bouncing because 
I dont have their alias's setup yet.  Is there a way around this?  Please help

Matt 




POP3 and Virtual Domains

2001-06-22 Thread A A

Hello!

I have a question about setting up pop3 access for
virtual domains.

For example, suppose I have 2 virtual domains on my
server = vdomain1.com and vdomain2.com

I need to set up the following email addresses, each
one will be accessed by a DIFFERENT person through
POP3
(i.e. with MS Outlook):

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

So I need to set up 4 pop3 accounts for these people.
I am using qmail-pop3d and the maildir format.

I am confused about virtual domains in qmail.
According to LWQ, having virtual domains is as simple
as adding to the virtualdomains file =

vdomain1.com:vdomain1_user
vdomain2.com:vdomain2_user

and set up 2 linux system users with the names
vdomain1_user and vdomain2_user
and in each user's home directory put .qmail-support
and .qmail-webmaster

Now this all looks great, but here I have a problem.
How will the pop3 program access the email? My test
user had only one .qmail file (no virtual domains yet
or extensions yet) and the pop3 client was set up with
the regular linux username and password.

So the gist of the question is, if a regular linux
user's home directory has only 1 .qmail file without
any extensions, then pop3 access can be set up simply
by using that user's linux username and password.

But if there are many .qmail-ext files with extensions
in the user's home directory, then how to configure
the usernames and passwords so that separate people
can access the Maildir controled by each .qmail-ext?
As far as I know, the usename and the password is the
same for all of them.

Or, is there a better way to cnfigure all this? I
admit that I am a newbie at this, so answers (ideally
with detailed instructions) are greatly appreciated.


Thanks a bunch!!!

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: POP3 and Virtual Domains

2001-06-22 Thread Frank Tegtmeyer

A A [EMAIL PROTECTED] writes:

 and set up 2 linux system users with the names
 vdomain1_user and vdomain2_user
 and in each user's home directory put .qmail-support
 and .qmail-webmaster

... that forward to the real system users then.

 How will the pop3 program access the email? My test
 user had only one .qmail file (no virtual domains yet

Like any other regular user.

 Or, is there a better way to cnfigure all this? I
 admit that I am a newbie at this, so answers (ideally
 with detailed instructions) are greatly appreciated.

Have a look at http://www.vmailmgr.org/ or
http://www.inter7.com/vchkpw/

Regards, Frank



strange behaviour at (some) virtual domains..

2001-05-03 Thread Anton Pirnat

we are using a qmail, vpopmail server (default install, no locals only 
virtual domains and roaming users enabled) and some of our customers do have 
more than one domain. In this cases our last sysadmin made a symlink instead 
of using the virtualdomains control file. He just added the domain using 
vadddomain, then deleted the domain dir and made a ln -s .. This way it was 
working well.
rcpthosts did contain some like..
--
domain1.tld
domain2.tld
--

and virtualdomains did contain..
--
domain1.tld:domain1.tld
domain2.tld:domain2.tld
---

Now i wanted to remove this links and add the domains in my virtualdomains 
file instead, but it only works for some of the domains!!!
so i did remove the ln and did change the virtualdomaisn file it now shows 
some like..
--
domain1.tld:domain1.tld
domain2.tld:domain1.tld
---

This is made for umm..4-5 main domains, and in near all cases it works. Even 
not in all of them!!!

In two cases it does not work, and i have no clue why it doesn´t work!
I also did check our NS, and a lookup works well for all domains. I all cases 
it point to the main domain IP. However qmail wont accept mails and bounces 
them back..

..a part of the failure message i get back..
---
Hi. This is the qmail-send program at mail.pop-stuttgart.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
lange:blueflame.com:blueflame.de

--- Below this line is a copy of the message.
---

in this case i had blueflame.de and blueflame.com in my rcpthosts.. and 
blueflame.com:blueflame.com and blueflame.de:blueflame.com in my 
virtualdomains file.

The strange part is, it works for other domains, even not for this and a 2.nd 
one.  Maybe there is someout out i am missing? Any hints/tips out there?


regards from South Germany

Anton Pirnat








ONLY virtual domains?

2001-04-16 Thread Sean Brown

Is it possible to ONLY use virtual domains?  I'd like to do this for 
oganizational sake more than anything else (I am using vmailmgr and like to 
have each domain controlled under on home dir).  For example, let's say I 
have a machine named mail.mydomain.com.  The MX record for mydomain.com 
points to that machine.  I also serve mail for anotherdomain.com and 
thirddomain.com.  What would happen if I listed mydomain.com in 
"virtualdomains" along with the other two?  Is it possible to leave "locals" 
and plusdomains" empty?  Does it matter? Would that give me the desired 
result?

Thanks,

Sean
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: ONLY virtual domains?

2001-04-16 Thread Tim Legant

On Mon, Apr 16, 2001 at 11:35:28PM -0400, Sean Brown wrote:
 Is it possible to ONLY use virtual domains?  I'd like to do this for 
 oganizational sake more than anything else (I am using vmailmgr and like to 
 have each domain controlled under on home dir).

Yes. I have an organization with about a dozen domains, all virtual,
using VMailMgr.

Tim



virtual domains

2001-03-20 Thread ediknovl

Hello All,

I've installed virtual domains on qmail, so that all incoming mail for
domain example.com is getting in mailbox mailb. But qmail adds a
mailbox name in to Delivered to line that is not should be there, for example:
mail to [EMAIL PROTECTED] whill be delivered whith line
[EMAIL PROTECTED] Is it possible to configure that all mail
to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the
Delivered to line not with [EMAIL PROTECTED] ?
  

-- 
Best regards,
Eduard
mailto:[EMAIL PROTECTED]





Re: virtual domains

2001-03-20 Thread Peter Green

* Frank Tegtmeyer [EMAIL PROTECTED] [010320 08:08]:
  [EMAIL PROTECTED] Is it possible to configure that all mail
  to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the
  Delivered to line not with [EMAIL PROTECTED] ?
 
 Not that I like this behaviour: the vpopmail package does that.

Not strictly speaking; qmail-send does that.

   virtualdomains
List  of  virtual  users or domains, one per line.  A
virtual user has the form user@domain:prepend,  with
out  any  extra  spaces.   When  qmail-send  sees the
recipient address  user@domain,  it  converts  it  to
prepend-user@domain and treats it as local.

 But it's better to leave it untouched. Like Chris wrote it's ther to 
 prevent mail loops.

Yeppers.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
panic("esp: Heading to the promised land.");
(Panic message in the kernel.)




Re: virtual domains

2001-03-20 Thread Kirill Miazine

On Tue, Mar 20, 2001 at 08:25:38AM -0500, Peter Green wrote:
 * Kirill Miazine [EMAIL PROTECTED] [010320 08:21]:
  On Tue, Mar 20, 2001 at 08:11:40AM -0500, Peter Green wrote:
   * Frank Tegtmeyer [EMAIL PROTECTED] [010320 08:08]:
 [EMAIL PROTECTED] Is it possible to configure that all mail
 to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the
 Delivered to line not with [EMAIL PROTECTED] ?

Not that I like this behaviour: the vpopmail package does that.
   
   Not strictly speaking; qmail-send does that.
  
  well, he's talking about vpopmail's Delivere-To line, it's
  [EMAIL PROTECTED] in this case
 
 I'm not sure what you mean. If ``example.com'' is in virtualdomains as, say:
 
   example.com:exampleuser
 
 Then the Delivered-To: line of:
 
   [EMAIL PROTECTED]
 
 will be added for [EMAIL PROTECTED] regardless of whether vpopmail is
 being used or not. For instance, I see this exact same behavior with
 vmailmgr.

qmail doesn't add the Return-Path and Delivered-To lines when delivering to programs:

from `man qmail-command':
[...]
   WARNING: The mail  message  does  not  begin  with  qmail-
   local's usual Return-Path and Delivered-To lines.
[...] 


vpopmail adds Return-Path and Delivered-To itself:

from vdelivermail.c:
[...]   
sprintf(msgbuf, "%sDelivered-To: %s@%s\n",
getenv("RPLINE"), TheUser, TheDomain);
[...]

 
 But maybe I'm just misunderstanding...wouldn't be the first time. :-)
 
 /pg
 -- 
 Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
 ---
 panic("esp: Mr. Potatoe Head is on the loose!");
 (Panic message in the kernel.)
 
-- 
Kirill



Re: virtual domains

2001-03-20 Thread Peter Green

* Kirill Miazine [EMAIL PROTECTED] [010320 08:36]:
 On Tue, Mar 20, 2001 at 08:25:38AM -0500, Peter Green wrote:
  I'm not sure what you mean. If ``example.com'' is in virtualdomains as, say:
  
example.com:exampleuser
  
  Then the Delivered-To: line of:
  
[EMAIL PROTECTED]
  
  will be added for [EMAIL PROTECTED] regardless of whether vpopmail is
  being used or not. For instance, I see this exact same behavior with
  vmailmgr.
 
 qmail doesn't add the Return-Path and Delivered-To lines when delivering
 to programs:

Gotcha.

 vpopmail adds Return-Path and Delivered-To itself:
 
 from vdelivermail.c:
 [...]   
 sprintf(msgbuf, "%sDelivered-To: %s@%s\n",
 getenv("RPLINE"), TheUser, TheDomain);
 [...]

But as far as I can tell, vpopmail doesn't have anything to say about the
format of the Delivered-To: line, since qmail-send has already ``mangled''
the local part of the e-mail address, right? I guess vpopmail could revert
the local information to a pre-virtualdomains state before writing the
Delivered-To: line, but that doesn't seem like it would make much sense...

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
panic("Splunge!");
(Panic message in the kernel.)




Re: virtual domains

2001-03-20 Thread Kirill Miazine

On Tue, Mar 20, 2001 at 08:42:47AM -0500, Peter Green wrote:
  
  qmail doesn't add the Return-Path and Delivered-To lines when delivering
  to programs:
 
 Gotcha.
 
  vpopmail adds Return-Path and Delivered-To itself:
  
  from vdelivermail.c:
  [...]   
  sprintf(msgbuf, "%sDelivered-To: %s@%s\n",
  getenv("RPLINE"), TheUser, TheDomain);
  [...]
 
 But as far as I can tell, vpopmail doesn't have anything to say about the
 format of the Delivered-To: line, since qmail-send has already ``mangled''
 the local part of the e-mail address, right? I guess vpopmail could revert
 the local information to a pre-virtualdomains state before writing the
 Delivered-To: line, but that doesn't seem like it would make much sense...

Assumed I understood you correctly, that's exactly what vpopmail does, but it 
constructs it's own Delivered-To line rather than reverting anything

 
 /pg
 -- 
 Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
 ---
 panic("Splunge!");
 (Panic message in the kernel.)
 
-- 
Kirill



virtual domains ONLY?

2001-03-19 Thread Sean Brown

Is it possible to ONLY use virtual domains with qmail?  An example:

My mail machine is mail.mydomain.com.  It also accepts mail for 
yourdomain.com and ourdomain.com.  ourdomain and yourdomain are set up and 
working through virtual domains.  What I'd like to do is also have mail sent 
to mydomain.com also handled as a virtual domain rather than local.  So, is 
it possible to have an empty "locals" and "defaultdomain" file and handle 
all mail using virtualdomains (and rcpthosts) even though the machine is 
part of mydomain.com?

Thanks,

Sean
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: virtual domains ONLY?

2001-03-19 Thread Russell Nelson

Sean Brown writes:
  Is it possible to ONLY use virtual domains with qmail?  An example:
  
  My mail machine is mail.mydomain.com.  It also accepts mail for 
  yourdomain.com and ourdomain.com.  ourdomain and yourdomain are set up and 
  working through virtual domains.  What I'd like to do is also have mail sent 
  to mydomain.com also handled as a virtual domain rather than local.  So, is 
  it possible to have an empty "locals" and "defaultdomain" file and handle 
  all mail using virtualdomains (and rcpthosts) even though the machine is 
  part of mydomain.com?

Yes.

-- 
-russ nelson will be speaking at http://www.osdn.com/conferences/brie/
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!



Re: virtual users without virtual domains?

2001-03-18 Thread Nick (Keith) Fish

"Todd A. Jacobs" wrote:
 
 I realize this may sound like a silly question, but I'm trying to wrap my
 head around the whole virtual users facility, and am trying to understand
 whether I can set up virtual users without also setting up virtual
 domains.
 
 In my current setup, all account are real users delivered to
 codegnome.org. I'm also interested in setting up virtual users (i.e. users
 without a login account) that are still part of the same domain as the
 real users (e.g. codegnome.org). Is this possible, and if so, can the
 virtual users and real users all get their pop mail from the same pop
 daemon?
 
 --
 Todd A. Jacobs
 CodeGnome Consulting, LTD

You most certainly can.  The question here is how to authenticate both
users using the same pop server.  To do that, just make a unique user
and group for your virtual users.  Check out
http://freshmeat.net/projects/checklocalpwd/ for a version of
checkpassword that can authenticate in this manner.  I also recommend
setting up all of your real users on the same interface as your virtual
users and then symbolically linking the mail directory to which the
virtual account would normally point to the real user's mail
directories.  Keep inherent permissions in mind here or you'll have a
big security hazard.  If you can't find a secure way of doing that, you
can always just write a shell script which will update the real users'
e-mail directories off from their virtual accounts and either make it a
command or throw it in your crontab.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



virtual users without virtual domains?

2001-03-17 Thread Todd A. Jacobs

I realize this may sound like a silly question, but I'm trying to wrap my
head around the whole virtual users facility, and am trying to understand
whether I can set up virtual users without also setting up virtual
domains.

In my current setup, all account are real users delivered to
codegnome.org. I'm also interested in setting up virtual users (i.e. users
without a login account) that are still part of the same domain as the
real users (e.g. codegnome.org). Is this possible, and if so, can the
virtual users and real users all get their pop mail from the same pop
daemon?

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





virtual domains config

2001-03-07 Thread Flash

Salutations to all:

What extra functionality and/or versatility is provided by fastforward
compared to virtualdomains?

If a hosted-domain client wants mail to [EMAIL PROTECTED] and
[EMAIL PROTECTED], this is handled by locals.

But if we want [EMAIL PROTECTED] to land in user1's mailbox and
anyaddressee@hosteddomain.com to land in user2's mailbox, what is the
preferred (and cleanest) arrangement?

What about a similar situation with all users on a foriegn system ?

And as I understand it, with fastforward, ALL domains are locals and the
.qmail-default and aliases files handle the re-arrangement, correct?

Thanks in advance,
Flash
aka Bob Gieger
Flash Systems, Inc.
504.482.4854




RE: Virtual Domains

2001-02-20 Thread Charrua

Yes, the other way is to use /var/qmail/controls/assign file...

I posted instructions how to use this file: 

Date: Thu, 15 Feb 2001 17:42:07 +0100
Subject: Re: How to set up qmail for several "[EMAIL PROTECTED]"?

so You can check it out


Hi, thank you for the information. In this sense I would like to make two
queries:

Is the assign file cumulative? That is to say do I have to keep on adding
users in this file or after creating the database for the assign file I
should create a new assign file?
Is this procedure compatible with the type of Add-ons of the vpopmail or
vmailmgr?

Thanks and regards.

Andrs







one user handling hundreds of virtual domains

2001-02-20 Thread Winifred Sanchez

Is it safe to assign more than a hundred virtual domains to only one qmail user? Can 
it handle hundreds or even thousands of messages that may arrive all at once for 
hundreds of accounts of each virtual domain?



Get your small business started at Lycos Small Business at 
http://www.lycos.com/business/mail.html



Virtual Domains

2001-02-19 Thread Charrua

Hi all,
I'm trying to configurate Virtuals Domains and reading the documentation I
reached the following procedure which I would like you to verify if it is
right or wrong.
Given a new domain called "test.com" I would do the following:

1 - I create an user for the domain, which is going to receive all e-mails.
Example: test

2 - I add domain to RCPTHOSTS and VIRTUALDOMAINS. In this file I would
insert the line "test.com:test".

3 - Given a new mailbox ([EMAIL PROTECTED]) in this domain, I would do the
following: I would create the user "peter-test", I would do so because if
there were any other peter in any other domain, what it would do would be
"peter-otherdomain". Is this right or is there any other way of doing it?

4. In the Home directory of the "test" user I would create a file
".qmail-peter" which would have the following forward: "peter-test".
Well, my query is : is this procedure right? or, is there any other way of
doing it?
 
Thanking you beforehand,

Andrs







Re: Virtual Domains

2001-02-19 Thread Pawel Garbowski

Hello,

* Charrua [EMAIL PROTECTED] [010219 19:27] wrote:
 
 1 - I create an user for the domain, which is going to receive all e-mails.
 Example: test
 
 2 - I add domain to RCPTHOSTS and VIRTUALDOMAINS. In this file I would
 insert the line "test.com:test".
 
 3 - Given a new mailbox ([EMAIL PROTECTED]) in this domain, I would do the
 following: I would create the user "peter-test", I would do so because if
 there were any other peter in any other domain, what it would do would be
 "peter-otherdomain". Is this right or is there any other way of doing it?

POP username (ex. from /etc/password) doesn't have to be  the same as 
the username (part of email adress).   

 4. In the Home directory of the "test" user I would create a file
 ".qmail-peter" which would have the following forward: "peter-test".
 Well, my query is : is this procedure right? or, is there any other way of
 doing it?

Yes, the other way is to use /var/qmail/controls/assign file...

I posted instructions how to use this file: 

Date: Thu, 15 Feb 2001 17:42:07 +0100
Subject: Re: How to set up qmail for several "[EMAIL PROTECTED]"?

so You can check it out

greets,


-- 
pawel garbowski
[EMAIL PROTECTED]
 



Re: Virtual Domains

2001-02-19 Thread Charles Cazabon

Charrua [EMAIL PROTECTED] wrote:
 I'm trying to configurate Virtuals Domains and reading the documentation I
 reached the following procedure which I would like you to verify if it is
 right or wrong.
 Given a new domain called "test.com" I would do the following:

Have you actually tried this?

 1 - I create an user for the domain, which is going to receive all e-mails.
 Example: test
 
 2 - I add domain to RCPTHOSTS and VIRTUALDOMAINS. In this file I would
 insert the line "test.com:test".

So far so good.

 3 - Given a new mailbox ([EMAIL PROTECTED]) in this domain, I would do the
 following: I would create the user "peter-test", I would do so because if
 there were any other peter in any other domain, what it would do would be
 "peter-otherdomain". Is this right or is there any other way of doing it?

This step doesn't make sense in this context.

 4. In the Home directory of the "test" user I would create a file
 ".qmail-peter" which would have the following forward: "peter-test".

No.  In the home directory of system user "test", create a file
".qmail-test-peter".  If you want to forward this mail elsewhere, then put
the line "forwardaddress@forwarddomain" into it.

If you want to send it to another local system user, you can forward to
that user.

If you want to store the mail directly, put a Maildir or mbox delivery line
in it.

You don't need a local user "peter-test" for this -- in fact, it defeats the
purpose of virtualdomains.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Virtual domains and forwarding.

2001-01-19 Thread James R Grinter

Charles Warwick [EMAIL PROTECTED] writes:
 Yes the data of the message will 'pass through' that machine.  There is no
 way with SMTP for it to just see the RCPT TO: address and say, no I don't
 accept that e-mail, please send that to a different mail server.  

Well, there is. But I've not seen it specifically supported in sender
or (non-)receiver:

RFC 821 offers:

   3.2.  FORWARDING

   [...]

 551 User not local; please try forward-path
 
This reply indicates that the receiver-SMTP knows the user's
mailbox is on another host and indicates the correct
forward-path to use.  Note that either the host or user or
both may be different.  The receiver refuses to accept mail
for this user, and the sender must either redirect the mail
according to the information provided or return an error
response to the originating user.

although clearly the bounce that results from that could direct the
recipient to send the mail elsewhere. Which may, or may not be, what
the original poster was wanting to avoid.

James.



Virtual domains and forwarding.

2001-01-18 Thread Grant

1. I have another domain I need to host on my machine. Is it possible
to send email to [EMAIL PROTECTED] and it will forward to an email address
(external to the domain.com machine) without the email data passing
through domain.com? I don't think this is possible.




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

I am not sure what you mean here by, "without the email data passing through
domain.com." If your host is listed as the mail host for the domain, it will
have to handle it one way or another.

If you have an additional domain that you want to host, say, domain2.com,
you would simply add the domain to the virtualdomains control file then tell
qmail where to deposit it (see the FAQ regarding virtual domains).

But if you mean that you want your mail server to act as a relay--i.e.,
although your host is set up as the mail host in DNS, but mail is actually
to be delivered to a remote machine, you would make the virtualdomains entry
then an appropriate smtproutes entry (IIRC).

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 08:46:32 +1000 (EST)
 To: [EMAIL PROTECTED]
 Subject: Virtual domains and forwarding.
 
 1. I have another domain I need to host on my machine. Is it possible
 to send email to [EMAIL PROTECTED] and it will forward to an email address
 (external to the domain.com machine) without the email data passing
 through domain.com? I don't think this is possible.
 
 




Re: Virtual domains and forwarding.

2001-01-18 Thread Grant

On Thu, 18 Jan 2001, Keary Suska wrote:

 I am not sure what you mean here by, "without the email data passing through
 domain.com." If your host is listed as the mail host for the domain, it will
 have to handle it one way or another.

Well say you send email to [EMAIL PROTECTED] The mail server you're sending from will 
look up the MX record for domain.com and attempt to connect. Now when you're trying to 
connect to domain.com, domain.com says oh, that gets forwarded to [EMAIL PROTECTED], 
so I won't take the email but send it onto [EMAIL PROTECTED] instead.

I don't think it's possible, but it is an idea so that you can use a slow connection 
to route lots of mail. Instead of the mail going through that server...

Does that help at all?




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

 Well say you send email to [EMAIL PROTECTED] The mail server you're sending from
 will look up the MX record for domain.com and attempt to connect. Now when
 you're trying to connect to domain.com, domain.com says oh, that gets
 forwarded to [EMAIL PROTECTED], so I won't take the email but send it onto
 [EMAIL PROTECTED] instead.

Actually, domain.com *will* accept the message, i.e., it will store it
locally in its queue. Using the virtualdomains/smtproutes option I listed in
my previous email, the message will then be sent on to the remote host
automatically without requiring a valid local user part of the address or a
.qmail file.

-K


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 10:43:06 +1000 (EST)
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Virtual domains and forwarding.
 
 On Thu, 18 Jan 2001, Keary Suska wrote:
 
 I am not sure what you mean here by, "without the email data passing through
 domain.com." If your host is listed as the mail host for the domain, it will
 have to handle it one way or another.
 
 
 I don't think it's possible, but it is an idea so that you can use a slow
 connection to route lots of mail. Instead of the mail going through that
 server...
 
 Does that help at all?
 
 




Re: Virtual domains and forwarding.

2001-01-18 Thread Grant

 Actually, domain.com *will* accept the message, i.e., it will store it
 locally in its queue. Using the virtualdomains/smtproutes option I listed in
 my previous email, the message will then be sent on to the remote host
 automatically without requiring a valid local user part of the address or a
 .qmail file.

But the data will still pass through the machine right?




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

What do you mean by "pass through?" What are you trying to avoid?

-K


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 11:51:23 +1000 (EST)
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Virtual domains and forwarding.
 
 Actually, domain.com *will* accept the message, i.e., it will store it
 locally in its queue. Using the virtualdomains/smtproutes option I listed in
 my previous email, the message will then be sent on to the remote host
 automatically without requiring a valid local user part of the address or a
 .qmail file.
 
 But the data will still pass through the machine right?
 
 




RE: Virtual domains and forwarding.

2001-01-18 Thread Charles Warwick
Title: RE: Virtual domains and forwarding.





Yes the data of the message will 'pass through' that machine. There is no way with SMTP for it to just see the RCPT TO: address and say, no I don't accept that e-mail, please send that to a different mail server. 

Therefore you cannot use a slow connection to 're-route' lots of e-mail. Any SMTP connection MUST accept the full e-mail before it can re-route it elsewhere.

-Original Message-
From: Keary Suska [mailto:[EMAIL PROTECTED]]
Sent: Friday, 19 January 2001 12:07 PM
To: Qmail
Subject: Re: Virtual domains and forwarding.



What do you mean by pass through? What are you trying to avoid?


-K



 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 11:51:23 +1000 (EST)
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Virtual domains and forwarding.
 
 Actually, domain.com *will* accept the message, i.e., it will store it
 locally in its queue. Using the virtualdomains/smtproutes option I listed in
 my previous email, the message will then be sent on to the remote host
 automatically without requiring a valid local user part of the address or a
 .qmail file.
 
 But the data will still pass through the machine right?
 
 



Please Note: 
The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. If you have received this email in error, kindly notify the sender. The sender does not guarantee the integrity of this email or any attached files.




Re: Virtual domains and forwarding.

2001-01-18 Thread Grant

I'm trying to avoid data coming through the 56k modem mail server. Yes I
know you get what you pay for ;)

On Thu, 18 Jan 2001, Keary Suska wrote:

 What do you mean by "pass through?" What are you trying to avoid?
 
 -K
 
 
  From: Grant [EMAIL PROTECTED]
  Date: Fri, 19 Jan 2001 11:51:23 +1000 (EST)
  To: Keary Suska [EMAIL PROTECTED]
  Cc: Qmail [EMAIL PROTECTED]
  Subject: Re: Virtual domains and forwarding.
  
  Actually, domain.com *will* accept the message, i.e., it will store it
  locally in its queue. Using the virtualdomains/smtproutes option I listed in
  my previous email, the message will then be sent on to the remote host
  automatically without requiring a valid local user part of the address or a
  .qmail file.
  
  But the data will still pass through the machine right?
  
  
 
 




qmail-pop3d HOWTO?: Multiple Virtual domains with one daemon?

2000-12-22 Thread Chad W Hinton

Is it possible to configure a single qmail-pop3d daemon to service
multiple virtual domains?  I have attempted to RTFM and have not found
anything that says that I can/cannot specifically do this.

I currently use the following to start it:
/usr/local/bin/tcpserver -v -R -H 0 pop3 \
 /var/qmail/bin/qmail-popup mail.somedomain.com \
 /usr/local/bin/checkvpw \
 /usr/sbin/relay-ctrl-allow \
 /var/qmail/bin/qmail-pop3d Maildir 21 | \
 /var/qmail/bin/splogger pop3d 

I am testing linux/qmail/qmail-pop3d/vmailmgr/omail-webadmin as a
replacement for my current winnt/mailmax configuration.

Thanks
Chad Hinton
[EMAIL PROTECTED]






Re: qmail-pop3d HOWTO?: Multiple Virtual domains with one daemon?

2000-12-22 Thread Charles Cazabon

Chad W Hinton [EMAIL PROTECTED] wrote:
 Is it possible to configure a single qmail-pop3d daemon to service
 multiple virtual domains?  I have attempted to RTFM and have not found
 anything that says that I can/cannot specifically do this.

qmail-pop3d doesn't really care about these issues; it's your checkpassword
implementation that needs to.  The standard checkpassword only verifies
against regular system accounts, but there are many alternative checkpassword
implementations to support what you want to do, and more.

In fact, there's a whole section of the page at www.qmail.org which is
dedicated to checkpassword versions.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



location of virtual domains mail.

2000-12-14 Thread Peter Brezny

I didn't get a response to this the first time around, so here it is again.


Is the /var/qmail/users/assign file the only file that needs to be changed
to specify a new location for mail per virtual domain?

Peter Brezny
SysAdmin Services Inc.



Re: location of virtual domains mail.

2000-12-14 Thread Charles Cazabon

Peter Brezny [EMAIL PROTECTED] wrote:
 
 Is the /var/qmail/users/assign file the only file that needs to be changed
 to specify a new location for mail per virtual domain?

Virtual users or domains are assigned to local users or aliases with
/var/qmail/control/virtualdomains .  /var/qmail/users/assign only affects
virtual domains indirectly -- qmail will consult assign to find out how to
handle mail for the user specified in virtualdomains.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Virtual domains

2000-12-07 Thread Codehead-7

I'm hosting multiple domains on my machine. Would like to use qmail, but
I'm not sure how to solve the following.

Say I have 3 users: joe, john, brenda. Each of them is "associated" with a
different domain I host, say [EMAIL PROTECTED] is the webmaster for
www.domain1.com, [EMAIL PROTECTED] is webmaster for www.domain2.net, etc.

If mail arrives for [EMAIL PROTECTED], I can have it delivered to user joe
by setting up a virtual user in control/virtualdomains and adding a line
to users/assign. But if someone writes to [EMAIL PROTECTED], qmail will
deliver it to joe, because there exists a real user 'joe' on the system.
But joe is not "supposed" to have an email account under domain2.net.

Any pointers will be appreciated.

ch7





Re: Virtual domains

2000-12-07 Thread David Dyer-Bennet

Codehead-7 [EMAIL PROTECTED] writes on 7 December 2000 at 22:52:15 -0500
  I'm hosting multiple domains on my machine. Would like to use qmail, but
  I'm not sure how to solve the following.
  
  Say I have 3 users: joe, john, brenda. Each of them is "associated" with a
  different domain I host, say [EMAIL PROTECTED] is the webmaster for
  www.domain1.com, [EMAIL PROTECTED] is webmaster for www.domain2.net, etc.
  
  If mail arrives for [EMAIL PROTECTED], I can have it delivered to user joe
  by setting up a virtual user in control/virtualdomains and adding a line
  to users/assign. But if someone writes to [EMAIL PROTECTED], qmail will
  deliver it to joe, because there exists a real user 'joe' on the system.
  But joe is not "supposed" to have an email account under domain2.net.

I don't use virtual users, only domains (in control/virtualdomains;
the virtual users are controlled by qmail files under the user
directory that control/virtualdomains associates with that domain);
but your example doesn't seem to depend on them.  [EMAIL PROTECTED] is a
virtual user, but you say that joe is a *real* user, and that there is
no joe user defined for domain2 (either as a virtual user in
control/virtualdomains.com, or as a user in the virtual domain
controlled by a ~domain2/.qmail-joe file, where "~domain2" should be
the home directory of the user controlling your virtual domain2).  Um,
there isn't a ~domain2/.qmail-default that forwards to local user joe
by any chance is there?

Short of the things listed above, or anything I've overlooked :-),
this shouldn't happen; if it happens for you, something is
misconfigured, or your test isn't testing what you're thinking.  I'm
user ddb on this system.  I host a virtual domain mnstf.org, in which
there is no user ddb.  When I send email to [EMAIL PROTECTED], it bounces,
as shown below:

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Date: 8 Dec 2000 04:56:19 -

Hi. This is the qmail-send program at dd-b.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 14996 invoked by uid 501); 8 Dec 2000 04:56:19 -
Date: 8 Dec 2000 04:56:19 -
Message-ID: [EMAIL PROTECTED]
From: "David Dyer-Bennet" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

(One complication; I'm user ddb, but I also receive email as
[EMAIL PROTECTED], and that's my standard from: and envelope from.  ddb is
my actual local username, though, so [EMAIL PROTECTED] is the proper
analogy to your [EMAIL PROTECTED]).
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



virtual domains

2000-11-28 Thread Rick Glunt



I have a mail server running qmail and accepting 
mail for a virtual domain via fastforward (all mail addressed to @mydomain.com 
is sent to a user). Mail coming into this server for the virtual domain is 
being sent to the usersmailbox just fine.

Now I want to use this users mailbox as a multidrop 
box. Another server (running qmail) connects to the mailbox and retrieves 
all the mail but then logs messages indicating that the messages retrieved 
already have a 'delivered_to". When the messages are put in the users 
mailbox on the first server the delivered to lines are added thus causing the 
problem.

How can I get this to work?

Thanks, 

Rick


Re: virtual domains

2000-11-28 Thread Alex Pennace

On Tue, Nov 28, 2000 at 02:17:35PM -0500, Rick Glunt wrote:
 I have a mail server running qmail and accepting mail for a virtual domain via 
fastforward (all mail addressed to @mydomain.com is sent to a user).  Mail coming 
into this server for the virtual domain is being sent to the users mailbox just fine.

Wow. Seems everyone handles mail for mydomain.com.

 Now I want to use this users mailbox as a multidrop box.  Another server (running 
qmail) connects to the mailbox and retrieves all the mail but then logs messages 
indicating that the messages retrieved already have a 'delivered_to".  When the 
messages are put in the users mailbox on the first server the delivered to lines are 
added thus causing the problem.

This is an FAQ, which you should have read prior to posting
here. http://cr.yp.to/qmail/faq/outgoing.html#serialmail


 PGP signature


Virtual Domains

2000-11-21 Thread Dennis Kavadas

Hi all...

A question regarding Virtual "email" Domains and Qmail.

If we have a few (2 to 5) virtual domains with approximately 10 to 20 
users in each, will qmail handle it securely and robustly ?

Is Qmail's handling of Virtual Domains with users email as solid as 
it's regular handling of email as per it's primary domain ?

Cheers
Dennis

Dennis Kavadas
Network Support Officer
University of New South Wales
Cornea Contact Lens Research Unit
Level 4, Gate 14 Barker Street
Kensington NSW 2052
Ph: (02) 9385 7448



Re: Virtual Domains

2000-11-21 Thread David Dyer-Bennet

Dennis Kavadas [EMAIL PROTECTED] writes on 22 November 2000 at 
14:58:15 GMT
  Hi all...
  
  A question regarding Virtual "email" Domains and Qmail.
  
  If we have a few (2 to 5) virtual domains with approximately 10 to 20 
  users in each, will qmail handle it securely and robustly ?
  
  Is Qmail's handling of Virtual Domains with users email as solid as 
  it's regular handling of email as per it's primary domain ?

Yes; that's the environment I've been running it in for several years
now.  Couple of dozen small virtual domains, mostly personal or
non-profit organizations.  Qmail has been rock-solid, and virtual
works as well as local.
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



Virtual Domains

2000-11-18 Thread Chris Olson

Hi all,
I tyring to get qmail to recognize a virtual domain.
In /var/qmail/contol/virtualdomains I have:

astcomm.net:chris

This should make me the owner of the domain, and mail sent to
[EMAIL PROTECTED] should be routed to my mailbox.  I have a 
/home/chris/.qmail-default to catch all possiblities. 
/home/chris/.qmail-default has:

./mbox

It doesn't work.  I killed qmail and restarted it to read the new files
- still no luck.  I even shutdown the machine and rebooted it to make
sure - still no luck.  astcomm.net is in rcpthosts as well as locals and
is also specified in the /var/qmail/control/me file.  If I put in a
specific alias such as /var/qmail/alias/.qmail-info with 'chris' in that
file, that alias works fine.

What am I overlooking?

TIA,
Chris Olson



Re: Virtual Domains

2000-11-18 Thread Chris Johnson

On Sat, Nov 18, 2000 at 10:39:21AM -0600, Chris Olson wrote:
 I tyring to get qmail to recognize a virtual domain.
 In /var/qmail/contol/virtualdomains I have:
 
 astcomm.net:chris
 
 This should make me the owner of the domain, and mail sent to
 [EMAIL PROTECTED] should be routed to my mailbox.  I have a 
 /home/chris/.qmail-default to catch all possiblities. 
 /home/chris/.qmail-default has:
 
 ./mbox
 
 It doesn't work.

You should really define "doesn't work."

 I killed qmail and restarted it to read the new files - still no luck.  I
 even shutdown the machine and rebooted it to make sure - still no luck.

It's only necessary to send qmail-send a SIGHUP to get it to reread locals and
virtualdomains.

 astcomm.net is in rcpthosts as well as locals

That's your problem--take it out of locals. A domain should never be in both
locals and virtualdomains.

Chris



Re: Virtual Domains

2000-11-18 Thread Chris Olson

Chris Olson wrote:

 I tyring to get qmail to recognize a virtual domain.
 In /var/qmail/contol/virtualdomains I have:

OOPS!  I forgot: 'What Do The Logs Say (TM)'

I get deliver 16: sorry: no mailbox here by that name.

--
Chris Olson



Re: virtual domains

2000-10-17 Thread Marco



I need mail usersnot tobe system users. 
Is it possible anyway?
Ciao. Marco

  
  If 
  you only have on domain then why do you want to use vpopmail? You should have 
  your one domain in the control/locals and rcpthosts file.
  
  Shane
  

Hi,
I apologize for the trivial question, but I 
can't make it work,and I'm getting crazy!
I have one domain only and, according to 
"vpopmail administration guide", I want to set it as virtual
(in the nearest future there will be more than 
one)
How should my /var/qmail/control/ files look 
like now (one domain only)?
Thank you.
Marco

[EMAIL PROTECTED]



virtual domains

2000-10-16 Thread Marco



Hi,
I apologize for the trivial question, but I can't 
make it work,and I'm getting crazy!
I have one domain only and, according to "vpopmail 
administration guide", I want to set it as virtual
(in the nearest future there will be more than 
one)
How should my /var/qmail/control/ files look like 
now (one domain only)?
Thank you.
Marco

[EMAIL PROTECTED]




Virtual domains question

2000-10-15 Thread Willis L. Sarka

Greetings,

I am already doing virtual hosting for my friend with his web site (via
Apache), and now he would like me to see if I can set up e-mail on this
host.  The original domain name of the-republic.org is being used
currently, and my friend has a shell account on this box and can
send/receive mail as [EMAIL PROTECTED]

He would like to be able to receive e-mail via his shell account and Pine
for foo.com in addition to any e-mail he would receive that is sent to
the-republiic.org domain.  I read the docs and normally this is _not_ the
situtation (two e-mails sent to the-republic.org domain and foo.com domain
would end up in the same mailbox).

So, how do I approach this?  I have set up the MX records for his domain 
so that mail destined for foo.com will hit this box.  Once received,
should I just set up qmail virtual domains as is described in the
qmail-howto by Adam Mckenna? If so, is it possible to
set up the MUA to send out e-mail as [EMAIL PROTECTED]?

Any pointers would be helpful.  Or tell we where to RTFM, and I'll be more
than happy to (if I haven't already :-).

Thanks,
Will

-- 
-
Those, who would give up essential liberty to 
purchase a little temporary safety, deserve 
neither liberty nor safety.

-Ben Franklin
Historical Review of Constitution and
Government of Pennsylvania
-




Re: Virtual domains question

2000-10-15 Thread Ronny Haryanto

On 15-Oct-2000, Willis L. Sarka wrote:
 He would like to be able to receive e-mail via his shell account and Pine
 for foo.com in addition to any e-mail he would receive that is sent to
 the-republiic.org domain.  I read the docs and normally this is _not_ the
 situtation (two e-mails sent to the-republic.org domain and foo.com domain
 would end up in the same mailbox).

In /var/qmail/control/virtualdomains:
the-republic.org:yourfriend
foo.com:yourfriend

It's telling qmail where to look dot-qmail instructions in ~yourfriend
(the homedir of the user yourfriend). For example if you want to set
up both [EMAIL PROTECTED] and [EMAIL PROTECTED] you just create
~yourfriend/.qmail-john containing the instructions on where to
deliver mail (man dot-qmail for more info).

Alternatively you can use, say alias-republicfoo, in place of
yourfriend in virtualdomains. Then you create
~alias/.qmail-republicfoo-john for john@. This is useful if your
friend didn't have home dir in the machine.

HTH,

Ronny



Re: Virtual domains and aliases

2000-10-03 Thread Charles Cazabon

Aage Baardsen [EMAIL PROTECTED] wrote:
 
 I have several different domains hosted by one machine with one ip. The
 problem is to have qmail distinguish them from eachother when receiving mail. 
 My problem arises when i want to have the same 'user' (alias) to different
 domain and then routed to different users using aliases for instance.

You've got them all configured as local domains, correct?
 
 Is this possible with qmail?

Yes, see below.
  
 So my question, is it possible to add hostnames to .qmail alias files? For
 instance, .qmail-myuser.money.net ?  Or specify the domain inside the alias
 file?

No.  Make the domains or individual user-domain combinations virtual.
If necessary, you can then have .qmail files controlling an individual 
account, and delivering the mail to a specified local user.

See the section on virtualdomains in Dave Sill's "Life with qmail".

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: can't make user-ext work with virtual domains

2000-10-03 Thread Dave Sill

Martin Jespersen [EMAIL PROTECTED] wrote:

i have a virtual domain like this:

domain.com:alias-domain:com


now i get a mail to [EMAIL PROTECTED] which is then handled by
alias/.qmail-domain:com-mbj-default and

Correction: that should be ~alias/.qmail-domain:com-mbj or
~alias/.qmail-domain:com-default.

it looks like this:

[EMAIL PROTECTED]

the problem is that user mbj doesn't have control over
[EMAIL PROTECTED] with this setup since 
[EMAIL PROTECTED] also goes to

[EMAIL PROTECTED]

So why don't you direct the domain to mbj in virtualdomains, e.g.:

  domain.com:mbj-domain:com

and mbj can set up whatever .qmail-domain:com-* files he wants?

i mean, without having to set up individual .qmail-ext files for all
the users in alias's home dir

How about having to set up individual .qmail-ext files for all
the users in mbj's home dir?

If that's not acceptable, run fastforward from
~mbj/.qmail-domain:com-default, and mbj will be able to manage the
domain from an alias table.

-Dave



Re: can't make user-ext work with virtual domains

2000-10-03 Thread Martin Jespersen

Ok maybe i don't quite understand you, or i didn't make my situation clear enough:

1: I want the alias user to handle all virtual domains, since i own the box this 
should not be a
problem and i don't need to clutter up my home dir with .qmail files.

2: I am serving to many different people from every virtual domain i have, some being 
actual account
on my machine, some being simple aliases for remote accounts.

now the way i have set it up works perfektly for me, EXCEPT the problem i showed in my 
original
mail.

What i am looking for is a way to make the forwarding dynamical based on the extension.

example:

mail to [EMAIL PROTECTED] is delivered to mbj-ext-1@localhost

and mail to [EMAIL PROTECTED] is delivered to mbj-ext-2@localhost

(both owned by user mbj ofcause)

but i also want mail to [EMAIL PROTECTED] is delivered to tony-ext-1@localhost

and mail to [EMAIL PROTECTED] is delivered to tony-ext-2@localhost

(both owned by user tony ofcause)

at the same time i want mail to sam*@domain.com is delivered to [EMAIL PROTECTED]


i mean instead of having a dead $[EMAIL PROTECTED] command in the alias users 
.qmail-whatever,
isn't there a way for me to route the incomming mail intelligently in a catch-all way 
based on the
first word? (by first word i mean mbj or tony or sam in the examples above)

Do i make any sense or am i very terrible with the english language and unable to 
explain what i
mean (or am i just unable to see the forrest because of to alle the trees blocking my 
vision)? (i am
danish, sorry :)


Thanks for not being too impatient with my stupidity

/Martin

Dave Sill wrote:
 
 Martin Jespersen [EMAIL PROTECTED] wrote:
 
 i have a virtual domain like this:
 
 domain.com:alias-domain:com
 
 
 now i get a mail to [EMAIL PROTECTED] which is then handled by
 alias/.qmail-domain:com-mbj-default and
 
 Correction: that should be ~alias/.qmail-domain:com-mbj or
 ~alias/.qmail-domain:com-default.
 
 it looks like this:
 
 [EMAIL PROTECTED]
 
 the problem is that user mbj doesn't have control over
 [EMAIL PROTECTED] with this setup since
 [EMAIL PROTECTED] also goes to
 
 [EMAIL PROTECTED]
 
 So why don't you direct the domain to mbj in virtualdomains, e.g.:
 
   domain.com:mbj-domain:com
 
 and mbj can set up whatever .qmail-domain:com-* files he wants?
 
 i mean, without having to set up individual .qmail-ext files for all
 the users in alias's home dir
 
 How about having to set up individual .qmail-ext files for all
 the users in mbj's home dir?
 
 If that's not acceptable, run fastforward from
 ~mbj/.qmail-domain:com-default, and mbj will be able to manage the
 domain from an alias table.
 
 -Dave



RE: Virtual domains and aliases

2000-10-03 Thread Alexander Jernejcic

hi,
you need virtual domains...
if you dont want system users have a look at
http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt

;) a

==
Alexander Jernejcic 
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

== 
-Original Message-
From: Aage Baardsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 7:19 AM
To: [EMAIL PROTECTED]
Subject: Virtual domains and aliases


Hello!
 
I have questions about qmail and aliases.

I have several different domains hosted by one machine with one ip. The problem is to 
have
qmail distinguish them from eachother when receiving mail. 
 
My problem arises when i want to have the same 'user' (alias) to different domain and
then routed to different users using aliases for instance.

Is this possible with qmail?
 
So my question, is it possible to add hostnames to .qmail alias files? For instance,
.qmail-myuser.money.net ?  Or specify the domain inside the alias file?

Aage

Very happy for any answer that can lead to a solution.. :)



Re: can't make user-ext work with virtual domains

2000-10-03 Thread Dave Sill

Martin Jespersen [EMAIL PROTECTED] wrote:

1: I want the alias user to handle all virtual domains, since i own
the box this should not be a problem and i don't need to clutter up
my home dir with .qmail files.

OK, alias user handles all virtual domains.

2: I am serving to many different people from every virtual domain i
have, some being actual account on my machine, some being simple
aliases for remote accounts.

OK, typical virtual domain set-up.

What i am looking for is a way to make the forwarding dynamical based
on the extension.

example:

mail to [EMAIL PROTECTED] is delivered to mbj-ext-1@localhost

and mail to [EMAIL PROTECTED] is delivered to mbj-ext-2@localhost

(both owned by user mbj ofcause)

but i also want mail to [EMAIL PROTECTED] is delivered to tony-ext-1@localhost

and mail to [EMAIL PROTECTED] is delivered to tony-ext-2@localhost

(both owned by user tony ofcause)

virtualdomains:
  domain.com:alias-domaincom

~alias/.qmail-domaincom-default:
  |forward "$EXT2"@localhost

(might need $EXT3 of just $EXT; I can't be sure without testing it.)

at the same time i want mail to sam*@domain.com is delivered to
[EMAIL PROTECTED]

Ugh. That really complicates things. (If you wanted sam-*@domain.com
redirected, that'd be a lot easier.)

First, create a virtual domain for domain.com:

  domain.com:domaincom

Then in users/assign redirect the various pieces of the domain (two
lines):

  +domaincom-:alias:[UID of alias]:[GID of nofiles]:/var/qmail/alias:-:
  domaincom-
  +domaincom-sam:alias:[UID of alias]:[GID of nofiles]:/var/qmail/alias:-:
  domaincom-sam-

Then create the above ~alias/.qmail-domaincom-default and a
~alias/.qmail-domaincom-sam-default containing:

  [EMAIL PROTECTED]

i mean instead of having a dead $[EMAIL PROTECTED] command in
the alias users .qmail-whatever, isn't there a way for me to route
the incomming mail intelligently in a catch-all way based on the
first word? (by first word i mean mbj or tony or sam in the examples
above)

qmail-users[1].

Do i make any sense or am i very terrible with the english language
and unable to explain what i mean (or am i just unable to see the
forrest because of to alle the trees blocking my vision)? (i am
danish, sorry :)

No, you're doing great. It's just that what you want isn't trivial to
describe or implement.

-Dave

Footnotes: 
[1]  http://Web.InfoAve.Net/~dsill/lwq.html#qmail-users



can't make user-ext work with virtual domains

2000-10-02 Thread Martin Jespersen

Hi all

I have a slight problem that i am apparently to stupid to figure out how to solve :(

i have set up virtual domains to all be handled by the alias user.

The alias user then forwards the mails to the virtual domains to the right local users 
or forwards
them to a remote host.

The problem i have is when forwarding to local users.

example:

i have a virtual domain like this:

domain.com:alias-domain:com


now i get a mail to [EMAIL PROTECTED] which is then handled by 
alias/.qmail-domain:com-mbj-default and
it looks like this:

[EMAIL PROTECTED]

the problem is that user mbj doesn't have control over [EMAIL PROTECTED] with this 
setup since
[EMAIL PROTECTED] also goes to

[EMAIL PROTECTED]


and not

[EMAIL PROTECTED]

like i want it to how can i make it work the right way?

i mean, without having to set up individual .qmail-ext files for all the users in 
alias's home
dir

/Martin



Virtual domains and aliases

2000-10-02 Thread Aage Baardsen



Hello!

Ihavequestions about qmail and 
aliases.

I have several different domains hosted by one 
machine withone ip. The problem is to have
qmail distinguish them from eachother when 
receiving mail. 

My problem arises when i want to have the same 
'user' (alias) to different domain and
then routed to 
different users using aliases for instance.


Is this possible with 
qmail?

So my question, is it possible to add hostnames to 
.qmail alias files? For instance,
.qmail-myuser.money.net ? Or specify the 
domain inside the alias file?

Aage

Very happy for any answer that can lead to a 
solution.. :)


can't make user-ext work with virtual domains

2000-10-01 Thread Martin Jespersen

Hi all

I have a slight problem that i am apparently to stupid to figure out how to solve :(

i have set up virtual domains to all be handled by the alias user.

The alias user then forwards the mails to the virtual domains to the right local users 
or forwards
them to a remote host.

The problem i have is when forwarding to local users.

example:

i have a virtual domain like this:

domain.com:alias-domain:com


now i get a mail to [EMAIL PROTECTED] which is then handled by 
alias/.qmail-domain:com-mbj-default and
it looks like this:

[EMAIL PROTECTED]

the problem is that user mbj doesn't have control over [EMAIL PROTECTED] with this 
setup since
[EMAIL PROTECTED] also goes to

[EMAIL PROTECTED]


and not

[EMAIL PROTECTED]

like i want it to how can i make it work the right way?

i mean, without having to set up individual .qmail-ext files for all the users in 
alias's home
dir

/Martin



SV: Virtual Domains

2000-09-01 Thread Wilson, Frank

Aaron,

try checking out vpopmail
You'll find some info on it at http://www.inter7.com
Im using that system over Qmail myself, and it works gr8!

-fjw


-Opprinnelig melding-
Fra: Aaron Dougherty [mailto:[EMAIL PROTECTED]]
Sendt: 2. september 2000 07:46
Til: [EMAIL PROTECTED]
Emne: Virtual Domains


Hi,
I'm trying to set up virtual domains with Qmail right now. I'm sure
there's plenty of documentation other there on this, but I don't seem to
be finding it. Any pointers to documentation, or help would be
appreciated.

What I am trying to accomplish is to have [EMAIL PROTECTED] go to
user1 and [EMAIL PROTECTED] go to user2.

So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to
go
to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
username on different domains to go to differnt system user.

Thanks!

-Aaron




Re: Virtual Domains

2000-09-01 Thread Dave Sill

Aaron Dougherty [EMAIL PROTECTED] wrote:

I'm trying to set up virtual domains with Qmail right now. I'm sure
there's plenty of documentation other there on this, but I don't seem to
be finding it. Any pointers to documentation, or help would be
appreciated.

http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains

-Dave



Virtual domains

2000-09-01 Thread Nick Davies


Help :)

I've been trying to get virtualdomains working, but whenever i put a
virtualdomains file in control qmail refuses to start up.  I don't get
any errors or anything, it just doesn't show in ps.  It all works fine
without a virtualdomains file. Any ideas?

Thanks.
Nick

-- 
Nick Davies
Technical Director
Magnitude 
www.magnitude.co.uk
t : 01423 529 700



Re: Virtual domains

2000-09-01 Thread Vince Vielhaber

On Fri, 1 Sep 2000, Nick Davies wrote:

 
 Help :)
 
 I've been trying to get virtualdomains working, but whenever i put a
 virtualdomains file in control qmail refuses to start up.  I don't get
 any errors or anything, it just doesn't show in ps.  It all works fine
 without a virtualdomains file. Any ideas?

What do the logs say? 

What's in the virtualdomains file?

Ya gotta give us something to go on.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: Virtual domains

2000-09-01 Thread Dale Miracle

Nick Davies wrote:
 
 Help :)
 
 I've been trying to get virtualdomains working, but whenever i put a
 virtualdomains file in control qmail refuses to start up.  I don't get
 any errors or anything, it just doesn't show in ps.  It all works fine
 without a virtualdomains file. Any ideas?

I have found 'personally' that it is easier to setup virtual domains
with a virtual domain manager.  It does all the work for you and updates
all the qmail related files.  That package is called Vpopmail and it
makes creating virtual domains EASY.  You can create a virtual domain
with a couple users in under 10 mins or so.  The address to grab a copy
is
www.inter7.com/vchkpw/

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Virtual Domains

2000-09-01 Thread Dale Miracle

Aaron Dougherty wrote:
 
 Hi,
 I'm trying to set up virtual domains with Qmail right now. I'm sure
 there's plenty of documentation other there on this, but I don't seem to
 be finding it. Any pointers to documentation, or help would be
 appreciated.
 
 What I am trying to accomplish is to have [EMAIL PROTECTED] go to
 user1 and [EMAIL PROTECTED] go to user2.
 
 So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to go
 to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
 username on different domains to go to differnt system user.
 
 Thanks!
 
 -Aaron

Here are some web pages to look into:

Vpopmail a VirtualMail manager works GREAT! Once installed you can add
virtual domains and users in less then 10 mins.  It also works with
Qmail's dot mail features.
www.inter7.com/vchkpw/ 

Life with Qmail is a well written page about setting up qmail written by
Dave Sill
Web.InfoAve.Net/~dsill/lwq.html

Qmail Howto is another well written page on Qmail written by Adam
McKenna
www.flounder.net/qmail/qmail-howto.html

They both explain the usage of virtual domains and how to use the dot
files called dot-qmail which is probably what you are going to need to
do.  Vpopmail automates the creation of virtual domains and still uses
the dot-qmail files.
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Virtual Domains

2000-09-01 Thread Aaron Dougherty

Thank you all for the pointers ^_^

-Aaron

On Fri, 1 Sep 2000, Dale Miracle wrote:

 Aaron Dougherty wrote:
  
  Hi,
  I'm trying to set up virtual domains with Qmail right now. I'm sure
  there's plenty of documentation other there on this, but I don't seem to
  be finding it. Any pointers to documentation, or help would be
  appreciated.
  
  What I am trying to accomplish is to have [EMAIL PROTECTED] go to
  user1 and [EMAIL PROTECTED] go to user2.
  
  So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to go
  to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
  username on different domains to go to differnt system user.
  
  Thanks!
  
  -Aaron
 
 Here are some web pages to look into:
 
 Vpopmail a VirtualMail manager works GREAT! Once installed you can add
 virtual domains and users in less then 10 mins.  It also works with
 Qmail's dot mail features.
 www.inter7.com/vchkpw/ 
 
 Life with Qmail is a well written page about setting up qmail written by
 Dave Sill
 Web.InfoAve.Net/~dsill/lwq.html
 
 Qmail Howto is another well written page on Qmail written by Adam
 McKenna
 www.flounder.net/qmail/qmail-howto.html
 
 They both explain the usage of virtual domains and how to use the dot
 files called dot-qmail which is probably what you are going to need to
 do.  Vpopmail automates the creation of virtual domains and still uses
 the dot-qmail files.
   Take Care,
 




Virtual Domains

2000-08-31 Thread Aaron Dougherty

Hi,
I'm trying to set up virtual domains with Qmail right now. I'm sure
there's plenty of documentation other there on this, but I don't seem to
be finding it. Any pointers to documentation, or help would be
appreciated.

What I am trying to accomplish is to have [EMAIL PROTECTED] go to
user1 and [EMAIL PROTECTED] go to user2.

So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to go
to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
username on different domains to go to differnt system user.

Thanks!

-Aaron





Virtual domains

2000-08-08 Thread kamal_batra

hi Everybody,

My virtualdomain file is as follows:-

/var/qmail/control/virtualdomains file contains

xyz.com:user
 
and if tru to send the mail to [EMAIL PROTECTED] it gets delivered to ~user/Maildir/new 
How do I configured my system or do I make changes so that it can allow other mail 
server (xyz.com) to pick up the mails from ~user/Maildir via pop3 so that it can 
delivers the mails to the users on its server.

And  also will user account can be used by the mail server (xyz.com) to relay the 
message to the internet.

Regards,
kamal Batra








*
Go to:
www.NetWala.com  " The Internet in every wallet "



RE: Virtual domains

2000-08-08 Thread Brett Randall

That was amazingly inexplicit...

 How do I configured my system or do I make changes so that it can
 allow other mail server (xyz.com) to pick up the mails from
 ~user/Maildir via pop3 so that it can delivers the mails to the
 users on its server.

Look at fetchmail, or some of the other alternatives mentioned on this list
earlier this week...You might be able to optimise the process with a bit of
scripting and file transfer stuff but I'll leave that to your imagination...

 And  also will user account can be used by the mail server
 (xyz.com) to relay the message to the internet.

I take it English is not your first language? I couldn't really understand
that but if you want to learn about relaying, at a minimal start 'man
qmail-control' and read up on smtproutes, and also look in Life With qmail
(grab the URL from http://www.qmail.org/top.html) to avoid some very very
common mistakes in relaying.

Brett

Manager
InterPlanetary Solutions
http://ipsware.com/


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 09, 2000 1:58 AM
 To: [EMAIL PROTECTED]
 Subject: Virtual domains


 hi Everybody,

 My virtualdomain file is as follows:-

 /var/qmail/control/virtualdomains file contains

 xyz.com:user

 and if tru to send the mail to [EMAIL PROTECTED] it gets delivered to
 ~user/Maildir/new


 Regards,
 kamal Batra








 *
 Go to:
 www.NetWala.com  " The Internet in every wallet "




Mails not bouncing for virtual domains

2000-07-25 Thread Ruchir Chandra

Hi,

I have Virtual domains and locals running on my qmail server. For the 
domains hosted in locals, any incoming mail to a wrongly spelled ID gets 
bounced immediately to the sender.

In case of domains under virtualdomains file the incoming mail for the 
wrongly spelled user doesn't bounce back, instead the qmail takes it as an 
remote user and put it to Relay mail server. Since that domain is hosted 
from the same qmail server the mail comes back, this happens 25 times and 
then a error message is posted too many hops and then the mail bounce back.

My question is why at all the qmail server is forwarding the wrongly 
spelled incoming mail to te relay mail, it should mark this as a bounce 
message immediately.

Kindly comment on the above issue.

thanks

Ruchir




Re: Mails not bouncing for virtual domains

2000-07-25 Thread Dave Sill

Ruchir Chandra [EMAIL PROTECTED] wrote:

I have Virtual domains and locals running on my qmail server. For the 
domains hosted in locals, any incoming mail to a wrongly spelled ID gets 
bounced immediately to the sender.

Right.

In case of domains under virtualdomains file the incoming mail for the 
wrongly spelled user doesn't bounce back,

Then you must have a catch-all .qmail file for the virtual
domain. What do you have in control/virtualdomains, what .qmail files
to you have for the domain, and what do they contain?

instead the qmail takes it as an 
remote user and put it to Relay mail server. Since that domain is hosted 
from the same qmail server the mail comes back, this happens 25 times and 
then a error message is posted too many hops and then the mail bounce back.

Copies of log entries or a complete copy of one of the bounce messages 
would be instrumental in analyzing this problem.

-Dave



Problems with virtual domains

2000-07-25 Thread Nicklas af Ekenstam

Hi

I'm new to this list so please excuse me if this subject has been dealt 
with a gazillion times before.
I've read the faq:s and the man pages, but have yet to come up with a 
solution this (I'm guessing) simple problem of mine:

I have two domains (nille.org  fett.org) that I would like to have user 
'nille' admin.

My /var/qmail/controls/virtualdomain looks like this:

fett.org:nille-fett
nille.org:nille-nille

In ~nille/ I have the following files:
.qmail-fett-default
.qmail-nille-default

The both contain this line:
nille

I have also set rcpthosts  locals so that mail to these domains are accepted.

Problem:

When I send an email to [EMAIL PROTECTED] it bounces right back with the message:
Sorry, no mailbox here by that name. (#5.1.1)

When I send an email to a [EMAIL PROTECTED] it ends up in 
their mailbox instead of nille:s.

What have I missed here?
Any pointers really appreciated.

//Nille




Re: Problems with virtual domains

2000-07-25 Thread Dave Sill

Nicklas af Ekenstam [EMAIL PROTECTED] wrote:

My /var/qmail/controls/virtualdomain looks like this:

fett.org:nille-fett
nille.org:nille-nille

In ~nille/ I have the following files:
.qmail-fett-default
.qmail-nille-default

The both contain this line:
nille

I have also set rcpthosts  locals so that mail to these domains are accepted.

Oops. Take them out of locals.

-Dave



solved - Re: problem with virtual domains

2000-07-12 Thread Jens Georg

hi,

today i solved the problem which was caused by a nasty character
in the line mydomain.com:georg* in virtualdomains. of course,
georg* is no local user and so it's clear why qmail cannot
find a mailbox for that user!

that character was not visibile in joe, but when printing it to
paper, it appears! i removed it and everything works perfectly
now again.

the only strange thing is, that i can't imagine how this character
could appear there.

anyway, thanks to both of you for your help !

-- 
regards,
jens
---
department computer science, university of dortmund
linux ... life's too short for reboots!



problem with virtual domains

2000-07-11 Thread Jens Georg

hello list,

after running qmail for 8 weeks now without any trouble so far, qmail
starts driving me crazy today !

i am running a webserver with qmail as mailsystem. furthermore i am running
my own named. i set up mydomain.com correctly in named with the following
subdomains:

mx.mydomain.com  IN CNAME mydomain.com
ftp.mydomain.com IN CNAME mydomain.com
www...

named runs without any trouble and works correctly.

/var/qmail/controls/virtualdomains contains the following:

mydomain.com:georg
www.mydomain.com:georg

now, the problem is the following:

sending an email to anything@mydomain.com ends in an errormsg
by qmail saying :"sorry, no mailbox by this name", although i
put mydomain.com into virtualdomains.

sending an email to anything@www.mydomain.com works perfectly.
replacing with "www" by i.e. "ftp" or "mx" in virtualdomains works,
too.

i am using qmail with qmail's own pop3d, not vpopmail.

i have checked through all my configfiles, but i can't find any
mis-configuration. unfortunately my system worked well since 
tonight, although i DID NOT alter any of the configfiles.

somebody who can help me or give me a hint where to start my
investigation ?

-- 
regards,
jens
---
department computer science, university of dortmund
linux ... life's too short for reboots!




RE: problem with virtual domains

2000-07-11 Thread Hubbard, David

That sounds like a problem in the home directory
for the user 'georg'  Those are the easiest ones to
mess up too since they're not in the qmail config directory.
Did you possibly remove or change any of your .qmail files?
Like a .qmail-default?  Try putting a .qmail-default
in georg's home directory that contains ./Maildir/ or
whatever storage mechanism you use, or even an address to
forward all the mail to someone else.  Also, make sure you
don't have any of those domains in /var/qmail/control/locals
that may be moving that mail somewhere before your
virtualdomains file is consulted...

Dave

-Original Message-
From: Jens Georg
To: qmail mailinglist
Sent: 7/11/00 2:31 PM
Subject: problem with virtual domains

hello list,

after running qmail for 8 weeks now without any trouble so far, qmail
starts driving me crazy today !

i am running a webserver with qmail as mailsystem. furthermore i am
running my own named. i set up mydomain.com correctly in named with the
following subdomains:

mx.mydomain.com  IN CNAME mydomain.com
ftp.mydomain.com IN CNAME mydomain.com
www...

named runs without any trouble and works correctly.

/var/qmail/controls/virtualdomains contains the following:

mydomain.com:georg
www.mydomain.com:georg

now, the problem is the following:

sending an email to anything@mydomain.com ends in an errormsg
by qmail saying :"sorry, no mailbox by this name", although i
put mydomain.com into virtualdomains.

sending an email to anything@www.mydomain.com works perfectly.
replacing with "www" by i.e. "ftp" or "mx" in virtualdomains works,
too.

i am using qmail with qmail's own pop3d, not vpopmail.

i have checked through all my configfiles, but i can't find any
mis-configuration. unfortunately my system worked well since 
tonight, although i DID NOT alter any of the configfiles.

somebody who can help me or give me a hint where to start my
investigation ?

-- 
regards,
jens

---
department computer science, university of dortmund
linux ... life's too short for reboots!



RE: problem with virtual domains

2000-07-11 Thread Vladimir Horak

 i am running a webserver with qmail as mailsystem. furthermore i am
running
 my own named. i set up mydomain.com correctly in named with the following
 subdomains:

 mx.mydomain.com  IN CNAME mydomain.com
 ftp.mydomain.com IN CNAME mydomain.com
 www...

What DNS records are for mydomain.com?
Can you mail me real domain name?

Vladimir Horak [EMAIL PROTECTED]

 /var/qmail/controls/virtualdomains contains the following:

 mydomain.com:georg
 www.mydomain.com:georg

 now, the problem is the following:

 sending an email to anything@mydomain.com ends in an errormsg
 by qmail saying :"sorry, no mailbox by this name", although i
 put mydomain.com into virtualdomains.




Re: problem with virtual domains

2000-07-11 Thread Jens Georg

hi,

 That sounds like a problem in the home directory
 for the user 'georg'  Those are the easiest ones to
 mess up too since they're not in the qmail config directory.
 Did you possibly remove or change any of your .qmail files?

no, i didn't change anything. yesterday everything worked
perfectly, but my messengermailbox was full of erroremails
in the morning.

 Like a .qmail-default?  Try putting a .qmail-default
 in georg's home directory that contains ./Maildir/ or
 whatever storage mechanism you use, or even an address to
 forward all the mail to someone else.  Also, make sure you

yes, i have "/home/georg/Maildir/" in .qmail and a forwardemail-
address in .qmail-default. works correctly for all subdomains
except for anything@mydomain.com.

 don't have any of those domains in /var/qmail/control/locals

no, they are not present there.

-- 
regards,
jens
---
department computer science, university of dortmund
linux ... life's too short for reboots!



Re: Any differences between virtual domains?

2000-06-26 Thread John White

On Mon, Jun 26, 2000 at 11:55:30AM +1000, Brett Randall wrote:
 Normally I'd just say 'man qmail-send' since you haven't done this but since
 it isn't THAT explicit with examples for the virtualdomains file I will let
 you off. 

However, I believe the FAQ is -quite- explicit in it's examples,
covering this exact situation.

John



ungent help needed for virtual domains please

2000-06-25 Thread reach_prashant


hello thanks for the reply 
  i am trying to set up virtual domain  with this qmail-qmail-ldap thing 

following is the description of what i have configured
right now my mail server is receiving mails for  "firstdomain.com "
perfectly 
now as i want to receive mails for "seconddomain.com"  so 

in  ~control/virtualdomains  
seconddomain.com : user
 
in ~control/rcpthost
seconddomain.com
hosts.secontdomain.com

then in  /home/user/

created few files ".qmail-seconddomain-*
also tried " .qmail-*"


but getting following error message  


 FAILURE:
SORRY_aLTHOUGH_I'M_LISTED_AS_A_BEST_PREFERENCE_MX_OR_A_FOR_THAT_HOST,/IT_ISNT_IN_MY_CONTROL/LOCAL_FILES_SO_I_DONT_TREATIT_AS_LOCAL



i have gone through around 500 pages of the documentation on setting up
virtual domain (mail) server , but there wastnt any for doing this with
qmail-ldap  so done all the things mentioned there in that documentation  ,
but its still not working  , i dont know now how can do 


please tell me what i have forgetten  to configure , 


with warmest regards 
Prashantr Desai







RE: ungent help needed for virtual domains please

2000-06-25 Thread Brett Randall

I am relatively new to this compared to many others, but how about just
adding seconddomain.com to /var/qmail/control/locals as another host to
deliver mail locally to?

Brett Randall.

Manager
InterPlanetary Solutions
http://ipsware.com/ http://ipsware.com/



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, 25 June 2000 4:27 PM
 To: [EMAIL PROTECTED]
 Subject: ungent help needed for virtual domains please



 hello thanks for the reply
   i am trying to set up virtual domainwith this
 qmail-qmail-ldap thing

 following is the description of what i have configured
 right now my mail server is receiving mails for  "firstdomain.com "
 perfectly
 now as i want to receive mails for "seconddomain.com"  so

 in  ~control/virtualdomains
 seconddomain.com : user

 in ~control/rcpthost
 seconddomain.com
 hosts.secontdomain.com

 then in  /home/user/

 created few files ".qmail-seconddomain-*
 also tried   " .qmail-*"


 but getting following error message


  FAILURE:
 SORRY_aLTHOUGH_I'M_LISTED_AS_A_BEST_PREFERENCE_MX_OR_A_FOR_THAT_HO
 ST,/IT_ISNT_IN_MY_CONTROL/LOCAL_FILES_SO_I_DONT_TREATIT_AS_LOCAL



 i have gone through around 500 pages of the documentation on setting up
 virtual domain (mail) server , but there wastnt any for doing this with
 qmail-ldap  so done all the things mentioned there in that
 documentation  ,
 but its still not working  , i dont know now how can do


 please tell me what i have forgetten  to configure ,


 with warmest regards
 Prashantr Desai








Any differences between virtual domains?

2000-06-25 Thread Jianping Song

My mail server has two domains: a.com and b.com.
Now I want control the delivery process between these two virtual 
doamins. That is, i want to tell qmail that mails delivered to
[EMAIL PROTECTED] are forwarded to [EMAIL PROTECTED] while mails
delivered to [EMAIL PROTECTED] forwarded to [EMAIL PROTECTED] 

What can i do, or if it is possible?

---
Best regards
Songmailto: [EMAIL PROTECTED]







Re: Any differences between virtual domains?

2000-06-25 Thread Brett Randall

Normally I'd just say 'man qmail-send' since you haven't done this but since
it isn't THAT explicit with examples for the virtualdomains file I will let
you off. In control/virtualdomains, add the line(s):

a.com:localusername
b.com:[EMAIL PROTECTED]
etc

BrettR
-Original Message-
From: Jianping Song [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, June 26, 2000 11:01 AM
Subject: Any differences between virtual domains?


My mail server has two domains: a.com and b.com.
Now I want control the delivery process between these two virtual
doamins. That is, i want to tell qmail that mails delivered to
[EMAIL PROTECTED] are forwarded to [EMAIL PROTECTED] while mails
delivered to [EMAIL PROTECTED] forwarded to [EMAIL PROTECTED]

What can i do, or if it is possible?

---
Best regards
Songmailto: [EMAIL PROTECTED]








Re: Virtual Domains Over 1 IP Address

2000-06-24 Thread Peter Green

also sprach jaybc1:
 Hello all,
 
 What is the best route for handling multiple domains and associated things
 like mail delivery / pop3 user logins over 1 ip address?

Probably either vpopmail (http://www.inter7.com/vpopmail/) or vmailmgr
(http://www.vmailmgr.org/).

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
  Other than the fact Linux has a cool name, could someone explain why I
  should use Linux over BSD?

 No.  That's it.  The cool name, that is.  We worked very hard on
 creating a name that would appeal to the majority of people, and it
 certainly paid off: thousands of people are using linux just to be able
 to say "OS/2? Hah.  I've got Linux.  What a cool name".  386BSD made the
 mistake of putting a lot of numbers and weird abbreviations into the
 name, and is scaring away a lot of people just because it sounds too
 technical.
(Linus Torvalds' follow-up to a question about Linux)




qmail virtual domains with ldap

2000-06-24 Thread reach_prashant



 hello friends 

  is there any one who is using ~control/virtualdomains  file for accepting
mails for more then one domains ,  

   but ya i want to put all .qmail entries in ldap rather then in .qmail
file 


thanks prashant




virtual domains

2000-06-24 Thread prashant



hello friends 


i have installed qmail 1.03 with qmail-ldap 
-latest-patch on RedHat linux 6.1 

i want to configure virtual domains with out using 
".qmail" file in users home dir and also dont want to use /etc/passwd 


is this possible ? i can use some ldap entries rather then 
using .qmail flat files 


thanks 
Prashant Desai


Virtual Domains Over 1 IP Address

2000-06-23 Thread Julian L.B. Cardarelli

Hello all,

What is the best route for handling multiple domains and associated things
like mail delivery / pop3 user logins over 1 ip address?

J

 On Fri, Jun 23, 2000 at 06:53:06PM +0200, Robert Sander wrote:
  Hi!
 
  Where has this message gone?
 Have you checked /var/qmail/alias/Mailbox or /var/qmail/alias/Maildir/ ?
 If memory serves that's where messages end up with which qmail doesn't
know
 what to do...
 The other alternative is the postmaster's mailbox 

  Jun 23 18:39:05 einstein qmail: 961778345.318647 new msg 16012
  Jun 23 18:39:05 einstein qmail: 961778345.318807 info msg 16012: bytes
294 from  qp 30890 uid 71
  Jun 23 18:39:05 einstein qmail: 961778345.326744 starting delivery
27207: msg 16012 to local @einstein.epigenomics.de
  Jun 23 18:39:05 einstein qmail: 961778345.327033 status: local 1/10
remote 0/20
  Jun 23 18:39:05 einstein qmail: 961778345.329393 delivery 27207:
success:
  Jun 23 18:39:05 einstein qmail: 961778345.329472 status: local 0/10
remote 0/20
  Jun 23 18:39:05 einstein qmail: 961778345.329529 end msg 16012
 
  It came from me, speaking smtp over telnet and doing a mistake with mail
from
  and rcpt to ;-)...
 
  Greetings
  --
  Robert Sander
  Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
  +493024345330  10435 Berlin

 --
 http://therookie.dyndns.org





Re: one user, virtual domains, mysql, wizz bang, mailing list manager

2000-06-22 Thread Sylwester S. Biernacki

Dnia 2000-06-21, o godzinie 17:45:52, [EMAIL PROTECTED] napisa³:

 Hi,

 I guess the subject says it all, I'm looking for the vpopmail of mailing 
 list management to work with qmail.

 Basically, I want to have one virtual user with one .qmail file in it 
 leading to one program which will then handle multiple lists for multiple 
 domains.

 I can have multiple domains delivered by putting

 domain1.com:listmanager
 domain2.com:listmanager

 into virtualdomains etc. however, I don't know of much that will then 
 process it.

 MailMan seems to be the nearest option, and will appear to work with qmail. 
 Ok, it doesn't have a mysql backend, but I can live without.

 I don't think that ezmlm is this program, because it's dependant on too 
 many .qmail files. It also (afaik) needs one user per virtual domain.

 Did I mention it needed bounce handling, web interfaces, digests and other 
 chummy MLM features too?

 Does such a program exist? Or do I need to write it !?
I think you should use ezmlm (despite of the fact you think it's not
good). If you look at qmailadmin (see links on qmails' site) you will
see it has lots of options you need. And I don't think that one
directory (because it's not user just directory) is too bad.
Try to look what's inside all .qmail files created by ezmlm-make. You
can change them whatever you want and I'm sure it will work.
I wrote my own scripts in php which are started via apache (suexeced
to user vpopmail and group vchkpw) and they can change a lot of ezmlm
options. If you just have some free time sit and write your own
scripts. If you don't have it you can gimme a email and I can send you
some of mine (but there are really under-developing ;) )

-- 
pozdrawiam,
Sylwester S. Biernacki [EMAIL PROTECTED]





Virtual Domains, Single uid.

2000-06-09 Thread Morten Tryfoss


When I try to run qmail-newu, i only get the message: fatal: bad format in  
users/assign 

I have tried everything, but nothing works.  

I want to add the domain: mail.radioung.no 

In /control/virtualdomains I have added: mail.radioung.no:mail.radioung.no 

In /users/assign i have added: +mail.radioung.no- 
:mail.radioung.no:515:788:/home/vpopmail/domains/mail.radioung.no:-:: 

515 is the uid of the username vpopmail 
788 is the group vchkpw which vpopmail is a member of. 

Is this the right configuration? 

- Morten Tryfoss 








Re: Virtual Domains, Single uid.

2000-06-09 Thread Peter Green

also sprach morten:
 
 When I try to run qmail-newu, i only get the message: fatal: bad format in  
 users/assign 
 
 I have tried everything, but nothing works.  
 
 I want to add the domain: mail.radioung.no 
 
 In /control/virtualdomains I have added: mail.radioung.no:mail.radioung.no 
 
 In /users/assign i have added: +mail.radioung.no- 
 :mail.radioung.no:515:788:/home/vpopmail/domains/mail.radioung.no:-:: 

Make sure the last line of users/assign looks like:

.

That's a single period, no spaces before and none after.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"World domination. Fast."
(By Linus Torvalds)




Virtual Domains and MX Records

2000-06-07 Thread Andy Coates

Hi,

I'm totally stuck trying to get qmail working the way I want it to, and the more I try 
to change configurations the more I get mixed up.

The idea is that I have user.domain.co.uk as the virtual domain, so that 
[EMAIL PROTECTED] is sent to a local mailbox. What I've done so far is:

made an MX record pointing to the domain.co.uk machine
in qmail/control/virtualdomain entered user.domain.co.uk:username
put user.domain.co.uk into rcpthosts
and sent a HUP to both named and qmail-send

Now reading the FAQ's and howto's etc I was led to believe that this would basically 
take the following steps:
1) mail arrives at domain.co.uk mail server
2) mail server has domain in its rcpthosts, good
3) is the domain in locals? no..
4) is the domain a virtualdomain? yes... deliver to username

And then username goes and checks his mail and there's the message.

At the moment I'm getting a:
[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

Can anyone tell me where I'm going wrong please? I hope its not something stupid 
I've forgot, apologies if it is.

TIA,
Andy.




Re: Virtual Domains and MX Records

2000-06-07 Thread Chris Johnson

On Thu, Jun 08, 2000 at 03:46:22AM +0100, Andy Coates wrote:
 Now reading the FAQ's and howto's etc I was led to believe that this would
 basically take the following steps:
 1) mail arrives at domain.co.uk mail server
 2) mail server has domain in its rcpthosts, good
 3) is the domain in locals? no..
 4) is the domain a virtualdomain? yes... deliver to username
 
 And then username goes and checks his mail and there's the message.
 
 At the moment I'm getting a:
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. (#5.1.1)

There needs to be a .qmail-default file in ~username with delivery
instructions. If you want the default delivery instruction (which is probably
to deliver mail to ./Mailbox or ./Maildir/), just create an empty
.qmail-default file.

Chris



Re: Virtual Domains and MX Records

2000-06-07 Thread Andy Coates

- Original Message -
From: "Chris Johnson" [EMAIL PROTECTED]
To: "Andy Coates" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 08, 2000 4:20 AM
Subject: Re: Virtual Domains and MX Records


 On Thu, Jun 08, 2000 at 03:46:22AM +0100, Andy Coates wrote:
  Now reading the FAQ's and howto's etc I was led to believe that this
would
  basically take the following steps:
  1) mail arrives at domain.co.uk mail server
  2) mail server has domain in its rcpthosts, good
  3) is the domain in locals? no..
  4) is the domain a virtualdomain? yes... deliver to username
 
  And then username goes and checks his mail and there's the message.
 
  At the moment I'm getting a:
  [EMAIL PROTECTED]:
  Sorry, no mailbox here by that name. (#5.1.1)

 There needs to be a .qmail-default file in ~username with delivery
 instructions. If you want the default delivery instruction (which is
probably
 to deliver mail to ./Mailbox or ./Maildir/), just create an empty
 ..qmail-default file.

Aargh thats it!! S close, I thought with the username in the
virtualdomain bit would just send it locally to username.

Thanks, I did just make an empty one and it works perfectly. Wow thats a
relief :-)

Later,
Andy.




Not passing virtual domains to a user

2000-05-26 Thread Magnus Naeslund

I have this setup on my experimental mailserver:

I add a user for every virtual domain, their userdir beeing
/var/qmail/users/domain-name
Then if i want to add a user to that domain i do like this to avoid local
conflicts


in /var/qmail/users/host.com:
.qmail-user   - contains "user1234"

then the user for that domain has it's home in
/var/qmail/users/host.com/user1234

So what happens is that when you mail [EMAIL PROTECTED] it bounces to user1234
(local) that is guaranteed to be unique.

It has worked fine up til now.
Now i have one vdomain called genline.nu and a test address to that that is
[EMAIL PROTECTED]
this works fine.
Now i added skywalker.nu domain (to the user skywalker.nu) and then added
user [EMAIL PROTECTED] and it fails!!!

Both entries in /var/qmail/control/virtualdomains exists and for
skywalker.nu it's "skywalker.nu:skywalker.nu".

Why does not qmail transfer the control for *@skywalker.nu to the
skywalker.nu user?
The mails get caught in ~/alias/qmail-default

Any ideas?



/Magnus Naeslund




Virtual domains which include - in name.

2000-05-26 Thread Ondrej Sury


I am using vpopmail which writes record in /var/qmail/users/assign
for each virtual domain.  But for domains including "-" qmail-newu
blows up crying bad format in users/assign.  Is there an work
around for this?

-- 
Ondrej Sury [EMAIL PROTECTED] Globe Internet s.r.o. http://globe.cz/
Tel: +420235365000 Fax: +420235365009  Planickova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126  Mapa: http://globe.namape.cz/
NAJDI.TO http://najdi.to/ PRESS.CZ http://press.cz/



[SOLVED] Re: Virtual domains which include - in name.

2000-05-26 Thread Ondrej Sury


Sorry, it was my fault. I discovered that I hade broken assign
file (not ended with dot).

 Here's a quote from an earlier message that fixed the problem
 for me.
 
 grier
 
 Ondrej Sury wrote:
 
  I am using vpopmail which writes record in /var/qmail/users/assign
  for each virtual domain.  But for domains including "-" qmail-newu
  blows up crying bad format in users/assign.  Is there an work
  around for this?

-- 
Ondrej Sury [EMAIL PROTECTED] Globe Internet s.r.o. http://globe.cz/
Tel: +420235365000 Fax: +420235365009  Planickova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126  Mapa: http://globe.namape.cz/
NAJDI.TO http://najdi.to/ PRESS.CZ http://press.cz/



Re: virtual domains

2000-05-23 Thread sonam


Hi Chris,

Thanks for the reply. I was trying to check this set up by telneting to my
mail server on port 25 which has qmail running and all these other qmail
files.
The mail did not reach the address, no error message though. Also the
syslog shows an entry like -- 
starting delivery 19839: msg 286390 to local @help.com
instead of remote @test.com

help.com being my mail server.

Thanks

sonam

On Tue, 23 May 2000, Chris Johnson wrote:

 On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
  I am setting up virtual domains to handle mail for 
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  and so on.
  
  how can i set this up? i have read the documentation but must have
  probably missed a step.
  
  what i 've done till now is:
  create ~/control/virtualdomains with an entry like
  foo.com:check
  
  created ~/alias/.qmail-check-user1 with an entry like
  [EMAIL PROTECTED]
  
  created ~/alias/.qmail-check-user2 with an entry like 
  [EMAIL PROTECTED]
  
  and so on. any help will be appreciated.
 
 You haven't told us how this is failing. This setup should work, assuming that
 there isn't a system account named "check."
 
 Chris
 




RE: virtual domains

2000-05-23 Thread Tim Hunter

You still are missing the point, how about if you give us exactly what you
typed and exactly the messages and logs you get from your server.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 9:41 AM
To: Chris Johnson
Cc: [EMAIL PROTECTED]
Subject: Re: virtual domains



Hi Chris,

Thanks for the reply. I was trying to check this set up by telneting to my
mail server on port 25 which has qmail running and all these other qmail
files.
The mail did not reach the address, no error message though. Also the
syslog shows an entry like --
starting delivery 19839: msg 286390 to local @help.com
instead of remote @test.com

help.com being my mail server.

Thanks

sonam

On Tue, 23 May 2000, Chris Johnson wrote:

 On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
  I am setting up virtual domains to handle mail for
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
  and so on.
 
  how can i set this up? i have read the documentation but must have
  probably missed a step.
 
  what i 've done till now is:
  create ~/control/virtualdomains with an entry like
  foo.com:check
 
  created ~/alias/.qmail-check-user1 with an entry like
  [EMAIL PROTECTED]
 
  created ~/alias/.qmail-check-user2 with an entry like
  [EMAIL PROTECTED]
 
  and so on. any help will be appreciated.

 You haven't told us how this is failing. This setup should work, assuming
that
 there isn't a system account named "check."

 Chris






Re: virtual domains

2000-05-23 Thread Chris Johnson

On Tue, May 23, 2000 at 09:40:36AM -0400, [EMAIL PROTECTED] wrote:
 
 Thanks for the reply. I was trying to check this set up by telneting to my
 mail server on port 25 which has qmail running and all these other qmail
 files.
 The mail did not reach the address, no error message though. Also the
 syslog shows an entry like -- 
 starting delivery 19839: msg 286390 to local @help.com
 instead of remote @test.com
 
 help.com being my mail server.

Your domains aren't really help.com and test.com, are they?

Chris



virtual domains

2000-05-22 Thread sonam


Hi,

I am setting up virtual domains to handle mail for 
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
and so on.

how can i set this up? i have read the documentation but must have
probably missed a step.

what i 've done till now is:
create ~/control/virtualdomains with an entry like
foo.com:check

created ~/alias/.qmail-check-user1 with an entry like
[EMAIL PROTECTED]

created ~/alias/.qmail-check-user2 with an entry like 
[EMAIL PROTECTED]

and so on. any help will be appreciated.

thank you

sonam





Re: virtual domains

2000-05-22 Thread Chris Johnson

On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
 I am setting up virtual domains to handle mail for 
 [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
 [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
 [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
 and so on.
 
 how can i set this up? i have read the documentation but must have
 probably missed a step.
 
 what i 've done till now is:
 create ~/control/virtualdomains with an entry like
 foo.com:check
 
 created ~/alias/.qmail-check-user1 with an entry like
 [EMAIL PROTECTED]
 
 created ~/alias/.qmail-check-user2 with an entry like 
 [EMAIL PROTECTED]
 
 and so on. any help will be appreciated.

You haven't told us how this is failing. This setup should work, assuming that
there isn't a system account named "check."

Chris



MS SQL server with virtual domains?

2000-05-17 Thread Andy Grimberg

Does anyone know of a way to get an MS SQL server to work via ODBC with
any of the virtual domain systems out there for qmail?

I know that vpopmail 3.4.12 is supposed to have support when it is
finished, but I currently can't find any mention of it in the current
beta.

OTH any idea how hard it would be to convolute the current MySQL code
for it to work across an iODBC connection?

Thanks,
-Andy-

-- 
Andrew J. Grimberg
Programmer
WebSuite.com
206-988-2233



Re: MS SQL server with virtual domains?

2000-05-17 Thread Racer X

To use Microsoft SQL with qmail, you'll need some sort of ODBC driver
manager for Unix.  The one we use is Openlink (www.openlinksw.com),
which works fine for us.  The main headache is getting ODBC up and
running smoothly.  Once that's done, you can access the database just
like any other SQL database.

I'm not familiar with any of the SQL code in vpopmail, but it shouldn't
be too difficult to port it to ODBC, as the Openlink stuff comes with
headers and libraries.  Perl DBI is also an option, I believe the
DBD/DBI driver for ODBC is based on Openlink.

shag


- Original Message -
From: "Andy Grimberg" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wed 17 May 2000 15:20
Subject: MS SQL server with virtual domains?


 Does anyone know of a way to get an MS SQL server to work via ODBC
with
 any of the virtual domain systems out there for qmail?

 I know that vpopmail 3.4.12 is supposed to have support when it is
 finished, but I currently can't find any mention of it in the current
 beta.

 OTH any idea how hard it would be to convolute the current MySQL code
 for it to work across an iODBC connection?

 Thanks,
 -Andy-

 --
 Andrew J. Grimberg
 Programmer
 WebSuite.com
 206-988-2233





  1   2   3   4   >