[vchkpw] newbie help, please

2002-11-27 Thread Ruslan Spivak
Hello vchkpw users,

I have installed vpopmail+qmail it's OK. Default domain in vpopmail -
'is.lg.ua'. In dns I have record  'MX 10 is.lg.ua'.

Now I want to have one more domain - 'master.is.lg.ua', so that there
will be users - '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' and so
on. What should I do? Should I use vadddomain or vaddaliasdomain? And
should I put one more record in my named.conf(whta this line should be)?

Your help is very, very appreciated.
Thanks in advance.


Best regards,
 Ruslan  mailto:[EMAIL PROTECTED]





RE: [vchkpw] newbie help, please

2002-11-27 Thread Clayton Weise
The difference between an alias domain and a separate domain is that the
alias is a mirror of the other.  To use your example.  If master.is.lg.ua is
an alias domain to is.lg.ua then [EMAIL PROTECTED] is also [EMAIL PROTECTED]
But maybe you want the two separate.  Maybe you want the [EMAIL PROTECTED] to be
a totally different and separate address from [EMAIL PROTECTED]  In that
case, you'd create master.is.lg.ua as a separate domain (with vadddomain).
An alias domain is one where all the email addresses are mirrored so to
speak.

Also, if you want master.is.lg.ua to recieve mail it needs an MX record.
Sounds like you're using bind, so going along with that, this is what you
might have as a normal MX record inside your zone file for is.lg.ua: (just
an example, yours may not look exactly like this)

IN  MX 10 mail.is.lg.ua.
mailIN  A   1.2.3.4

What you would add is this:

 IN MX 10 mail.is.lg.ua.
master IN   MX 10 mail.is.lg.ua.
mail IN A   1.2.3.4

It's really quite simple, all you do is create an MX record for that
subdomain.  You don't need to change named.conf, but you do need to change
the zone file.  After you change the zone file, update the serial, and give
named a HUP.

-Clayton

-Original Message-
From: Ruslan Spivak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 12:36 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] newbie help, please


Hello vchkpw users,

I have installed vpopmail+qmail it's OK. Default domain in vpopmail -
'is.lg.ua'. In dns I have record  'MX 10 is.lg.ua'.

Now I want to have one more domain - 'master.is.lg.ua', so that there
will be users - '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' and so
on. What should I do? Should I use vadddomain or vaddaliasdomain? And
should I put one more record in my named.conf(whta this line should be)?

Your help is very, very appreciated.
Thanks in advance.


Best regards,
 Ruslan  mailto:[EMAIL PROTECTED]







[vchkpw] newbie help?

2002-10-25 Thread Joe Oaks
Hello guru's

I recently have been tasked with the project of providing a email solution
for a project at work. They currently use sendmail with qpopper for some
500 aliases and send/receive a little more than 400,000 messages a month.

Now comes the fun part they are about to migrate the North and South
Americas
mail.support which is currently housed on Exchange (ewww). So in light of
this
there sendmail/qpopper will quickly get over ran.

I have convinced them to allow me to setup qmail as a solution for them, and
they have accepted it, woot.

Now I have done some reading and implementing on a test box with the
following,
qmail + qmailadmin + vpopmail + autoresponder + ezmlm (just incase they want
mailing list) + clamav + qmailscanner. All works great, and they love it.

Now here is my question to you guys, when I create a virtual domain e.g.
mailsupport.hp.com (this has the current 500 aliases) and I start adding
users
via qmailadmin and the vpopmail, I'm have noticed something I hope you guys
can
help me fix. Say I create a user called lj4050 (laserjet 4050) his email
address
is [EMAIL PROTECTED], and his login is [EMAIL PROTECTED], is
there
a way to make his login just lj4050 and not have the @domain part?

Joe Oaks
Senior Systems Admin
Hewlett Packard





Re: [vchkpw] newbie help?

2002-10-25 Thread Brad Davis
Joe,

Not that I know of because of the way it authenticates. It takes the @domain
part and figures out which password file to use. Then takes the user name
and authenticates against it in that file.

Brad Davis
- Original Message -
From: Joe Oaks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 12:26 PM
Subject: [vchkpw] newbie help?


 Hello guru's

 I recently have been tasked with the project of providing a email solution
 for a project at work. They currently use sendmail with qpopper for some
 500 aliases and send/receive a little more than 400,000 messages a month.

 Now comes the fun part they are about to migrate the North and South
 Americas
 mail.support which is currently housed on Exchange (ewww). So in light of
 this
 there sendmail/qpopper will quickly get over ran.

 I have convinced them to allow me to setup qmail as a solution for them,
and
 they have accepted it, woot.

 Now I have done some reading and implementing on a test box with the
 following,
 qmail + qmailadmin + vpopmail + autoresponder + ezmlm (just incase they
want
 mailing list) + clamav + qmailscanner. All works great, and they love it.

 Now here is my question to you guys, when I create a virtual domain e.g.
 mailsupport.hp.com (this has the current 500 aliases) and I start adding
 users
 via qmailadmin and the vpopmail, I'm have noticed something I hope you
