The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mandrill Installed Mail Not Working properly

Discussion in 'E-mail Discussions' started by mbekezm, Dec 2, 2014.

  1. mbekezm

    mbekezm Member

    Joined:
    Dec 22, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Port 80
    cPanel Access Level:
    Root Administrator
    Holah

    This morning i had a problem, i integrated Mandrill with my cPanel/WHM to be the default mail sender ..

    The problem now is a website was hacked through an old wordpress theme and sent about 15000 spam emails and CSF never sent an alert to say that a domain just sent more that 100 emails/hour as it is set to do ..

    Before i integrated Mandrill it used to work ok but now nothing ..

    Is they anything i can do to fix this without removing Mandrill ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    For PHP scripts, you could add "mail" to the disable_functions line in your PHP configuration file so that SMTP authentication is utilized instead. The following document may also be helpful:

    How To Prevent Email Abuse

    Thank you.
     
  3. mbekezm

    mbekezm Member

    Joined:
    Dec 22, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Port 80
    cPanel Access Level:
    Root Administrator
    Hello

    I read about adding "mail" to the disable_functions line .. What i read from another forum post is that if i add that line no mail will be sent from the server .

    What i am looking for is a way to prevent wordpress scripts/themes from sending unsolicited mail .

    Or maybe, if all the wordpress sites are forced to add an smtp plugin, would that work if i disable mail through the disable_functions line and can it still keep regular email accounts sending mail normally ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, mail is still sent out from scripts after disabling the PHP "mail" function if you force them to use SMTP authentication for sending.

    Thank you.
     
Loading...

Share This Page