When using this Plugin to Monitor Plesk Mailserver it throws this Error:
plesk-sendmail[3207]: S3207: Unable to prepare arguments for mail handlers.
The cause of the problem is the absence of a new line between the email header and the content in the mails
Previously, OS Sendmail was used instead of Plesk Sendmail when that happened.
Therefore, functions such as DKIM did not work.
No error message about the problem was printed in the maillog.
In version 18.0.38 of Plesk, such a phenomenon is now recognized as an error.
Therefore, before the OS sendmail is executed, Plesk will output an error message and stop sending mail.
To fix the problem
I can suggest that you enter a new line between the email header and the content in your website code.
When using this Plugin to Monitor Plesk Mailserver it throws this Error:
plesk-sendmail[3207]: S3207: Unable to prepare arguments for mail handlers.
The cause of the problem is the absence of a new line between the email header and the content in the mails
Previously, OS Sendmail was used instead of Plesk Sendmail when that happened. Therefore, functions such as DKIM did not work. No error message about the problem was printed in the maillog.
In version 18.0.38 of Plesk, such a phenomenon is now recognized as an error. Therefore, before the OS sendmail is executed, Plesk will output an error message and stop sending mail.
To fix the problem I can suggest that you enter a new line between the email header and the content in your website code.
Example (send_mail_ver2):