#!/bin/sh set -e . /usr/local/etc/dovecot/rspamd.conf.sh exec /usr/local/bin/rspamc \ --connect="$RSPAMD_HOST" \ --password="$RSPAMD_PASSWORD" \ --key="$RSPAMD_KEY" \ learn_spam