[vchkpw] thx all

2003-02-12 Thread Trevor Warren

Hello Jonas,
 
 Thanks for all the help. I just symlinked
/home/vpopmail/etc/tcp.smtp.cdb /etc/tcp.smtp.cdb and everything works
fine.

 Thanks again:)

 Trevor

On Tue, 2003-02-11 at 19:37, Jonas Pasche wrote:
 Hi Trevor,
 
 first of all, please read:
 
 http://jonaspasche.de/common-errors/bad-thread-start
 
   I have an issue where in /home/vpopmail/etc/open-smtp gets created
but
  ~/vpopmail/etc/tcp.smtp.cdb doesn't get created at all.
 
 Please show us your full ./configure line.
 
  drwxr-xr-x2 vpopmail vchkpw112 Feb  6 15:07 .
  drwxr-xr-x8 root root  192 Feb  5 19:17 ..
  -rw-r--r--1 root root   54 Feb  6 15:07 open-smtp
  -rw-r--r--1 root root0 Feb  5 19:19
open-smtp.lock
 
 The configure script tries to find:
 
 1) $vpopmaildir/etc/tcp.smtp
 2) /etc/tcp.smtp
 3) /etc/tcprules.d/qmail-smtpd
 
 As it didn't find 1), it took /etc/tcp.smtp which (I guess, but you
can
 check it) exists.
 
 [...]
  /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c
 [...]
 
 So you're actively _using_ /etc/tcp.smtp.cdb, why are you waiting for 
 ~vpopmail/tcp.smtp.cdb?
 
  [trevor@linmail qmail-smtpd]$ cat ../qmail-pop3d/run
  #!/bin/bash
exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R -H -l 0 0 110
  /var/qmail/bin/qmail-popup \
   FQDN /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
Maildir
  -x /etc/tcp.smtp 21
 
 Who gave you that script? It's wrong.
 
 1) -x is an argument for tcpserver. You entered it as an argument
for
qmail-pop3d. Remove it.
 
 2) -x expects a cdb file (tcp.smtp.cdb), not a text file (tcp.smtp).
 
 3) qmail-pop3d doesn't need that file at all.
 
 4) FQDN should have been replaced with your fully-qualified
hostname.
 
   Though in the above scripts i am forcing updation of
  /etc/tcp.smtp.cdb
 
 No, you don't. What makes you think you do?
 
   While compiling i have even specified at the CLI the path to the
  tcp.smtp.cdb filebut neither the /etc nor the
