Roman has, a nice mail setup on his blog that
describes sending mails without exec IIRC
https://www.romanzolotarev.com/

another alternative is to use postifx and maildrop folders or postdrop
folder ...  I hope this helps

Tom Smyth

On Wed, 10 Jul 2019 at 00:31, Kevin Chadwick <[email protected]> wrote:

>
> >Agree this is likely the problem, unfortunately in PHP-land sometimes
> >you can't avoid it. For platforms such as Drupal (just to pick an
> >example I am familiar with) some of the modules will run shell commands
> >to do things such as send email.
> >
> >Allan
>
> The php mail() function runs /bin/sh sendmail. I used to replace /bin/sh
> in the chroot but I've moved to golang now :)
>
>
>

-- 
Kindest regards,
Tom Smyth.

Reply via email to