[vchkpw] users/assign and virtualdomains files

2005-12-07 Thread Nicklas Bondesson
Is there a clean way of overriding vpopmail's default behavior of using the
users/assign and virtualdomains files when using the mysql backend to lookup
user and domain data?

I would like to add/remove users and domains on-the-fly without the hassle
of manipulating and distributing those files among our mailservers.

Do i have to wait for vpopmaild? I guess it will handle this as well.


Thanks,
Nicklas B




[vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Jon
I'm getting 3-8 processes that hog all of the server's CPU.  Any ideas?  The
server was installed using to qmail-toaster SRPMSs

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

15810 vpopmail  25   0  5804 1412 1176 R 99.2  0.1   0:53.75 qmail-smtpd-chk

15933 vpopmail  25   0  6420 1412 1176 R 50.8  0.1   0:36.64 qmail-smtpd-chk

15260 vpopmail  25   0  5008 1412 1176 R 49.6  0.1   1:46.28 qmail-smtpd-chk

16250 root  16   0  2780  964  748 R  0.4  0.0   0:00.01 top


-

18984 ?R  0:51 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19024 ?R  0:46 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19045 ?R  0:48 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19151 ?R  0:36 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19366 ?R  0:16 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19374 ?R  0:14 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19452 ?R  0:12 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19494 ?R  0:08 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true




Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Rick Macdougall

Jon wrote:

I'm getting 3-8 processes that hog all of the server's CPU.  Any ideas?  The
server was installed using to qmail-toaster SRPMSs

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

15810 vpopmail  25   0  5804 1412 1176 R 99.2  0.1   0:53.75 qmail-smtpd-chk


18984 ?R  0:51 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true


Hi,

What is qmail-smtpd-chkuser ?

Rick


Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Ken Jones

If you have the qmail TLS patch installed
then make sure you put in a cron job to build a temporary
key and put it in place.

Otherwise, each smtp connection causes an SSL key/pair to
be generated which can use all of the CPU.

Ken Jones

Jon wrote:

I'm getting 3-8 processes that hog all of the server's CPU.  Any ideas?  The
server was installed using to qmail-toaster SRPMSs

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

15810 vpopmail  25   0  5804 1412 1176 R 99.2  0.1   0:53.75 qmail-smtpd-chk

15933 vpopmail  25   0  6420 1412 1176 R 50.8  0.1   0:36.64 qmail-smtpd-chk

15260 vpopmail  25   0  5008 1412 1176 R 49.6  0.1   1:46.28 qmail-smtpd-chk

16250 root  16   0  2780  964  748 R  0.4  0.0   0:00.01 top


-

18984 ?R  0:51 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19024 ?R  0:46 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19045 ?R  0:48 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19151 ?R  0:36 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19366 ?R  0:16 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19374 ?R  0:14 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19452 ?R  0:12 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true
19494 ?R  0:08 /var/qmail/bin/qmail-smtpd-chkuser
/home/vpopmail/bin/vchkpw /bin/true






RE: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Jon
I was wondering if this had something to do with it but it is unclear to me.

On Wednesday 26 October 2005 10:49 am, Miguel wrote:  
 Rick Macdougall wrote:  
  What options was vpopmail compiled with ?  I'll bet you had domain  
  quota support.  
  
 Excelente point, i forgot to tell you that im using mysql 4.1.7  
 My configure:  
 $ ./configure --enable-logging=p --enable-auth-module=mysql  
 --enable-mysql-limits --enable-domainquotas --enable-learn-passwords=y  
  
 is the domain quota a default flag?  
 
no, but it's right there, you have it enabled.  disable it and your problems

will disappear.  
 
-Jeremy  
 
--  
Jeremy Kitchen ++ E-mail Protected  
 
In the beginning was The Word and The Word was Content-type: text/plain  
  -- The Word of Bob.  


-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 5:24 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

If you have the qmail TLS patch installed
then make sure you put in a cron job to build a temporary
key and put it in place.

Otherwise, each smtp connection causes an SSL key/pair to
be generated which can use all of the CPU.

Ken Jones

Jon wrote:
 I'm getting 3-8 processes that hog all of the server's CPU.  Any ideas?
The
 server was installed using to qmail-toaster SRPMSs
 
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 
 15810 vpopmail  25   0  5804 1412 1176 R 99.2  0.1   0:53.75
qmail-smtpd-chk
 
 15933 vpopmail  25   0  6420 1412 1176 R 50.8  0.1   0:36.64
qmail-smtpd-chk
 
 15260 vpopmail  25   0  5008 1412 1176 R 49.6  0.1   1:46.28
qmail-smtpd-chk
 
 16250 root  16   0  2780  964  748 R  0.4  0.0   0:00.01 top
 
 
 -
 
 18984 ?R  0:51 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19024 ?R  0:46 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19045 ?R  0:48 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19151 ?R  0:36 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19366 ?R  0:16 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19374 ?R  0:14 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19452 ?R  0:12 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19494 ?R  0:08 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 
 




RE: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Jon
/var/qmail/control/rsa512.pem exists

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 5:24 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

If you have the qmail TLS patch installed
then make sure you put in a cron job to build a temporary
key and put it in place.

Otherwise, each smtp connection causes an SSL key/pair to
be generated which can use all of the CPU.

Ken Jones

Jon wrote:
 I'm getting 3-8 processes that hog all of the server's CPU.  Any ideas?
The
 server was installed using to qmail-toaster SRPMSs
 
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 
 15810 vpopmail  25   0  5804 1412 1176 R 99.2  0.1   0:53.75
qmail-smtpd-chk
 
 15933 vpopmail  25   0  6420 1412 1176 R 50.8  0.1   0:36.64
qmail-smtpd-chk
 
 15260 vpopmail  25   0  5008 1412 1176 R 49.6  0.1   1:46.28
qmail-smtpd-chk
 
 16250 root  16   0  2780  964  748 R  0.4  0.0   0:00.01 top
 
 
 -
 
 18984 ?R  0:51 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19024 ?R  0:46 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19045 ?R  0:48 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19151 ?R  0:36 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19366 ?R  0:16 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19374 ?R  0:14 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19452 ?R  0:12 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 19494 ?R  0:08 /var/qmail/bin/qmail-smtpd-chkuser
 /home/vpopmail/bin/vchkpw /bin/true
 
 




Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Rick Macdougall

Jon wrote:

/var/qmail/control/rsa512.pem exists

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 5:24 PM

To: vchkpw@inter7.com
Subject: Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

If you have the qmail TLS patch installed
then make sure you put in a cron job to build a temporary
key and put it in place.


Hi,

Ok, let's not top post if you don't mind.

1) What is the date on the *.pem files in /var/qmail/control

