Initial commit
This commit is contained in:
commit
529efd53a1
140 changed files with 10310 additions and 0 deletions
7
tools/system2petar/spamilter-db-import.sh
Executable file
7
tools/system2petar/spamilter-db-import.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
cat /var/db/spamilter/db.sndr | tr "|" ";" | tr -d "[:blank:]" | awk 'BEGIN {FS = ";"}
|
||||
|
||||
{print "INSERT INTO SPAMILTER (type,field1,field2,field3) VALUES (\"SND\",\""substr($1,2)"\",\""$2"\",\""$3"\");" }'
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue