Re: [vchkpw] File busy try again later error

2003-10-08 Thread Kittiwat Manosuthi
On Tuesday, October 07, 2003 5:27 PM; I wrote:

> Our pop server is seeing a little more load recently and some of 
> the users are getting "File busy try again later" error when they 
> tried to pop their mail. I check the archive and found some people 
> getting the same problem recently but no answer. So I went to the 
> source, and found that the error msg is in file_lock.c with 
> 2 #define in file_lock.h.
> 
> #define MAX_TRY_RLOCK   10
> #define MAX_TRY_WLOCK   15
> 
> I did double those, and recompile and install, and the error seems 
> to be gone. 


Anwering to myself... not really. The problem went away
temporarily. When load goes up again, it comes back.
So my last attempt was to rebuild vpopmail with these 2
more ./configure options:

--enable-file-locking=n --enable-logging=n

It's not the best thing to do, but well, we're moving all data
off from this server to a new server as scheduled earlier. :)

Cheers,
Kittiwat




[vchkpw] File busy try again later error

2003-10-07 Thread Kittiwat Manosuthi
Hi List:

Our pop server is seeing a little more load recently and some of the users
are getting "File busy try again later" error when they tried to pop their
mail. I check the archive and found some people getting the same problem
recently but no answer. So I went to the source, and found that the error
msg is in file_lock.c with 2 #define in file_lock.h.

#define MAX_TRY_RLOCK   10
#define MAX_TRY_WLOCK   15

I did double those, and recompile and install, and the error seems to be
gone. Well, I don't know if this is the right thing to do, or there's any
other way to verify where the problem actually is.

Thanks,
-Kittiwat




Re: [vchkpw] quota problems

2002-09-23 Thread Kittiwat Manosuthi

Werner Schalk [mailto:[EMAIL PROTECTED]] wrote:
> I have compiled vpopmail and
> after I added some domains and
> users the traffic is just too high
> I get "user is over quota" errors,
> how can I increase the default quota per
> user after compiling vpopmail?

"Clayton Weise" <[EMAIL PROTECTED]>:
> To my knowledge, you have to recompile to get a new default value.

If you want to increase the default quota for *new* users, then recompiling
would help.

But if you'd like to increase the quota of existing users, then
vmoduser -q
will be able to help you.

To run vmoduser against all users in your machine, Jonas Pasche's script
should be able to help you list all users.

for D in `awk -F : '{ print $5 }' < /var/qmail/users/assign | uniq` ; do
  if [ -e $D/vpasswd ] ; then
awk -v N=`basename $D` -F : '{ print $1"@"N }' < $D/vpasswd
  fi
done

Hey Jonas, I like this script very much! :-)

Cheers,
-Kittiwat




Re: how to _delay_ failed authentication

2001-04-24 Thread Kittiwat Manosuthi

Well.. that's probably the way to go. Unfortunately, it's getting out of
my league now.  Anyone think this is an interesting thing to do?

-Kittiwat

>From: "Karsten W. Rohrbach" <[EMAIL PROTECTED]>
> Markus Stumpf([EMAIL PROTECTED])@2001.04.24 19:47:37 +:
> > On Tue, Apr 24, 2001 at 11:48:09AM +0700, Kittiwat Manosuthi wrote:
> > > Anybody know how to delay failed authentication attempts to
prevent
> > > brute force pwd cracking on POP3 server using qmail & vpopmail?
> >
> > IMHO not out of the box.
> > But you surely could construct something in checkpassword that uses
> > a (process independent) ip related counter and just as you use POP
after SMTP
> > to enable relaying you could add
> > :deny
> > lines to your tcpserver control file.
> maybe add it to tcpserver?
> okay, it would have to have a scoreboard or whatever you might call it
> and so fopen() is invoked (maybe) too often... comments?
>
> /k
>





how to _delay_ failed authentication

2001-04-23 Thread Kittiwat Manosuthi

Anybody know how to delay failed authentication attempts to prevent
brute force pwd cracking on POP3 server using qmail & vpopmail?

Sorry for cross posting.

Thanks
-kittiwat





how to delay failed authentication

2001-04-19 Thread Kittiwat Manosuthi

How to delay failed authentication attempts to prevent brute force pwd
cracking on POP server using qmail & vpopmail?

Thanks
-kittiwat





Re: Code to reset Quota for mass accounts all around

2000-12-14 Thread Kittiwat Manosuthi

Dear Ken:

This convenience feature is what I have been hoping for for a long
time...  Glad to hear it's coming...

>From one of your users that thinks vpopmail is a great product suite.

Kittiwat



- Original Message -
> 4.9.7
> Dec 14 - add quota flag to vmoduser for setting the quota
>
> [kbo@orbital vpopmail-4.9.7]$ ./vmoduser -v -h
> version: 4.9.7
> vmoduser: usage: [options] email_addr or domain (for the entire
domain)
> options: -q (set quota)
>
> For example:
> [kbo@orbital vpopmail-4.9.7]$ ./vmoduser -q 50 test.com
> To set all the test.com user quota's to 5Mbytes
>
> You can pick it up about 14 hours from now on the vpopmail page
>
> Ken Joens
>




qmailadmin can't create ezmlm mailing list

2000-07-11 Thread Kittiwat Manosuthi

Qmail is working properly. Qmailadmin is also working when creating users
and autoresponder and other stuff.  But I can't create mailing list through
qmailadmin.  It says Internal Server Error!
What's wrong?

I installed all of them strictly as per the install file, ie., all on
standard locations.  No errors found during make.  Try creating mailing list
using ezmlm-make, it works.  Checking the list that it creates, and I found
1 user as per the install instruction.  But when injecting an unsubscribe
msg, there's a mail to me but nothing in it.  No removal number or anything.
Something might be wrong here, which I'd like to find out.

Help
thanks
kittiwat