2) What are your vpopmail configure options?

Regards,

Rick



Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread jon
 Jon wrote:
 /var/qmail/control/rsa512.pem exists

 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 07, 2005 5:24 PM
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

 If you have the qmail TLS patch installed
 then make sure you put in a cron job to build a temporary
 key and put it in place.

 Hi,

 Ok, let's not top post if you don't mind.

 1) What is the date on the *.pem files in /var/qmail/control

 2) What are your vpopmail configure options?

 Regards,

 Rick



Sorry about the top posts

Dec  7 01:01 rsa512.pem

Where do I look to find the configure options?




Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

Jon wrote:


Sorry about the top posts


No problem



Dec  7 01:01 rsa512.pem

Where do I look to find the configure options?


cd /var/src/vpopmail/5.4.12 (or where ever your vpopmail source code is 
that you compiled it from)


less config.log

In my case it shows

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vpopmail configure 5.4.12, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --enable-logging=v --enable-ip-alias-domains=y

Regards,

Rick




Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread jon
 [EMAIL PROTECTED] wrote:
 Jon wrote:

 Sorry about the top posts

 No problem


 Dec  7 01:01 rsa512.pem

 Where do I look to find the configure options?

 cd /var/src/vpopmail/5.4.12 (or where ever your vpopmail source code is
 that you compiled it from)

 less config.log

 In my case it shows

 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 It was created by vpopmail configure 5.4.12, which was
 generated by GNU Autoconf 2.53.  Invocation command line was

$ ./configure --enable-logging=v --enable-ip-alias-domains=y

 Regards,

 Rick




./configure --prefix=/home/vpopmail --enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw --enable-libdir=/usr/lib/mysql
--disable-roaming-users --enable-tcprules-prog=/usr/bin/tcprules
--enable-tcpserver-file=/etc/tcprules.d/tcp.smtp --enable-make-seekable
--enable-clear-passwd --disable-users-big-dir --enable-qmail-ext
--disable-ip-alias-domains --enable-domainquotas
--enable-auth-module=mysql --disable-passwd --enable-logging=v
--enable-log-name=vpopmail --disable-mysql-limits --enable-valias
--disable-many-domains


Re: [vchkpw] high cpu with qmail-smtpd-chk or vchkpw

2005-12-07 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:

Jon wrote:

Sorry about the top posts

No problem


Dec  7 01:01 rsa512.pem

Where do I look to find the configure options?

cd /var/src/vpopmail/5.4.12 (or where ever your vpopmail source code is
that you compiled it from)

less config.log

In my case it shows

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vpopmail configure 5.4.12, which was
generated by GNU Autoconf 2.53.  Invocation command line was

   $ ./configure --enable-logging=v --enable-ip-alias-domains=y

Regards,

Rick





./configure --prefix=/home/vpopmail --enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw --enable-libdir=/usr/lib/mysql
--disable-roaming-users --enable-tcprules-prog=/usr/bin/tcprules
--enable-tcpserver-file=/etc/tcprules.d/tcp.smtp --enable-make-seekable
--enable-clear-passwd --disable-users-big-dir --enable-qmail-ext
--disable-ip-alias-domains --enable-domainquotas
--enable-auth-module=mysql --disable-passwd --enable-logging=v
--enable-log-name=vpopmail --disable-mysql-limits --enable-valias
--disable-many-domains


Hi,

Remove  --enable-domainquotas and re-run your ./configure

It's broken and it doesn't work.

Re-configure, make, make install and all shall be well.

If you really do need domain quotas you will have to look into using 
system user accounts with system quotas.


Regards,

Rick



Re: [vchkpw] user managment

2005-12-07 Thread aichains
Li Qidong wrote:
 Hello everyone,
  
 I want to know if the vpopmail can control some users(not all the 
 users:)) sent email in theirs own domain?
  
 Regards,
  
 Ricky



check out http://www.inter7.com/?page=empf