Pau1Phi11ips
New Pleskian
Username:
TITLE
Removal of -bs option from plesk-sendmail-wrapper
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.44_build1800220520.19, CentOS Linux 7.9.2009
PROBLEM DESCRIPTION
As of Plesk Obsidian 18.0.44 (24 may 2022), and more specifically PPPM-13497 the -bs options appears to be disallowed from the postfix-sendmail-wrapper. I take it this is the "fix" for being able to bypass email sending restrictions? Since this update we encounter the following issues on CentOS 7.
The following is being logged in the kernel diagnostic messages:
The /var/log/maillog shows:
We use Symfony mailer as PHP library for sending emails using the SendmailTransport with -bs mode, as this is the recommended mode according to Symfony: Sending Emails with Mailer (Symfony Docs). They explicitly state that the -t option is advised against, but now it seems we're left with only that option.
Side note: we have outgoing mail control disabled globally on our systems as we do not require it.
Am I correct in reasoning the -bs option cannot be used at all anymore? Because if this is the case, I'm pretty sure many more people using Symfony and the Sendmail transport in the "correct" way (according to Symfony that is) will trip over this.
STEPS TO REPRODUCE
Using
ACTUAL RESULT
EXPECTED RESULT
An email gets sent
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Removal of -bs option from plesk-sendmail-wrapper
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.44_build1800220520.19, CentOS Linux 7.9.2009
PROBLEM DESCRIPTION
As of Plesk Obsidian 18.0.44 (24 may 2022), and more specifically PPPM-13497 the -bs options appears to be disallowed from the postfix-sendmail-wrapper. I take it this is the "fix" for being able to bypass email sending restrictions? Since this update we encounter the following issues on CentOS 7.
The following is being logged in the kernel diagnostic messages:
[2430693.142798] sendmail[20013]: segfault at a ip 000000000040d8c3 sp 00007ffe62a1b300 error 4 in postfix-sendmail-wrapper[400000+18000]
The /var/log/maillog shows:
plesk-sendmail[6588]: S6588: Stand-alone SMTP server mode is prohibited
We use Symfony mailer as PHP library for sending emails using the SendmailTransport with -bs mode, as this is the recommended mode according to Symfony: Sending Emails with Mailer (Symfony Docs). They explicitly state that the -t option is advised against, but now it seems we're left with only that option.
Side note: we have outgoing mail control disabled globally on our systems as we do not require it.
Am I correct in reasoning the -bs option cannot be used at all anymore? Because if this is the case, I'm pretty sure many more people using Symfony and the Sendmail transport in the "correct" way (according to Symfony that is) will trip over this.
STEPS TO REPRODUCE
Using
PHP:
$transport = new Swift_SendmailTransport( '/usr/sbin/sendmail -bs' );
ACTUAL RESULT
Code:
Swift_TransportException: Expected response code 220 but got code "", with message ""
EXPECTED RESULT
An email gets sent
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug