Recently programs stopped sending mail under https:// using the server-wide (shared) SSL domain, while they could still be used under the domain proper without SSL.
We narrowed it down to the use of sendmail. For those scripts which supported it, changing to use SMTP got them working again. The error using sendmail was:
sendmail: sendmail cannot be called directly from a shell with the current user id
Changing the setting: Prevent “nobody” from sending mail made no difference on or off.
It was “Track email origin via X-Source email headers” which we had recently turned on which caused our issue. Turning it off again got the remaining scripts working again.
It's not obvious this setting would have that kind of effect. Is it a bug? If not, perhaps having a warning about this potentially unwanted side effect in the WHM beside this setting would be helpful.
We narrowed it down to the use of sendmail. For those scripts which supported it, changing to use SMTP got them working again. The error using sendmail was:
sendmail: sendmail cannot be called directly from a shell with the current user id
Changing the setting: Prevent “nobody” from sending mail made no difference on or off.
It was “Track email origin via X-Source email headers” which we had recently turned on which caused our issue. Turning it off again got the remaining scripts working again.
It's not obvious this setting would have that kind of effect. Is it a bug? If not, perhaps having a warning about this potentially unwanted side effect in the WHM beside this setting would be helpful.