1 2 3 4 5 6 7
#!/bin/sh exec /usr/local/bin/rspamc \\ --connect="${rspamd_host}.${domain}" \\ --password="${rspamd_rw_password}" \\ --key="${rspamd_pubkey}" \\ learn_spam