I think I'm gonna try running it as well. So far it's worked pretty well and I 
really like the syslog output on trap entries it adds. Since the script only 
needs higher privileges for spamdb, I'm going to try and run it like this:

rc.local
## BBeck's greytrapper
if [ -x /usr/local/sbin/greyscanner ]; then
        echo -n 'bbecks greytrapper';   /usr/local/bin/setuidgid _spamd 
/usr/local/sbin/greyscanner
fi

The process looks likes so:
_spamd   25923  0.0  0.3  5492  2264 p0  I      9:35AM    0:00.01 /usr/bin/perl 
/usr/local/sbin/greyscanner

Thanks go out to beck@, the continued development of spamd keeps my inbox spam 
free ;) I had to drop spews level 1 due to false positives so this greytrapper 
may take the edge off, THANKS !!!!!

Mike Erdely([EMAIL PROTECTED])@Sun, Nov 26, 2006 at 12:17:04PM -0500:
> Jacob Yocom-Piatt wrote:
> >http://www.ualberta.ca/~beck/greyscanner
> >
> >is this to be run with a cron job? any feedback on its use?
> 
> It daemonizes and runs as a process parsing spamdb output every 
> $SCAN_INTERVAL (defaults to 300 seconds).
> 
> >cheers,
> >jake
> 
> -ME
> 

-- 
~Allie D.

Miss, n.:
        A title with which we brand unmarried women to indicate that
        they are in the market.
                -- Ambrose Bierce, "The Devil's Dictionary"

Reply via email to