PHP mail function lock for specified user

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
xTermy
Posts: 1
Joined: Sat Sep 23, 2017 11:29 am

PHP mail function lock for specified user

Postby xTermy » Sat Sep 23, 2017 11:37 am

Hello,
I've got a problem with my friend account, so he got a malware and he doesn't want to remove it, and how can i lock him access to mail php function and exim? Thanks for help.
Please help me fast because my ip is getting on spam lists ;-;

- Z poważaniem -

DarthVader
Posts: 8
Joined: Wed Jul 13, 2016 1:35 pm

Re: PHP mail function lock for specified user

Postby DarthVader » Fri Sep 29, 2017 1:38 pm

Cześć!

Yes you can do this on php.ini.
Find disable_functions and add mail function on list.

If you use mod_fcgid - you could define php.ini per domain / user (after several tips)


Return to “Web Server”



Who is online

Users browsing this forum: Bing [Bot] and 8 guests