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