Re: vchkpw eats 99% of cpu time

2001-02-04 Thread Cajus Pollmeier

Am Samstag,  3. Februar 2001 00:28 schrieb Dan Phoenix:
 not sure what the problem would be without personally logging in...
 but i would write maybe a nice wrapper for it for now...man nice.

   CP In 90% of all cases popping the mails works fine. The other 10%
   CP create
   CP a vchkpw process consuming 99% cpu time, staying there till I send
   CP a
 
  This happens consistently after a failed login attempt. This is pretty
  serious, since it virtually kills the whole server. I am very
  disappointed at this point. :(

It doesn't depend on false logins here. It is just sometimes. I lost my 
strace output, but it says something like "rescource temporarily unavailable" 
in an infinite loop. During the weekend the server is not used for popping 
mails, so I have to wait for the next occurence for a more verbose analysis 
:-(

Well. The nameserver is working propperly - I guess.

Thanks,
-Cajus



RE: Next 5.0 features

2001-02-04 Thread Dennis Nichols

At 2/4/01 06:10 PM, Richard Antecki wrote:
Automatic creation of maildir's on receipt of email if an account exists
in the authentication database.
...
Wouldn't anyone else find this useful?

Absolutlely!!



--
Dennis Nichols
[EMAIL PROTECTED]




Re: qmailadmin can change pop password but not the webpass

2001-02-04 Thread fox

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.

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

On Sun, 4 Feb 2001, Francis P. Ling wrote:


 Rick Updegrove writes:

  Hi all
 
  I myself and 2 others have had this exact, ongoing, no matter what, always
  using the latest versions of vpopmail and sqwebmail problem.
  One person has stopped using vpopmail altogether, the other is just lazy
  like me and was waiting for someone else to fix it.
 
  It is not that hard to go manually delete sqwebmail-pass, so thats what I
  have had to do a few times.  Maybe you could add the line
  "rm /home/vpopmail/domains/somedomain.com/someuser/Maildir/sqwebmail-pass"
  to the code?
 
  Anyway I would like to confirm that the sqwebmail-pass is not being updated,
  qmailadmin says it has been updated the password successfully and I am
  watching, its not changing.  I view the encrypted file with cat
  /home/vpopmail/domains/somedomain.com/someuser/Maildir/sqwebmail-pass
  before and after I change it with qmailadmin.  It remains the same.  I have
  duplicated this on my 2 machines many times.
 
  I have attatched my config.status from vpopmail, qmailadmin and sqwebmail.
 
  I will paste the relevant lines:
 
  ./configure  --enable-webpass=yes --enable-webpass=vpopmail --enable-https
   --with-db=db --with-userdb=/etc/userdb --with-formdata --without-authlib-man
   --enable-utf7-folder-encoding
   --with-makedatprog=/usr/local/libexec/sqwebmail/makedatprog
   --with-authdaemonvar=/usr/local/share/sqwebmail/authdaemon
   --sysconfdir=/usr/local/share/sqwebmail
 
  ./configure  --enable-sqwebmail-pass=y --enable-roaming-users=y
   [EMAIL PROTECTED]=p
   --enable-log-name=vpopmail
 
  by the way what exactly does --enable-log-name=vpopmail  do?
 
  I am no genius, and I can't find any log named vpopmail anywhere : (
 
  Oh yeah I like using all the inter7.com products!  This has got to be the
  coolest set of software I have ever seen and used.  It is free, people
  listen when you complain about it and it will all fit on a couple of floppy
  disks.  This is so incredibly amazing to me : )
 
  Thanks
 
  Rick Up
 

 The configure should include --enable-webpass=no --with-module-authvchkpw
 --enable-webpass=vpopmail






 ---
 Francis P. Ling  [EMAIL PROTECTED]
 Network Administrator+6084-66
 Pan Sarawak Co Sdn Bhd  www.pansar.com.my
 ---






from 1 uid/gid to a uid/gid per domain.....how?

2001-02-04 Thread Yavuz Aydin

Hello all,

I want to move from 1 uid/gid to a uid/gid per domain. But I want to have
the existing domains to remain unmodified.

Can i just change /var/qmail/users/assign and then chmod -R uid.gid
/home/vpopmail/domains/domain.com, and then run /var/qmail/bin/qmail-newu?
Will that work?

Thanks in advance.

Yavuz Aydin




Odd authentication problem

2001-02-04 Thread Bruce Lane

Fellow vchkpw folks,

I'm having a POP3 authentication problem on our backup mail server. Here's
the setup.

Qmail 1.03 with tcpserver handling connections, and qmail-popup doing the
POP work.
Authentication is against /etc/passwd.
OS is NetBSD 1.4.2.

The problem: No matter what I do, I always get an authentication failure
when I try to hit the POP server on the backup box. The primary works fine.
The only difference that I can think of between the two is that the primary
is running NetBSD 1.5, while the backup is on the next release back.

Here's the weird part: The backup was working fine last night! I have no
clue what changed.

Additional oddity: When I tried using 'vadduser' to see if adding in a
user name would help (as opposed to using qmail's user list). I got this:

"Error: Unable to chdir to vpopmail/domains directory"

Which is silly because the directory exists, and it is owned by vpopmail.

Note: I'm running qmail stuff in /usr/var instead of just /var due to
limited space.

Further info on request. Help? Please? Thanks.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bruce Lane, Owner and head honcho, Blue Feather Technologies
http://www.bluefeathertech.com  // E-mail: [EMAIL PROTECTED]
Amateur Radio: WD6EOS since Dec. '77 (Extra class as of June-2K)
"I'll get a life when someone demonstrates to me that it would be
superior to what I have now..." (Gym Z. Quirk, aka Taki Kogoma).



Re: qmailadmin can change pop password but not the webpass

2001-02-04 Thread Mr Guven

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/



Logging -- First Time Poster

2001-02-04 Thread s4mu

Hello,

I am trying to establish useful logging for virtual domains.
The end result i am trying to achieve would look something like:


TIMESTAMP - SIZE - FROM ADDRESS - TO ADDRESS

Does something like this exist?
Any pointers?


Where the FROM ADDRESS (for relayed mail) is taken from the username
that is used to auth thru the roaming feature of vchkpw


(Dont hesitate to tell me RTFM if warranted)


Sean








_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




CPU consuming vchkpw

2001-02-04 Thread Cajus Pollmeier

Hi again.

Just found some processes of vchkpw running dead. They are in a infinite loop 
here (strace -p ):

wait4(-1, 0xba08, 0, NULL)  = -1 ECHILD (No child processes)

Problem is that this should be a production system and I don't want these 
runaway processes and sporadically failing pop3 logins here.

Any ideas?
-Cajus