Initial commit

This commit is contained in:
Charlie Root 2025-03-01 00:58:18 +01:00
commit 529efd53a1
140 changed files with 10310 additions and 0 deletions

View 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"\");" }'