guys
 can
 help me fix. Say I create a user called lj4050 (laserjet 4050) his email
 address
 is [EMAIL PROTECTED], and his login is [EMAIL PROTECTED],
is
 there
 a way to make his login just lj4050 and not have the @domain part?

 Joe Oaks
 Senior Systems Admin
 Hewlett Packard








RE: [vchkpw] newbie help?

2002-10-25 Thread Joe Oaks
YES, thank you, will test that in the next 5 minutes.

Joe

-Original Message-
From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
Sent: Friday, October 25, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] newbie help?


On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
 is there a way to make his login just lj4050 and not have the @domain 
 part?

Configure vpopmail with the --enable-default-domain=mailsupport.hp.com 
option.  

http://inter7.com/vpopmail/FAQ

Regards,

Cory Wright
 




RE: [vchkpw] newbie help?

2002-10-25 Thread Joe Oaks
Hmm, I removed the original install and recompiled with the following...

[root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable-
qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--enable-md5-passwords=y --enable-clear-passwd=n --enable-default-
domain=mailsupport.hp.com

However when I try
vadddomain mailsupport.hp.com 'test'
I get the error Domain already exists, and yet there is nothing in the
domains
directory, and no password file?
What did I do wrong?

Joe



-Original Message-
From: Joe Oaks [mailto:trell;trells.com]
Sent: Friday, October 25, 2002 12:01 PM
To: Vchkpw
Subject: RE: [vchkpw] newbie help?


YES, thank you, will test that in the next 5 minutes.

Joe

-Original Message-
From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
Sent: Friday, October 25, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] newbie help?


On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
 is there a way to make his login just lj4050 and not have the @domain
 part?

Configure vpopmail with the --enable-default-domain=mailsupport.hp.com
option.

http://inter7.com/vpopmail/FAQ

Regards,

Cory Wright







RE: [vchkpw] newbie help?

2002-10-25 Thread Stephen C Burns

It's probably still defined in your ~qmaild/control/virtualdomains 
file.  It may be referenced somewhere else as well, like in rcpthosts, etc, 
but I think that its presence in virtualhosts is what is confusing 
vpopmail.  Did you delete the domain with vdeldomain or just remove its 
directory?

At 03:19 PM 10/25/2002, Joe Oaks wrote:
Hmm, I removed the original install and recompiled with the following...

[root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable-
qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--enable-md5-passwords=y --enable-clear-passwd=n --enable-default-
domain=mailsupport.hp.com

However when I try
vadddomain mailsupport.hp.com 'test'
I get the error Domain already exists, and yet there is nothing in the
domains
directory, and no password file?
What did I do wrong?

Joe



-Original Message-
From: Joe Oaks [mailto:trell;trells.com]
Sent: Friday, October 25, 2002 12:01 PM
To: Vchkpw
Subject: RE: [vchkpw] newbie help?


YES, thank you, will test that in the next 5 minutes.

Joe

-Original Message-
From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
Sent: Friday, October 25, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] newbie help?


On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
 is there a way to make his login just lj4050 and not have the @domain
 part?

Configure vpopmail with the --enable-default-domain=mailsupport.hp.com
option.

http://inter7.com/vpopmail/FAQ

Regards,

Cory Wright



--
Stephen C Burns
Farpointer Technologies, Inc.
[EMAIL PROTECTED]
--






RE: [vchkpw] newbie help?

2002-10-25 Thread Joe Oaks
Stephen C Burns wrote:
It's probably still defined in your ~qmaild/control/virtualdomains
file.  It may be referenced somewhere else as well, like in rcpthosts, etc,
but I think that its presence in virtualhosts is what is confusing
vpopmail.  Did you delete the domain with vdeldomain or just remove its
directory?

Removed the entire vpopmail and recompiled (as it only takes a couple of
secs).
Correct, it was still defined in the virtualdomains file, I have removed it
from all the qmail/control files, and re-ran the qmail config, this set the
default control files, now there is no entries pertaining to mailsupport.
Then I recompile vpopmail, yet when i run the vadddomain i still get Domain
already exists.

Joe


At 03:19 PM 10/25/2002, Joe Oaks wrote:
Hmm, I removed the original install and recompiled with the following...

[root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable-
qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--enable-md5-passwords=y --enable-clear-passwd=n --enable-default-
domain=mailsupport.hp.com

However when I try
vadddomain mailsupport.hp.com 'test'
I get the error Domain already exists, and yet there is nothing in the
domains
directory, and no password file?
What did I do wrong?

Joe



-Original Message-
From: Joe Oaks [mailto:trell;trells.com]
Sent: Friday, October 25, 2002 12:01 PM
To: Vchkpw
Subject: RE: [vchkpw] newbie help?


YES, thank you, will test that in the next 5 minutes.

Joe

-Original Message-
From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
Sent: Friday, October 25, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] newbie help?


On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
  is there a way to make his login just lj4050 and not have the @domain
  part?





