How to disable PHP mail() function for a spamming domain on Plesk for Linux server?




  • Avatar
    Arvind Kumar Madhukar

    Thanks for the great article but it is not working in my case,

    Hi Marc Vidal

    I have already disabled the function Mail () from the PHP setting of a wide server, still, I can see that the user is able to send mail from the server to outside.


    the typical things is here i have also disabled the mail service from the panel for this domain as well there is no mail id still user able to send mail from Plesk default user.


    Please suggest on this, which is helpful

    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hello Arvind,

    Steps described in this article allows fully block mail. If users still can send that it is probably not fully applies or something else. Nevertheless to check the issue it is required to create ticket as it is not something that can be simple advised in comments:

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request