How exactly does one "disconnect" from stdin? I mean other than by calling exit() ?Exiting is sufficient.The SMTPD_POLICY_README file should be edited in a way so as to make that clear. The current wording is quite entirely perplexing. "Disconnect" is quite obviously the wrong word to use in this context.
No, the wording is correct. Spawn(8) is only one way to create a policy service. If you decide to write your own daemon with own socket code, you will have to close the connection.