15 lines
628 B
Plaintext
Executable File
15 lines
628 B
Plaintext
Executable File
#ATTENTION!
|
|
#
|
|
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
|
|
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
|
|
### Copyright 1999-2026. WebPros International GmbH. All rights reserved.
|
|
# SpamAssassin
|
|
check process psa_spamassassin
|
|
with pidfile "/run/spamd.pid"
|
|
start = "/opt/psa/admin/bin/spammng --start"
|
|
stop = "/opt/psa/admin/bin/spammng --stop"
|
|
if failed host localhost port 783 send "PING SPAMC/1.2\r\n\r\n" expect "SPAMD/[0-9]+(\.[0-9]+)* 0 PONG" with timeout 180 seconds then restart
|
|
if 5 restarts within 5 cycles then timeout
|
|
every 1 cycles
|
|
mode manual
|