bundles/postfix: be a bit more relaxed when checking for smtp errors
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-10 16:50:16 +02:00
parent 018bdb2f83
commit 69279ba34f
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -31,12 +31,16 @@ if node.has_bundle('postfixadmin'):
defaults['icinga2_api']['postfix']['services'].update({
'SMTP CONNECT': {
'check_command': 'check_smtp',
'max_check_attempts': '5',
'retry_interval': '3m',
'vars.notification.sms': True,
},
'SMTP SUBMISSION CONNECT': {
'check_command': 'check_smtp',
'vars.port': '587',
'max_check_attempts': '5',
'retry_interval': '3m',
'vars.notification.sms': True,
'vars.port': '587',
},
})
else: