Page 1 of 1

PHP mail function lock for specified user

Posted: Sat Sep 23, 2017 11:37 am
by xTermy
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 -

Re: PHP mail function lock for specified user

Posted: Fri Sep 29, 2017 1:38 pm
by DarthVader
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)