Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 11:02:40 +0200 (SAST)
From:      Wayne Swart <wayne@aboutit.co.za>
To:        doug@pigeonhold.com, mwest@uct.ac.za
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Help with exact
Message-ID:  <20031217105556.G2921@gemini.fixx.co.za>

next in thread | raw e-mail | index | archive | help
Hi guys (and gurls)

I am having a bit of issues using exact, getting it to match an expression
in my log file. what other options are there for order (if any)?

here is what i have in my log file for pop authentication:

Dec 17 10:55:28 gemini popa3d[69906]: Authentication passed for tobie
Dec 17 10:55:28 gemini popa3d[69906]: 0 messages (0 bytes) loaded
Dec 17 10:55:37 gemini popa3d[69906]: 0 (0) deleted, 0 (0) left

Using popa3d

This is what i have in my exact config file:

#popa3d
order           username,address
match           (Authentication passed for) (.*).*\[([0-9\.]*)\]$

I have tried it without the '()'s as well and without the
'(.*).*\[([0-9\.]*)\]$' options, but to no avail.

it doesn't seem to write to the /var/exact/relay file?

Here is what i see when running exact with -d -f:

0 bytes added to file
read 0 lines with a pause of 1000000 usecs
200 bytes added to file
read 3 lines with a pause of 1000000 usecs
Matching against Dec 17 10:58:09 gemini popa3d[69919]: Authentication
passed for tobie
No match
Matching against Dec 17 10:58:09 gemini popa3d[69919]: 0 messages (0
bytes) loaded
No match
Matching against Dec 17 10:58:09 gemini popa3d[69919]: 0 (0) deleted, 0
(0) left
No match

Can you guys please help me, as i have to get this up and running?

Thanking you in advance.

Kin Regards.


Wayne Swart
Network Administrator
About IT Online
TEL: +2712 661 9999
FAX: +2712 661 9996
URL: http://www.aboutit.co.za

In a world with no boundaries, Who Needs Gates?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031217105556.G2921>