~/vpopmail/etc/*.cdb
  files are getting created/updated.
 
 Again, don't tell us the interpretation of what you did; show us your
 full ./configure line. And fix your startup scripts. After that, we
can
 go further.
 
   Am in quite a fix..seems to be a very trivial issue but is
really
  nagging me as i have to push our organisations mail server into
  production state.
 
 If you're in a hurry, http://qmail.org/top.html#paidsup lists some
 companies that do commercial support.
 
 Jonas






[vchkpw] tcp.smtp issue

2003-02-12 Thread Thiago Campos
Hi,

How do i change tcp.smtp.cdb from /etc to /home/vpopmail/etc ?

Everything is working fine, but when i use my Outlook to check my messages i
got the following error.

'tcprules: fatal: unable to create /etc/tcp.smtptmp.4236: access denied'

If a change to owership of /etc to vpopmail.vchkpw everything works, but i
don't wan to do this.

Is there any other way?

Thanks

Thiago





[vchkpw] Any easy way to change path to vpopmail?

2003-02-12 Thread David Hubbard
Hi all, using standard vpopmail, no mysql, is
there any easy way to move the entire mail system
to another server who's path to the vpopmail
directory would optimally be different?  The
path of course is stored in /var/qmail/users
as well as vpasswd and the .qmail alias files.
I'm guessing I'm going to be using a symbolic
link on the new server to simulate the old but
can I start using the new correct paths for
new domains or do I need to remain consistent?

Thanks,

David




Re: [vchkpw] Any easy way to change path to vpopmail?

2003-02-12 Thread Peter Palmreuther
Hi David,

On Wed, 12 Feb 2003 09:57:14 -0500 David Hubbard
[EMAIL PROTECTED] wrote:

 Hi all, using standard vpopmail, no mysql, is
 there any easy way to move the entire mail system
 to another server who's path to the vpopmail
 directory would optimally be different?  The
 path of course is stored in /var/qmail/users
 as well as vpasswd and the .qmail alias files.
 I'm guessing I'm going to be using a symbolic
 link on the new server to simulate the old but
 can I start using the new correct paths for
 new domains or do I need to remain consistent?

A symbolic link is the only thing that prevents you from recompiling
vpopmail. The path is not only used in qmail files, but also hard
coded into various vpopmai components, so I'd either stick with the old
path and use it for new things too (plus s-link of course), or recompile
vpopmail, which takes more effort, albeit old paths don't have to be
adjusted, the sym-link will preserve the compatibility in that case too.
-- 
Peter




Re: [vchkpw] libmysqlclient not found

2003-02-12 Thread Nelson D. Guerrero
On [11/02/2003], Roland Schmid wrote:
 Hello,
 
 so far the installion worked.
 I now want to add a new domain to vpopmail.
 But I get an error message, that libmysqlclient file could not be found.
 Original message:
 [root@dc4 bin]# ./vadddomain mydomain.de
 ./vadddomain: error while loading shared libraries:
 libmysqlclient.so.10: cannot open shared object file: No such file or
 directory
 
 The libmysqlclient file is in the path I gave to configure command.
 Any idea what went wrong?


export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/local/lib/mysql'
ldconfig -m /usr/local/lib/mysql 

It happened to me a couple of days ago.




[vchkpw] newbie questions, pop3d login fails (qmail + vpopmail + mysql + courier-imap)

2003-02-12 Thread Jimmy Gatt
Hello all,

I am having trouble getting vpopmail (I think that's where
the problem is) to function correctly.  The problem is that
I get authorization failed when I try and authenticate
over POP.

Here is my setup:

1. I have installed mysql, I can connect to mysql as the
vpopmail user, and I can view the vpopmail databases as
that user.

2. I have configured vmysql.h with the correct hosts,
usernames, and passwords.

3. I have compiles vpopmail with the following options:
./configure --enable-mysql=y --enable-roaming-users=y
--enable-clear-passwd=y --enable-valias=y

4. I have, of course, installed qmail and am trying to
connect to qmail-pop3d.

I cannot see (perhaps I do not know where to look) where it
is failing.  I have looked at /var/log/messages (syslog),
/var/log/qmail/current, and /var/log/qmail/pop3d/current,
but none of those files give me any hints as to why the
login fails.

I would appreciate any help.  After I tackle this problem,
I will try and get courier-imap to work.



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com




[vchkpw] login to pop3d fails

2003-02-12 Thread Roland Schmid
Hello,

I have installed qmail and vpopmail. vpopmail works with mysql.
ps axwww | grep qmail shows no errors and all services are up more than
one second.
I can add domains and users on the command line in /home/vpopmail/bin.
vpopmail adds domains and users correct to the mysql database.
The qmail server listens to smtp and pop3.
When I try to send or get mail the authentification fails.
Do I have to modify the run script in /var/qmail/supervise/qmail-pop3d/run ?
How can I tell qmail to check username/password in /bin/checkpassword ?
Thanks for help.

Best regards,
Roland






Re: [vchkpw] Any easy way to change path to vpopmail?

2003-02-12 Thread Remo Mattei
Simbolic links will work.

Remo 

 From: David Hubbard [EMAIL PROTECTED]
 Date: Wed, 12 Feb 2003 09:57:14 -0500
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Any easy way to change path to vpopmail?
 
 Hi all, using standard vpopmail, no mysql, is
 there any easy way to move the entire mail system
 to another server who's path to the vpopmail
 directory would optimally be different?  The
 path of course is stored in /var/qmail/users
 as well as vpasswd and the .qmail alias files.
 I'm guessing I'm going to be using a symbolic
 link on the new server to simulate the old but
 can I start using the new correct paths for
 new domains or do I need to remain consistent?
 
 Thanks,
 
 David
 
 




RE: [vchkpw] login to pop3d fails

2003-02-12 Thread Clayton Weise
You don't use /bin/checkpassword anymore.. vpopmail doesn't use the local
password file, it has it's own password checking utility
(/home/vpopmail/bin/vchkpw).

-Clayton

-Original Message-
From: Roland Schmid [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 2:03 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] login to pop3d fails


Hello,

I have installed qmail and vpopmail. vpopmail works with mysql. ps axwww |
grep qmail shows no errors and all services are up more than one second. I
can add domains and users on the command line in /home/vpopmail/bin.
vpopmail adds domains and users correct to the mysql database. The qmail
server listens to smtp and pop3. When I try to send or get mail the
authentification fails. Do I have to modify the run script in
/var/qmail/supervise/qmail-pop3d/run ? How can I tell qmail to check
username/password in /bin/checkpassword ? Thanks for help.

Best regards,
Roland










RE: [vchkpw] newbie questions, pop3d login fails (qmail + vpopmail + mysql + courier-imap)

2003-02-12 Thread Michael Bowe
My guide shows how to get all these components to work 
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

Hope that helps!
Michael.

 -Original Message-
 From: Jimmy Gatt [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, 13 February 2003 8:03 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] newbie questions, pop3d login fails (qmail 
 + vpopmail + mysql + courier-imap)
 
 
 Hello all,
 
 I am having trouble getting vpopmail (I think that's where
 the problem is) to function correctly.  The problem is that
 I get authorization failed when I try and authenticate
 over POP.
 
 Here is my setup:
 
 1. I have installed mysql, I can connect to mysql as the 
 vpopmail user, and I can view the vpopmail databases as that user.
 
 2. I have configured vmysql.h with the correct hosts, 
 usernames, and passwords.
 
 3. I have compiles vpopmail with the following options: 
 ./configure --enable-mysql=y --enable-roaming-users=y 
 --enable-clear-passwd=y --enable-valias=y
 
 4. I have, of course, installed qmail and am trying to
 connect to qmail-pop3d.
 
 I cannot see (perhaps I do not know where to look) where it
 is failing.  I have looked at /var/log/messages (syslog), 
 /var/log/qmail/current, and /var/log/qmail/pop3d/current, but 
 none of those files give me any hints as to why the login fails.
 
 I would appreciate any help.  After I tackle this problem,
 I will try and get courier-imap to work.
 
 
 
 __
 Do you Yahoo!?
 Yahoo! Shopping - Send Flowers for Valentine's Day 
http://shopping.yahoo.com







[vchkpw] mysql - anything I should look out for?

2003-02-12 Thread Robin Bowes
Hi,

Having previously used vpopmail-5.3.12 with no database support I've just
converted to using mysql with vpopmail-5.3.16.

I built vpopmail using the following script:

./configure \
 --enable-tcpserver-file=/etc/tcprules.d/qmail-smtp \
 --enable-logging=e \
 --enable-log-name=vpopmail \
 --enable-default-domain=robinbowes.com \
 --enable-file-sync=n \
 --enable-auth-logging=y \
 --enable-qmail-ext=y \
 --enable-clear-passwd=y \
 --enable-valias=y \
 --enable-roaming-users=y \
 --enable-mysql=y \
  make \
  make install-strip

I then ran vconvert -c -m.

Is that it? Is that all I have to do? That seems outrageously easy!!

A couple of problems I've noticed.

vdominfo doesn't report the correct number of users per domain following
conversion and also, aliased domains are not reported correctly, ie they
are reported as being the same name as the aliased domain. For example,
see the following dump:

domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: orhc.info
uid:89
gid:89
dir:/home/vpopmail/domains/orhc.info
users:  0
domain: orhc.info
uid:89
gid:89
dir:/home/vpopmail/domains/orhc.info
users:  0

This should show just two domains, one with two aliased domains and one
with one aliased domain. I have a handful of users in each of the two real
domains.

I've fixed this by updating the cur_users field in the dir_control table.

Also, when I did the conversion, entries were created in the vpopmail
table for users in all of the aliased domains. For example, I have a
domain robinbowes.com and an aliased domain skittle.demon.co.uk. In
robinbowes.com I have 5 users robin,chloe,emily,jane, and postmaster. When
I ran vconvert, entries were created in the vpopmail table for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. and also for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. Is this
supposed to happen? I've deleted these additional entries from the
vpopmail table without any apparent side effects, i.e. I can still login
as [EMAIL PROTECTED]

Cheers,

R.
-- 
Robin Bowes | http://robinbowes.com




[vchkpw] mysql - anything I should look out for?

2003-02-12 Thread Robin Bowes
Hi,

Having previously used vpopmail-5.3.12 with no database support I've just
converted to using mysql with vpopmail-5.3.16.

I built vpopmail using the following script:

./configure \
 --enable-tcpserver-file=/etc/tcprules.d/qmail-smtp \
 --enable-logging=e \
 --enable-log-name=vpopmail \
 --enable-default-domain=robinbowes.com \
 --enable-file-sync=n \
 --enable-auth-logging=y \
 --enable-qmail-ext=y \
 --enable-clear-passwd=y \
 --enable-valias=y \
 --enable-roaming-users=y \
 --enable-mysql=y \
  make \
  make install-strip

I then ran vconvert -c -m.

Is that it? Is that all I have to do? That seems outrageously easy!!

A couple of problems I've noticed.

vdominfo doesn't report the correct number of users per domain following
conversion and also, aliased domains are not reported correctly, ie they
are reported as being the same name as the aliased domain. For example,
see the following dump:

domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:89
gid:89
dir:/home/vpopmail/domains/robinbowes.com
users:  0
domain: orhc.info
uid:89
gid:89
dir:/home/vpopmail/domains/orhc.info
users:  0
domain: orhc.info
uid:89
gid:89
dir:/home/vpopmail/domains/orhc.info
users:  0

This should show just two domains, one with two aliased domains and one
with one aliased domain. I have a handful of users in each of the two real
domains.

I've fixed this by updating the cur_users field in the dir_control table.

Also, when I did the conversion, entries were created in the vpopmail
table for users in all of the aliased domains. For example, I have a
domain robinbowes.com and an aliased domain skittle.demon.co.uk. In
robinbowes.com I have 5 users robin,chloe,emily,jane, and postmaster. When
I ran vconvert, entries were created in the vpopmail table for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. and also for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. Is this
supposed to happen? I've deleted these additional entries from the
vpopmail table without any apparent side effects, i.e. I can still login
as [EMAIL PROTECTED]

Cheers,

R.
-- 
Robin Bowes | http://robinbowes.com




[vchkpw] vpopmail 5.3.13

2003-02-12 Thread Kari Suomela

Tuesday January 14 2003 08:26, Ken Jones wrote to All:


 KJ Nice work. It's up on the vpopmail web site for distribution.

Where?

 KS

   KARICO Business Services
   Toronto, ON Canada
   http://www.karico.ca
... I'm not as good as I once was, but I'm as good once as I ever was!





Re: [vchkpw] disk quota per domain

2003-02-12 Thread Manish Jain
Hi,

I have done the same as u directed.I assigned OS quota to a user test.
I have added a domain 

#./vadddomain -u test xyz.com

the command works well. But when I login in to qmailadmin using
postmaster account it shows Invalid Login.

Whats wrong now?

Plz. help me...

Manish Jain


On Tue, 2003-01-28 at 15:22, Claudio Nieder wrote:
 Hi,
 
  Please give the workable answer...
 
 Use vaddoains -u option to assign to each domain a different user and
 use your OS quota facility to assign each user the desired quota.
 
   claudio
 -- 
 Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
 yahoo messenger: claudionieder aim: claudionieder icq:42315212
 mailto:[EMAIL PROTECTED]http://www.claudio.ch
-- 
MANISH JAIN
ERDCI (Ministry of Comm  IT)
Anusandhan Bhawan
C-56/1, Sector - 62,
Noida - 201307 (U.P.)
Ph. - 0120-2402551 to 60 (Ext. - 803/718)