Re: vchkpw eats 99% of cpu time

2001-02-05 Thread Cliff To

Starting with svscan with something like this in 
/var/qmail/supervise/qmail-pop3/run:

#!/bin/sh
HOSTNAME=`hostname -f`
exec /usr/local/bin/softlimit -m 2000 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
0 pop-3 /var/qmail/bin/qmail-popup $HOSTNAME \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d ./Maildir/ 21

In 90% of all cases popping the mails works fine. The other 10% create a 
vchkpw process consuming 99% cpu time, staying there till I send a 
SIGKILL.

Any solutions for this scenario?

There are 2 things I can think of:
1) Remove the softlimit line and accept the system default limit
2) Remove the -p flag in your tcpserver to stop reverse DNS lookup

I believe it wasn't a problem with vchkpw. If your configuration allows you 
to use checkpassword, change it and see what happen. I also believe a 
temporarily fix is to NOT supervise it so let the process dies if it has to 
without attempt to restart it (which might be the 99% cpu time consuming)

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




Re: vchkpw eats 99% of cpu time

2001-02-05 Thread Cliff To

One more thing, why you wanted to check against tcp.smtp.cdb for pop3d?
It just causes unnecessary overhead since pop3d requires authentication.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: qmailadmin can change pop password but not the webpass

2001-02-05 Thread fox

Have you tried to change the password via the sqwebmail preferences
screen?  These settings won't affect the qmailadmin software, only the
sqwebmail software.

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Sun, 4 Feb 2001, Mr Guven wrote:

 I used this configure line, but it STILL don't workany ideas?

 
 ./configure
  --with-cachedir=/home/mailsys/sqwebmail/cache
  --without-authmysql
  --with-authvchkpw
  --enable-webpass=no
  --enable-webpass=vpopmail
  --enable-logincache
  --enable-hardtimeout=7200
  --enable-softtimeout=3600
  --with-htmllibdir=/home/mailsys/sqwebmail
  --enable-cgibindir=/home/mailsys/sqwebmail/cgi-bin
  --enable-imagedir=/home/mailsys/sqwebmail/images/
  --enable-imageurl=/images/
  --without-authpwd
  --without-authshadow
  --without-authpam
  --without-authuserdb
  --without-authmysql
  --without-authdaemon
  --without-authldap
 



 --- [EMAIL PROTECTED] wrote:
  Actually, it should be
 
  --with-authvchkpw
 
  There is no such configure line as --with-module-authvchkpw.  Also, as
  stated in the INSTALL docs, if the vpopmail account exists, it will
  include that in the list of authentication modules to be built.
 
  Regards,
 
  Tren.


 __
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/





Re: qmailadmin can change pop password but not the webpass

2001-02-05 Thread M. Guven Mucuk

sqwebmail  preferences  change password: this changes the web password.
but i want my qmailadmin work fine too. 

So no one knows why does qmailadmin *ONLY* change POP3 password? 

[EMAIL PROTECTED] writes: 

 Have you tried to change the password via the sqwebmail preferences
 screen?  These settings won't affect the qmailadmin software, only the
 sqwebmail software. 
 
 Tren. 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 - Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
 = End of Time Networks  http://www.theendoftime.net  -
 - (403) 269-2122 =
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
 
 On Sun, 4 Feb 2001, Mr Guven wrote: 
 
 I used this configure line, but it STILL don't workany ideas? 

 
 ./configure
  --with-cachedir=/home/mailsys/sqwebmail/cache
  --without-authmysql
  --with-authvchkpw
  --enable-webpass=no
  --enable-webpass=vpopmail
  --enable-logincache
  --enable-hardtimeout=7200
  --enable-softtimeout=3600
  --with-htmllibdir=/home/mailsys/sqwebmail
  --enable-cgibindir=/home/mailsys/sqwebmail/cgi-bin
  --enable-imagedir=/home/mailsys/sqwebmail/images/
  --enable-imageurl=/images/
  --without-authpwd
  --without-authshadow
  --without-authpam
  --without-authuserdb
  --without-authmysql
  --without-authdaemon
  --without-authldap
  

 

 --- [EMAIL PROTECTED] wrote:
  Actually, it should be
 
  --with-authvchkpw
 
  There is no such configure line as --with-module-authvchkpw.  Also, as
  stated in the INSTALL docs, if the vpopmail account exists, it will
  include that in the list of authentication modules to be built.
 
  Regards,
 
  Tren. 


 __
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/ 

 
 


