• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Chrooted sendmail dont work

SpAcEDeViL

Basic Pleskian
When i will use sendmail, (standard in php) they dont work under a chrooted user.

sh: /usr/sbin/sendmail: No such file or directory
Error - Could not instantiate mail function.

i use chroot_update.sh to add /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
but this dont work:

Updating chrooted environment on ****.de: chrootmng: skipping suid or sgid file "/var/www/vhosts/chroot/bin/postfix-sendmail-wrapper"

Why is chrooted so terrible in plesk?
How can i add mail in chrooted? I dont can give the user normal bash, they can see the hole system....
 
Last edited:
Hy UFHH01,

this does not help.

Same Error:
Code:
sh: /usr/sbin/sendmail: No such file or directory
Error - Could not instantiate mail function.
 
Hi SpAcEDeViL,

pls. try to describe in detail
When i will use sendmail, (standard in php)
WHAT you configured and how you tried to use "sendmail", so people willing to help you are able to reproduce your described situation and then could guide you to possible solutions, how to reach your goal.
 
Hy,

thx for replay.

What i want is simple. i eg. using phpmailer to send emails from the site to users. eg. a newsletter that is called from crontab.

eg.
Code:
*/15      *    *    *    *    siteuser cd /var/www/vhosts/site.de/httpdocs/ && /opt/plesk/php/5.6/bin/php bin/console sw:cron:run &> /dev/nul

sendmail is not the only error, i have errors when i use curl with the ssl certificates. but this is the next step(problem) frist i want only send emails.

Can plesk here not use a "fake" sendmail instance, that give the mails to the real sendmail? i read that sendmail can only run once on server.
 
Back
Top