The -e flag for sarg sends report to an email. Appending a custom-template with this option may accomplish your need.
copy /etc/e-smith/tamplates/etc/sarg/sarg.conf to custom-templates
edit the lines:
#output_email none
to
output_email yourdesiredemail.com
Re-expand the template and run sarg.daily to test.
Here is what you get:
Squid User Access Report
Decreasing Access (bytes)
Period 2007Apr25-2007Apr25
NUM USERID CONNECT BYTES %BYTES ELAPSED TIME MILISEC %TIME
------- -------------------- -------- --------------- ------- ---------- ---------- -------
1 user1 2546 63.56M 68.70% 05:42:17 20537430 69.34%
2 user2 4403 27.61M 29.85% 02:20:02 8402288 28.37%
3 user3 212 1.33M 1.45% 00:11:20 680130 2.30%
------- -------------------- -------- --------------- ------- ---------- ---------- -------
TOTAL 7161 92.51M 08:13:39 29619848
AVERAGE 2387 30.83M 02:44:33 9873282
Thu Apr 26 10:51:57 2007
this output may not be what you want, but it does email the result of a sarg execution.
Also from the sarg.conf file... "If you use this tag (-e), no html reports will be generated."
Craig