Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: 7.2 mail logging - what is it supposed to show?

To: <itools@xxxxxxxxxxxxxxx>
Subject: Re: 7.2 mail logging - what is it supposed to show?
From: DC <dan.newsletter@xxxxxxxxxxx>
Date: Tue, 28 Oct 2003 16:17:25 -0500
On 10/28/03 3:12 PM, "Eric Yang" <eyang@xxxxxxxxx> wrote:

> The maillogcron is executed by the root user.  Therefore it shouldn't
> have the file permission anomalies that is associated with webstats
> cron job.  

Ok, good to hear.

> You can try to run the command manually and see if you see
> the log being updated.

I ran the command found in the crontab using:
sudo /Library/Tenon/WebLog/mailLogCron

and it runs fine and updates the update time shown in the browser page. (had
to remember to refesh without cache to verify that!)

> If there are really new stats being updated,
> then you probably want to check "sudo crontab -u root -l".  Make sure:
> 
> 15,45   *       *       *       *
> /Library/Tenon/WebLog/mailLogCron

Check, I see this in root's crontab.

> is in the entry, or check /Library/Tenon/WebLog/mailLogCron has
> executable permission.

-rwxr-xr-x  1 root  admin  327 Oct 16 20:38
/Library/Tenon/WebLog/mailLogCron

Looks good, right?

The only way I can currently update the stats is in the "Update Now" link in
the mail log section or by running the command by hand as you specified. For
some reason it refuses to run by cron. I checked the /var/log/system.log to
see if there were any cron errors and there weren't any reported.

> The mail log convert.pl looks for SMTP-Accept:Received: for incoming
> traffic and SMTP-Delivery: for out going traffic.

To follow up on this previous comment, first of all in PO the proper log
word is 'SMTP-Deliver:' not 'SMTP-Delivery:'. That should be what the
awstats looks for. Second, why don't all the messages processed by PO show
up in my logs? I see outgoing messages, but not incoming ones.

This is an entry copied from my PO log:

20031028160318-0500:SMTP-Accept:Received:[66.63.160.145]:20031028210313.AAA2
3329@xxxxxxxxxxxxxxxxxx@EMS9.EMSEMail.biz:2452:5:<Barb@xxxxxxxxxxxx>:<user@d
bmscan.com>

But, it doesn't show up in the awstats generated page. I have 1284 of these
entries according to this command:

sudo more /var/spool/post.office/log/post.office.log | grep
SMTP-Accept:Received | wc -l

So, shouldn't there be *at least* 1284 messages analyzed in the awstats
maillog? The maillog page says there have been about 40 - which is about the
number of outgoing messages today. Something's not right here.

Thanks for following up!

best,
dan

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to 
itools-request@xxxxxxxxxxxxxxx
with the body only containing: 
unsubscribe
Find the searchable mailing list archives 
at:
http://itools.blackpepper.co.nz/                               


| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists