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.

Script that warns when mail script is uploaded?

Discussion in 'E-mail Discussions' started by dev_cw, Feb 27, 2006.

  1. dev_cw

    dev_cw Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    59
    Likes Received:
    1
    Trophy Points:
    8
    Hello,

    When I upload a script to my server that contains a mail function I will receive an email the next day (or in the next few days) letting me know that a mail script was uploaded and that it could be used by spammers and that I should check it out.

    Is there a way that I could call this function manually? It has been a while since I have uploaded any new scripts containing mail functions so I havent received this for a while now thus I can't remember the name of the procedure. I guess I could upload a mail script and wait until tommorow to receive the email warning, but maybe someone here knows the secret :D

    Thanks.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's a script run as part of the daily upcp run. I believe it's this one:
    /usr/local/cpanel/bin/scanfornewmail

    It's closed source, but you can run it if you want from the root shell.
     
  3. dev_cw

    dev_cw Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    59
    Likes Received:
    1
    Trophy Points:
    8
    Thanks very much.

    I did not realize that it was part of the daily upcp run, even without automatic updates enabled. I now noticed it's message:

    Code:
    Scanning for new mail senders.....Done
     
    #3 dev_cw, Feb 28, 2006
    Last edited: Feb 28, 2006
Loading...

Share This Page