2 # Monitor the postfix server on this host
4 # Check to see if postfix is running
7 return { 'up' => -1 } if (!&foreign_check($_[1]));
8 &foreign_require($_[1], "postfix-lib.pl");
9 local %pconfig = &foreign_config($_[1]);
10 return { 'up' => -1 } if (!-r $pconfig{'postfix_control_command'});
11 if (&foreign_call($_[1], "is_postfix_running")) {
19 sub parse_postfix_dialog
21 &depends_check($_[0], "postfix");