11 lines
559 B
Plaintext
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>
|