Re: [qmailadmin] Monitor bandwidth per domain in qmailadmin.

2004-06-12 Thread Satinder Pal Singh
i think nobody have replied to this mail.
did any body found solution of this...if yes please answer!!!

bye
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 9:22 PM
Subject: [qmailadmin] Monitor bandwidth per domain in qmailadmin.


 Does qmailadmin have any way of setting the maximum bandwidth used on a
 per domain basis (daily or monthly)?  Is that even a possible?

 The only thing I'm seeing in the logs (/var/log/qmail/qmail-smtpd/current)
 is pretty cyptic to see even what domain is getting all of the email for.
 Or is this more of a vpopmail question.

 @400040bca54c0d132524 tcpserver: status: 11/20
 @400040bca54c0d1338ac tcpserver: pid 32184 from 24.14.125.72
 @400040bca54c0d268614 tcpserver: ok 32184
 mx.servertest.com:206.161.120.147:25 c-24-14-125-72.client.comcast.
 net:24.14.125.72::3535
 @400040bca54c367f39ac tcpserver: status: 12/20
 @400040bca54c367f4d34 tcpserver: pid 32186 from 208.36.7.2
 @400040bca54c3691e304 tcpserver: ok 32186
 mx.servertest.com:206.161.120.147:25 208.36.7.2.ptr.us.xo.net:208.3
 6.7.2::7954

 Regards,
 -Steve






---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.703 / Virus Database: 459 - Release Date: 6/10/2004




Re: [qmailadmin] cannot add more forwarder

2004-06-12 Thread [EMAIL PROTECTED]

 Hello Peter,
 
 The maximum number of alii/forwards is hard-coded into the source at 5. 
If you need more than that you should probably use ezmlm to create a 
 list. Then you would only need one forward, and that would be the the 
 list itself.
 
 HTH,
Hi Mike!

I am no c programmer.
Do you know where I can modify this variable?

Viele Gruesse,
Peter.
-- 
www: http://peter.tux.hm
www: http://tux.hm - Linux- und BSD-UserGroup im Weserbergland
gpg: http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2



Re: [qmailadmin] Monitor bandwidth per domain in qmailadmin.

2004-06-12 Thread Dheeraj MS
 Satinder Pal Singh wrote:
 i think nobody have replied to this mail.
 did any body found solution of this...if yes please answer!!!

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, June 01, 2004 9:22 PM
 Subject: [qmailadmin] Monitor bandwidth per domain in qmailadmin.

Mr.Singh, Jeremy has replied to something similar under the URL
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18273.html

So, install vQadmin  have fun!

Dheeraj.



[qmailadmin] max forwards

2004-06-12 Thread qmailadmin user
Hi all,
I think this is for Tom or Jeremy.
I agree that using a mailing list when the number of alii/forwards 
exceeds some arbitrary number is a good thing; nonetheless, I've seen 
questions about the maximum number of alii/forwards on this list several 
times over the years.  May I offer a suggestion?

The line numbers below refer to qmailadmin-1.2.0 (tarball is misnamed 
qmailadmin-2.2.0.tar.gz)

In qmailadmin.h add this line:
#define MAX_FORWARDS 5
In user.c #916
change
while( tmpstr != NULL  count  5) {
to
while( tmpstr != NULL  count  MAX_FORWARDS) {
IMHO this should make that constant easier for do-it-yourselfers to find 
and modify.

Thanks again for a great product!
Mike Wright


Re: [qmailadmin] max forwards

2004-06-12 Thread Ken Jones
On Saturday 12 June 2004 12:05 pm, qmailadmin user wrote:
 Hi all,

 I think this is for Tom or Jeremy.

 I agree that using a mailing list when the number of alii/forwards
 exceeds some arbitrary number is a good thing; nonetheless, I've seen
 questions about the maximum number of alii/forwards on this list several
 times over the years.  May I offer a suggestion?

 The line numbers below refer to qmailadmin-1.2.0 (tarball is misnamed
 qmailadmin-2.2.0.tar.gz)

 In qmailadmin.h add this line:
 #define MAX_FORWARDS 5

 In user.c #916
 change
  while( tmpstr != NULL  count  5) {
 to
  while( tmpstr != NULL  count  MAX_FORWARDS) {


 IMHO this should make that constant easier for do-it-yourselfers to find
 and modify.

I agree. 
What about using the .qmailadmin-limits values for max forwards?

Ken Jones


Re: [qmailadmin] max forwards

2004-06-12 Thread Rick Widmer

Ken Jones wrote:
IMHO this should make that constant easier for do-it-yourselfers to find
and modify.

I agree. 
What about using the .qmailadmin-limits values for max forwards?
  +1
Rick



Re: [qmailadmin] max forwards

2004-06-12 Thread Tom Collins
On Jun 12, 2004, at 10:05 AM, qmailadmin user wrote:
In user.c #916
change
while( tmpstr != NULL  count  5) {
to
while( tmpstr != NULL  count  MAX_FORWARDS) {
IMHO this should make that constant easier for do-it-yourselfers to 
find and modify.
This is a good idea, but we would need to watch out for buffer 
overflows.  I think that the code assumes it can fit the entire lists 
of forwards into an arbitrarily-sized buffer.  It would be better to 
have the size of the buffer based on MAX_FORWARDS * (MAX_ADDRESS_SIZE + 
1).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [qmailadmin] max forwards

2004-06-12 Thread qmailadmin user
Tom Collins wrote:
On Jun 12, 2004, at 10:05 AM, qmailadmin user wrote:
In user.c #916
change
while( tmpstr != NULL  count  5) {
to
while( tmpstr != NULL  count  MAX_FORWARDS) {
IMHO this should make that constant easier for do-it-yourselfers to 
find and modify.

This is a good idea, but we would need to watch out for buffer 
overflows.  I think that the code assumes it can fit the entire lists of 
forwards into an arbitrarily-sized buffer.  It would be better to have 
the size of the buffer based on MAX_FORWARDS * (MAX_ADDRESS_SIZE + 1).
Here are the lines that I think need to be changed to do that.  (I'm not 
a c prog'er so check my work ;)

The MAX_ADDRESS_SIZE was picked arbitrarily.  I added 2 to it instead of 
1 to accomodate the  and the \n when calculating the NewBuf size.

These changes are against qmailadmin-1.2.0
qmailadmin.h
38a39,41
 #define MAX_ADDRESS_SIZE 80
 #define MAX_FORWARDS  5

user.c
367c367
  static char NewBuf[156];
---
  static char NewBuf[MAX_FORWARDS * (MAX_ADDRESS_SIZE + 2)];
744c744
  static char NewBuf[156];
---
  static char NewBuf[MAX_FORWARDS * (MAX_ADDRESS_SIZE + 2)];
916c916
 while( tmpstr != NULL  count  5) {
---
 while( tmpstr != NULL  count  MAX_FORWARDS) {
Hope that's helpful.
Mike Wright
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/