aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/libexec/dovecot/sieve-pipe/report-spam.sh.imap_server
blob: 825113fa9a7191133e5e084f6380d52fd298d9ba (plain) (blame)
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