LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2010, 02:39 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Rep: Reputation: 32
awstats mail log


Hi all

I created the awstats mail page OK, after updating I get this message

No qualified records found in log (0 corrupted, 8 dropped)

its reading the log file from /var/log/mail.log

is that normal, I've got a gallery that sends eCards it sends the mail using sendmail

wouldn't the awstats mail pick up those records

I did try this
Code:
LogFile= "perl /usr/local/awstats/maillogconvert.pl standard</var/log/mail.log"
Quote:
Error: Couldn't open server log file "perl /usr/local/awstats/maillogconvert.pl standard</var/log/mail.log" : No such file or directory
sample of my mail log
Code:
Mar 22 15:14:45 rockinghamgateway sm-mta[1956]: o2M7EcFR001954: to=<rockinghamgateway@hotmail.com>, ctladdr=<www-data@rockinghamgateway.com> (33/33), delay=00:00:07, xdelay=00:00:06, mailer=esmtp, pri=174811, relay=mx4.hotmail.com. [65.54.188.126], dsn=2.0.0, stat=Sent ( <201003220714.o2M7Ecgf001953@rockinghamgateway.com> Queued mail for delivery)
any ideas

TT ( karl )
 
Old 03-22-2010, 02:45 AM   #2
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Original Poster
Rep: Reputation: 32
I got it

I for got to put a | at the end of the line

Code:
LogFile= "perl /usr/local/awstats/maillogconvert.pl standard</var/log/mail.log|"
TT ( karl )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
issues with installation of webmin for awstats (not getting log data) kitesurfa Linux - Server 0 11-18-2009 05:39 PM
How do i send mail my Apache(Awstats) log Reports shii_va Linux - Server 7 09-07-2009 02:23 PM
awstats and several log file h725 Linux - Server 3 02-20-2009 07:36 AM
awstats problem with Postfix log file Simmo512 Linux - General 0 04-24-2008 04:26 AM
awstats log format problem sang_froid Linux - Software 1 07-10-2007 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration