first
This commit is contained in:
commit
5aa7d034f7
3292 changed files with 465160 additions and 0 deletions
9
data/Dockerfiles/postfix/rspamd-pipe-ham
Executable file
9
data/Dockerfiles/postfix/rspamd-pipe-ham
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
FILE=/tmp/mail$$
|
||||
cat > $FILE
|
||||
trap "/bin/rm -f $FILE" 0 1 2 3 13 15
|
||||
|
||||
cat ${FILE} | /usr/bin/curl -s --data-binary @- --unix-socket /var/lib/rspamd/rspamd.sock http://rspamd/learnham
|
||||
cat ${FILE} | /usr/bin/curl -H "Flag: 13" -s --data-binary @- --unix-socket /var/lib/rspamd/rspamd.sock http://rspamd/fuzzyadd
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue