Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2015 07:18:53 +0700
From:      Olivier Nicole <>
To:        "Lt. Commander" <>
Cc:        "" <>,  "" <>
Subject:   Re: Script question
Message-ID:  <>
In-Reply-To: <BAY182-W89C2924F4BDF0D2BD3810DF4BB0@phx.gbl>
References:  <BAY182-W89C2924F4BDF0D2BD3810DF4BB0@phx.gbl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> I would like to be able to scan the daily maillog with a script at midnig=
ht to extract a list by selecting spam recognized and contained using the c=
onstant "score=3D(greater than x) and from that a list of just the IPs whic=
h will be placed in a spam file as part of a spam system here. Am tired of =
some getting past spamass even though it exceeds a reasonable tag level.
> I do know how to extract just the IP from a line in the log, but not sure=
 what the syntax should be to first ID the "score=3D<x" in a simple sh shel=
l script.

What would be the typical lines from the log?

I;d use Perl rather than sh.


> I hope this has been presented clear enough to gather some help on this t=
> Thanks,
> Jason
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=

Want to link to this message? Use this URL: <>