Johann Beretta wrote:
> BP> it reminds me there is no webadmin still for policyd :(
>
> Why not just use phpMyAdmin?
>
>
* I don't mean to start a vi vs emacs like argument *
I was interested in command line tools for manipulating the database so that I
do not need
to leave the terminal. I feel more comfortable on the commandline so I like to
do most of
my work in that environment. After searching for naughty mailers with something
like
cat /var/log/mail.log|grep "Helo command rejected"|cut -f 6 -d : |sort |uniq -c
|sort -g
It tould be nice to just add them to the blacklist automagically:
grep "Helo command rejected" mail.log |cut -f 6 -d : |sort |uniq -c |sort -g
|tail -2| \
cut -f 2 -d \[ |cut -f 1 -d \] |xargs someone_elses_handiwork_policyd
--blacklist
But maybe you like pma, so that is where you should do your work...
--
Douglas F. Calvert -/- [EMAIL PROTECTED]
0xC9541FB2 / 0817 30D4 82B6 BB8D 5E66 06F6 B796 073D C954 1FB2
Do not email => [EMAIL PROTECTED] <= It would be a bad idea(tm).
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
policyd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users