[awstats postfix] corrupted records

Pagina: 1
Acties:
  • 148 views sinds 30-01-2008
  • Reageer

  • usr-local-dick
  • Registratie: September 2001
  • Niet online
Hoi

Ik wil graag awstats opzetten voor het laten zien van mail statistieken. Awstats ondersteunt dit vanaf versie 5.5.
Netjes volgens de howto een conf file gemaakt.
Als ik hem laat parsen dan krijg ik deze output:

www-data@huge:~$ /usr/lib/cgi-bin/awstats.pl --update --config=test
Update for config "/etc/awstats/awstats.test.conf"
With data in log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log.0 | "...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 2250
Found 0 dropped records,
Found 2250 corrupted records,
Found 0 old records,
Found 0 new qualifed records.

FYI hier staat de volledige config voor awstats.

De machine draait een standaard debian postfix.
Als ik de logfile parse met die tool van awstats krijg ik dit soort output:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2004-12-14 12:23:54 sentto-1100814-95988-1071401028-knm=meynell.com@returns.groups.yahoo.com knm@cajones.org localhost localhost SMTP - 1 4718
2004-12-14 12:29:01 root@cajones.org root@cajones.org localhost localhost SMTP - 1 725
2004-12-14 12:29:01 root@cajones.org dick@terena.nl cajones.org erasmus.terena.nl SMTP - 1 853
2004-12-14 12:45:05 mountemaillott@netscape.net kevin@cajones.org localhost localhost SMTP - 1 3063
2004-12-14 12:45:05 news@cajones.org news@cajones.org localhost localhost SMTP - 1 766
2004-12-14 12:48:28 postmaster@cajones.org virusalert@cajones.org localhost localhost SMTP - 1 2422
2004-12-14 12:48:28 postmaster@cajones.org dick@terena.nl cajones.org erasmus.terena.nl SMTP - 1 2550
2004-12-14 12:48:30 postmaster@cajones.org hori2010@sea.plala.or.jp localhost mps.plala.or.jp SMTP - 1 1789
2004-12-14 12:49:46 postmaster@cajones.org virusalert@cajones.org localhost localhost SMTP - 1 2199
2004-12-14 12:49:46 postmaster@cajones.org dick@terena.nl cajones.org erasmus.terena.nl SMTP - 1 2327
2004-12-14 12:49:47 postmaster@cajones.org hori2010@sea.plala.or.jp localhost mps.plala.or.jp SMTP - 1 1770
2004-12-14 12:50:22 martinsbruno1966@tiscali.co.uk kevin@cajones.org localhost localhost SMTP - 1 4311
2004-12-14 12:57:45 sentto-1100814-95989-1071403059-knm=meynell.com@returns.groups.yahoo.com knm@cajones.org localhost localhost SMTP - 1 8095
2004-12-14 13:03:13 root@cajones.org usura@cajones.org localhost localhost SMTP - 1 458562
2004-12-14 13:05:50 kevin@meynell.com gigagys@xs4all.nl meynell.com - SMTP - 554 0
2004-12-14 13:06:33 kevin@meynell.com gigagys@xs4all.nl localhost mx4.xs4all.nl SMTP - 1 1639
2004-12-14 13:06:33 knm@meynell.com speedway@yahoogroups.com localhost mta5.grp.scd.yahoo.com SMTP - 1 1412

Dat lijkt er goed uit te zien?
Heeft iemand dit goed werkend?

PS awstats is versie 5.6-1.

  • I_stealth_I
  • Registratie: Januari 2001
  • Laatst online: 14-02 16:45

I_stealth_I

Tweak It OR leave it!

Voor zoverre ik weet moet je het logfile format veranderen zodat Awstats het kan analysen...ik denk dat daar in iets fout zit waardoor awstats er niet mee uit de voeten kan.

/dev/null