RE: [vchkpw] newbie help?

2002-10-25 Thread rm
This may help, I had a similar problem in the past.  This is from a Ken
Jones post.

 Edit /var/qmail/users/assign and remove any entries.
 run /var/qmail/bin/qmail-newu
 
 check /home/vpopmail/domains for a directory of
 that name. If needed, recursively remove the directory
 and all it's sub directories.
 
 Check /var/qmail/control/* files
 grep domain /var/qmail/control/*
 Remove any mention of the domain.
 
 Signal qmail-send that the control files have changed.
 killall -HUP qmail-send
 
 The above works on default installations of qmail
 and linux systems.
 


On Fri, 2002-10-25 at 15:56, Joe Oaks wrote:
 Stephen C Burns wrote:
 It's probably still defined in your ~qmaild/control/virtualdomains
 file.  It may be referenced somewhere else as well, like in rcpthosts, etc,
 but I think that its presence in virtualhosts is what is confusing
 vpopmail.  Did you delete the domain with vdeldomain or just remove its
 directory?
 
 Removed the entire vpopmail and recompiled (as it only takes a couple of
 secs).
 Correct, it was still defined in the virtualdomains file, I have removed it
 from all the qmail/control files, and re-ran the qmail config, this set the
 default control files, now there is no entries pertaining to mailsupport.
 Then I recompile vpopmail, yet when i run the vadddomain i still get Domain
 already exists.
 
 Joe
 
 
 At 03:19 PM 10/25/2002, Joe Oaks wrote:
 Hmm, I removed the original install and recompiled with the following...
 
 [root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable-
 qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
 --enable-md5-passwords=y --enable-clear-passwd=n --enable-default-
 domain=mailsupport.hp.com
 
 However when I try
 vadddomain mailsupport.hp.com 'test'
 I get the error Domain already exists, and yet there is nothing in the
 domains
 directory, and no password file?
 What did I do wrong?
 
 Joe
 
 
 
 -Original Message-
 From: Joe Oaks [mailto:trell;trells.com]
 Sent: Friday, October 25, 2002 12:01 PM
 To: Vchkpw
 Subject: RE: [vchkpw] newbie help?
 
 
 YES, thank you, will test that in the next 5 minutes.
 
 Joe
 
 -Original Message-
 From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
 Sent: Friday, October 25, 2002 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] newbie help?
 
 
 On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
   is there a way to make his login just lj4050 and not have the @domain
   part?
 
 






RE: [vchkpw] newbie help?

2002-10-25 Thread Joe Oaks
OK, finally, after removing everything and reinstalling all, it works.
I guess in my original installs I botched something.
I have tested and it works great.

Thanks, guys

Joe

This may help, I had a similar problem in the past.  This is from a Ken
Jones post.

 Edit /var/qmail/users/assign and remove any entries.
 run /var/qmail/bin/qmail-newu

 check /home/vpopmail/domains for a directory of
 that name. If needed, recursively remove the directory
 and all it's sub directories.

 Check /var/qmail/control/* files
 grep domain /var/qmail/control/*
 Remove any mention of the domain.

 Signal qmail-send that the control files have changed.
 killall -HUP qmail-send

 The above works on default installations of qmail
 and linux systems.



On Fri, 2002-10-25 at 15:56, Joe Oaks wrote:
 Stephen C Burns wrote:
 It's probably still defined in your ~qmaild/control/virtualdomains
 file.  It may be referenced somewhere else as well, like in rcpthosts,
etc,
 but I think that its presence in virtualhosts is what is confusing
 vpopmail.  Did you delete the domain with vdeldomain or just remove its
 directory?

 Removed the entire vpopmail and recompiled (as it only takes a couple of
 secs).
 Correct, it was still defined in the virtualdomains file, I have removed
it
 from all the qmail/control files, and re-ran the qmail config, this set
the
 default control files, now there is no entries pertaining to mailsupport.
 Then I recompile vpopmail, yet when i run the vadddomain i still get
Domain
 already exists.

 Joe


 At 03:19 PM 10/25/2002, Joe Oaks wrote:
 Hmm, I removed the original install and recompiled with the following...
 
 [root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable-
 qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
 --enable-md5-passwords=y --enable-clear-passwd=n --enable-default-
 domain=mailsupport.hp.com
 
 However when I try
 vadddomain mailsupport.hp.com 'test'
 I get the error Domain already exists, and yet there is nothing in the
 domains
 directory, and no password file?
 What did I do wrong?
 
 Joe
 
 
 
 -Original Message-
 From: Joe Oaks [mailto:trell;trells.com]
 Sent: Friday, October 25, 2002 12:01 PM
 To: Vchkpw
 Subject: RE: [vchkpw] newbie help?
 
 
 YES, thank you, will test that in the next 5 minutes.
 
 Joe
 
 -Original Message-
 From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net]
 Sent: Friday, October 25, 2002 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] newbie help?
 
 
 On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
   is there a way to make his login just lj4050 and not have the @domain
   part?