[vchkpw] Create script to get return value vdelivermail and call qmail-remote

2007-07-17 Thread Hoang An

Dear all,

I'm try to create file script following describes

I have a domain manage by vpopmai /home/vpopmail/domains/coredum.com/

To send mail to mailbox in coredum.com, vpopmail will use file
.qmail-default contains
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

when can not find mailbox, email will bounce the email back to the sender.
But I want email still relay to another mailserver ( for my puspose). So I
will continue using
|qmail-remote [ip of remote mail] $SENDER [EMAIL PROTECTED]

vdelivermail return value :
0 if all steps were successful.
100 if user is over quota or *bounce-no-mailbox* is set and no matching user
is found.

So when i get the return value of vdelivermail, I can call qmail-remote.
I must create a file script so that file .qmail-default can call to run.
I mean, I don't know how to create my script like I want. I'm so new with
qmail.

Everyone pls show me guides.

Thanks


[vchkpw] adduser processing times CDB

2007-07-17 Thread Quey

Hi All, 

I'm not sure things here are efficient as they could be, what times should I 
expect to run:

./vadduser [EMAIL PROTECTED] -q xxx pass
(or even a moduser)

with 15500 users, on a dual 2.6 xeon, 2g ram, 10K rpm scsi disks in raid1,  
/home/vpopmail/domains is NFS mounted from a netapp  fas 270.

currently this takes about 14 seconds to complete, yes I know it needs to 
rebuild the CDB and this is longest part, but I'm sure this is wa too 
slow for what it should be still,  I really don't want to go to SQL if I can 
help it, so I am curious to times others get, as if we keep growing at the rate 
we are, by  Christmas time it will take 3 mins to add one darn user  which will 
upset our automated CRM scripts and other things, especially management :)  I'm 
sure.

Q



Re: [vchkpw] adduser processing times CDB

2007-07-17 Thread Rick Macdougall

Quey wrote:
Hi All, 


I'm not sure things here are efficient as they could be, what times should I 
expect to run:

./vadduser [EMAIL PROTECTED] -q xxx pass
(or even a moduser)

with 15500 users, on a dual 2.6 xeon, 2g ram, 10K rpm scsi disks in raid1,  
/home/vpopmail/domains is NFS mounted from a netapp  fas 270.

currently this takes about 14 seconds to complete, yes I know it needs to 
rebuild the CDB and this is longest part, but I'm sure this is wa too 
slow for what it should be still,  I really don't want to go to SQL if I can 
help it, so I am curious to times others get, as if we keep growing at the rate 
we are, by  Christmas time it will take 3 mins to add one darn user  which will 
upset our automated CRM scripts and other things, especially management :)  I'm 
sure.

Q



I can't say since we don't use cdb here but just fyi, we added 18K users 
(approx) today to a new vpopmail server using mysql in under 5 minutes.


Regards,

Rick


PS.  What email client are you using that doesn't do wrapping of text ?