=
= M. Guven Mucuk
= [EMAIL PROTECTED]
=
= BerkNet Internet Services
= UNIX System Administrator
= 




Next 5.0 features

2001-02-05 Thread Leonardo Magallon

Not related to vpopmail but since you guys do qmailadmin as well here it goes.

It would be nice for qmailadmin to report when was the last time the user
visited his account so that on large systems one could delete non-active
accounts.

My 2 cents.

Leo.





vchkpw eats 99% of cpu time

2001-02-05 Thread Kari Suomela


Sunday February 04 2001 13:42, Cajus Pollmeier wrote to Dan Phoenix:


 CP It doesn't depend on false logins here. It is just sometimes. I
 CP lost
 CP my strace output, but it says something like "rescource
 CP temporarily
 CP unavailable" in an infinite loop. During the weekend the server is
 CP not

After more testing, it seems to happen with *every* 'regular', external
pop connection. If I quickly kill the stray processes, the user will
get in. Can't sit here watching it all the time, though. :(

 KS

 É»
 º  KARICO Business Services  º
 º  Toronto, ON Canada  http://www.ksbase.com º
 ȼ

... Everything should be built top-down, except the first time.




Re: Next 5.0 features

2001-02-05 Thread M. Guven Mucuk

(Sorry, I continue to write to vpopmail list, abot not directly vpopmail.)

Good idea...
Also, wouldn't it be a nice feature if swebmail prints something like: 

 --
{Last time}
You've been logged in at: 5 Jan 2001, 20:45 (GMT+2)
From: dialup-2912.yourisp.net
 -- 

A webmail user will be aware of strangers using her/his account. 

 

=
= M. Guven Mucuk
= [EMAIL PROTECTED]
=
= BerkNet Internet Services
= UNIX System Administrator
= 



Two issues

2001-02-05 Thread M. Guven Mucuk

Two issues:

1) Although i've created a ~vpopmail/domains/domain.net/.over-quota.msg
it didn't became active.
  a) If this is a "file permission" problem, then what file permissions
 may this file have? (i tried some, but didnt work)
  b) Do I need to restart qmail to have that new over-qupate-msg become  
active? (i tried this too!) 


2) when I add a user with command "./vadduser [EMAIL PROTECTED] 123 -q 3072"
doesn't that user have a 3 K quota? 

After adding that account i send a mail which is nearly 30 K to him and  
can't get any error/bounce msg. so mail is delivered successfuly(!)... 

But when i do a "./vsetuserquota [EMAIL PROTECTED] 3072" and send that same 
mail again, after this command, then i get the bounce msg, as expected.
Any ideas on why vadduser's "-q" doesnt work fine ? 


Best Regards 

=
= M. Guven Mucuk
= [EMAIL PROTECTED]
=
= BerkNet Internet Services
= UNIX System Administrator
= 




anyone can tell me why it is no use of .vpopfilter? i touch the .vpopfilter,but it is no use.

2001-02-05 Thread dick

any suggestion is welcome.



Moving the install from one box to another.

2001-02-05 Thread T.J. Conway


I am trying to moving a qmail/vpopmail install from one box to another
nothing i do seems to work. I tried recompiling stuff and copying the
database over and all of the config files. That didn't work i end up where
qmail will accept the mail but just puts it into the q and it sits there
till i restart the server. I tried taking my install from the other box
and taring up everything and i seem to send up with the same results. If
anyone know anything that might help lemme know.


T.J. Conway





does anyone knows vpopmail + mysql SMTP AUTH ?

2001-02-05 Thread Jino Lee

i need real advice.plz help.

i built on my qmail server qmail + vpopmail 4.9.8 + mysql 3.22.25 + qmailadmin0.39 + 
ezmlm-0.53(include idx) .
but i can't yet solve the qmail SMTP problem...

Can anyone help me out?
Links to related documents are welcome, too.

 



FW: does anyone knows vpopmail + mysql SMTP AUTH ?

2001-02-05 Thread Jino Lee

i need real advice.plz help.

i built on my qmail server qmail + vpopmail 4.9.8 + mysql 3.22.25 + qmailadmin0.39 + 
ezmlm-0.53(include idx) .
but i can't yet solve the qmail SMTP AUTH problem...(this mean any client relay 
open...)

i wanna only relay open accept trusted users 

Can anyone help me out?
Links to related documents are welcome, too.