Ability to ftp the exim email logs kbox_logs.tgz
I'd like to be able to get the exim email log from the kbox.
Currently it looks like the only way to get email logs are a manual download (Settings, Support, Troubleshooting Tools, K1000 troubleshooting logs). These appear to be overwritten every night.
I'd like to get some historical data from the exim logs.
Could you write a script to push this information into the kbox_logs.tgz file before the exim log is overwritten?
Thanks!

-
Tom S commented
I run a nightly (Linux) script to fetch the logs:
#!/bin/bash
#
# Run this nightly to fetch kbox logs
#LOGDIR=/var/kbox/logs
URL="https://kbox.xx.yy.zz/common/download_logs.php"
LOG="$(basename $0).log"YR=$(date +%Y)
MON=$(date +%m)
DAY=$(date +%d)cd ${LOGDIR}
mkdir -p ${YR}/${MON}wget -a ${LOG} --no-check-certificate -O ${YR}/${MON}/kbox_logs-${DAY}.tgz ${URL}