I'm currently testing in lab a redundant/laod balancing setup where Keepalived health checks verifies that Postfix is running on 2 servers.
While Keepalived is working well, great convergence time and so on, it doesn't go very far in the SMTP dialog, it does an HELO, check that it receives a reply and that's it.
Given the complexity of Postfix, it might crash at various steps of the protocol dialog. Would it be possible to tell Postfix to crash asap, possibly before the HELO in the dialog. Of course, I'm sure we won't cover every scenario doing that but in some cases, Postfix might be able to tell imediately: I won't be able to handle your mail, go away.
For instance, if it has any ressources issues (partition full, unable to fork, whatever).
Does anybody have an idea about how to configure Postfix to act that way?
Thanks and regards,