LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   awstats mail log (https://www.linuxquestions.org/questions/linux-software-2/awstats-mail-log-796993/)

tommytomato 03-22-2010 02:39 AM

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:confused:, 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 )

tommytomato 03-22-2010 02:45 AM

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 )


All times are GMT -5. The time now is 07:50 PM.