Hi All,

Below is the resolution from Natalio on how to have your isoqlog stats include your virtual domains.  This works well, with the following exception -
* Domain aliases don't include any traffic (all counters are 0 bytes)
* Top 100 size doesn't populate with any data, yet this is seen in the 'General' page

From the logs, in the domain stats page, it would appear that the size is determined by that sent, not that received, yet in the general page, Top 100 size included the senders.

Really all I'm after is a way to break down incoming domain (and alias) traffic (bytes) so I can use this for billing.

Is anyone else using the reports for the same function?

Has anyone configured isoqlog to pickup domain alias traffic and have it successfully couting incoming mail?

Regards,
        Scott M Andrews


At 12:39 AM 31/03/2006, you wrote:
That´s becouse the script takes the domain information from the
directory /home/vpopmail/domains
I modified the script located in /usr/share/toaster/isoqlog/bin/cron.sh
to read domain info from /var/qmail/control/rcpthosts, so as to
include alias domains and mx backups (I use some toaster as backup
MX).
Here is my cron.sh script with my (veeeery simple) modifications:

*******************start***********************************
#!/bin/sh

VPOPMAIL=/home/vpopmail/domains
ISOQLOG=`which isoqlog`
ISODOMAINS=/etc/isoqlog/isoqlog.domains
RM=`which rm`
TOUCH=`which touch`
CHOWN=`which chown`
CHMOD=`which chmod`

# Remove old domains
[ -f $ISODOMAINS ] && $RM -rf $ISODOMAINS

###### I Commented this lines to avoid /home/vpopmail/domains
# Regenerate the file
#for i in `ls $VPOPMAIL`; do
#       echo "$i" >> $ISODOMAINS;
#done
###### Read /var/qmail/control/rcpthosts
cp /var/qmail/control/rcpthosts $ISODOMAINS

# Execute the program
$ISOQLOG 1>/dev/null 2>/dev/null

# Correct permissions
$CHOWN -R apache:apache /usr/share/toaster/htdocs/isoqlog

*******************end***********************************

I hope this can be usefull

Salutti,

Natalio.


On 3/27/06, Scott Andrews <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Has anyone noticed that the domain stats in the isoqlog don't include domain
> aliases?
>
> In the list of domains, it shows the domain that is configured (not any of
> the domain aliases).
>
> When I view the traffic details, it's clear that it doesn't include the
> domain alias traffic, only the *real* domain.  When I view the 'General'
> traffic, this shows a much better account of the traffic I'm experiencing!
>
> I'm running isoqlog-toaster-2.1-1.2.9
>
> Cheers,
>         Scott Andrews
>

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to