Postfix configuration - problems

strerror <[email protected]> Sun, 17 Apr 2005 16:13:55 +0100
Newsgroups gmane.comp.sysutils.modular-log-analyzer
Organization Disciplina Networks
Message-ID <[email protected]>
--nextPart1480308.B0NLxNenDn
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

heya,

I have only just started playing around with modlogan so forgive me if I am=
=20
missing something obvious, however, after reading all the relevant=20
documentation and playing around I have been unable to solve my issue.

I am trying to setup modlogan to process my postfix logs, but I am currentl=
y=20
getting the following error for every postfix log entry, a sample output is=
=20
below:
<SNIP>
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
16=20
15:03:19 terra postfix/qmgr[29373]: 24672B0509: removed
main.c.975 (main): parser reported an error in line 162145
parse.c.344: what's that ?? Apr 16 15:11:18 terra postfix/qmgr[29373]:=20
678603156E1: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
16=20
15:11:18 terra postfix/qmgr[29373]: 678603156E1: removed
main.c.975 (main): parser reported an error in line 162366
parse.c.344: what's that ?? Apr 16 15:18:04 terra postfix/qmgr[29373]:=20
232A43156E1: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
16=20
15:18:04 terra postfix/qmgr[29373]: 232A43156E1: removed
main.c.975 (main): parser reported an error in line 162529
=2E.parse.c.344: what's that ?? Apr 16 18:18:31 terra postfix/qmgr[29373]:=
=20
BF3D7A92A: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
16=20
18:18:31 terra postfix/qmgr[29373]: BF3D7A92A: removed
main.c.975 (main): parser reported an error in line 164906
=2E...................................   200000 -  165975.10 ( 151,    0)
 ...............................................parse.c.344: what's that ??=
=20
Apr 17 01:09:30 terra postfix/qmgr[29373]: 623FDB1D2: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
17=20
01:09:30 terra postfix/qmgr[29373]: 623FDB1D2: removed
main.c.975 (main): parser reported an error in line 247114
=2E..   250000 -  172057.81 ( 152,    0)
 .parse.c.344: what's that ?? Apr 17 01:12:22 terra postfix/qmgr[29373]:=20
2E41DB206: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
17=20
01:12:22 terra postfix/qmgr[29373]: 2E41DB206: removed
main.c.975 (main): parser reported an error in line 251039
parse.c.344: what's that ?? Apr 17 01:36:36 terra postfix/qmgr[29373]:=20
E2A8CB208: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
17=20
01:36:36 terra postfix/qmgr[29373]: E2A8CB208: removed
main.c.975 (main): parser reported an error in line 251159
parse.c.344: what's that ?? Apr 17 02:00:37 terra postfix/qmgr[29373]:=20
810C6B209: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
17=20
02:00:37 terra postfix/qmgr[29373]: 810C6B209: removed
main.c.975 (main): parser reported an error in line 251321
parse.c.344: what's that ?? Apr 17 02:13:17 terra postfix/qmgr[29373]:=20
2C436B22B: removed
parse.c.372 (mplugins_input_postfix_get_next_record): affected Record: Apr =
17=20
02:13:17 terra postfix/qmgr[29373]: 2C436B22B: removed
main.c.975 (main): parser reported an error in line 251414
]
 writing month 04 - 2005
main.c.1017: writing the last month
main.c.1044: subpath =3D ''
mstate.c.680: STATE-Filename: /tmp/test/mla.state.xml
mail.c.1277 (mplugins_output_generate_history_output_mail): count =3D=3D 0,=
 is=20
this ok ?? splitby for '200504' without an entry ??
template.c.747 (tmpl_replace_block): key 'row' not found in block '_default'
 --> Setup       : Wall       0.01s, User       0.01s, System       0.00s <=
=2D-
 --> Parse       : Wall       0.01s, User       1.41s, System       0.11s <=
=2D-
 --> Process     : Wall       0.00s, User       0.05s, System       0.07s <=
=2D-
 --> Post-Process: Wall       0.02s, User       0.01s, System       0.00s <=
=2D-
Throughput: 172414.38 rec/s (251725 records, 156 corrupt records, 0 skipped=
=20
records, 251438 ignored records)

As you can see its not able to actually parse any of the entries and the lo=
g=20
format is default with nothing unusual about it at all.

My configuration looks as follows:
[global]
includepath=3D/etc/modlogan
include=3Dmodlogan.def.conf,global
loadplugin=3Dinput_postfix
loadplugin=3Doutput_template
loadplugin=3Dprocessor_mail
statedir=3D/tmp/test
incremental=3D1
var(outputdir, $statedir)
debug_level =3D 3
[processor_mail]
include=3Dmodlogan.def.conf,processor_mail
[output_template]
template_name=3Dmodern
include =3D modlogan.def.conf, output_template
include =3D modlogan.def.conf, output_template_menu_mail
include =3D modlogan.def.conf, output_template_reports_mail
include =3D modlogan.def.conf, output_template_menu_mail_postfix
include =3D modlogan.def.conf, output_template_reports_mail_postfix
include =3D modlogan.def.conf, output_template_menu_mail_virus
include =3D modlogan.def.conf, output_template_reports_mail_virus
hostname=3Dterra
outputdir=3D$outputdir
[input_postfix]
include=3Dmodlogan.def.conf,input_postfix
inputfile=3D-

on a different note is there an archive of this mailling list anywhere?

any help is appreciated.

regards,

=2D-=20
strerror
www.disciplina.net

--nextPart1480308.B0NLxNenDn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCYn03pO9ElVhlDo8RAr1nAJ9MPDhJQs/iPFnHuNdDo+aYNTBR9QCfVSSN
elXSrqcYxNiL2JvbbBSQn8Q=
=qsZh
-----END PGP SIGNATURE-----

--nextPart1480308.B0NLxNenDn--