22 lines
907 B
Plaintext
Executable File
22 lines
907 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.
|
|
# Postfix
|
|
check process postfix with pidfile /var/spool/postfix/pid/master.pid
|
|
start = "/opt/psa/admin/sbin/pleskrc postfix restart"
|
|
stop = "/opt/psa/admin/sbin/pleskrc postfix stop"
|
|
if 5 restarts within 5 cycles then timeout
|
|
every 1 cycles
|
|
mode manual
|
|
|
|
# Postfix milter filter (pc-remote)
|
|
check host pc_remote with address 127.0.0.1
|
|
start = "/opt/psa/admin/bin/mailmng-service --start-service --mail-component=milter"
|
|
stop = "/opt/psa/admin/bin/mailmng-service --stop-service --mail-component=milter"
|
|
if failed port 12768 type tcp with timeout 60 seconds then restart
|
|
if 5 restarts within 5 cycles then timeout
|
|
every 1 cycles
|
|
mode manual
|