Files
server/opt/psa/var/modules/watchdog/etc/service.tpl.d/spamassassin
cutemeli 0bfc6c8425 Initial
2025-12-22 10:32:59 +00:00

11 lines
559 B
Plaintext

### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
# SpamAssassin
check process psa_spamassassin
with pidfile "/run/spamd.pid"
start = "<psa_spamassassin_start>"
stop = "<psa_spamassassin_stop>"
if failed host localhost port 783 <spamassassin_protocol_check> with timeout <psa_spamassassin_connection_timeout> seconds then restart
if <psa_spamassassin_timeout_restarts> restarts within <psa_spamassassin_timeout_cycles> cycles then timeout
every <psa_spamassassin_cycles> cycles
mode <psa_spamassassin_mode>