Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mailscanner gives me a warning

Discussion in 'cPanel Developers' started by Dipdngold, Sep 17, 2004.

  1. Dipdngold

    Dipdngold Registered

    Joined:
    Apr 26, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    i use mailscanner/exim/clamav. what file do i have to edit so that when someone sends me an email with scripts in them their email doesn't get sent back to them with a warning?
    Code:
    <SCRIPT>
    var doc = document
    var form = document.form
    var form1 = document.form1
    var form2 = document.form2
    var errno = 0
    
    arg=window.location.search;//AK
    if (!refreshing) {
      if (arg.length > 6 && arg.substring(0, 7) == 'bgcolor')
        color(arg.substring(8, arg.length))
      f = eval('parent.' + self.name + 'Init')
      if (f)
        f()
    }
    </SCRIPT>
    
    i've also noticed that i am no longer able to receive mail from my yahoo groups.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    You need to edit /usr/mailscanner/etc/MailScanner.conf . That file is well documented and worth being acquainted with as MS has a large number of config options.
     
  3. Dipdngold

    Dipdngold Registered

    Joined:
    Apr 26, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    what exactly am i looking for in this file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. irishblacknight

    irishblacknight Registered

    Joined:
    Sep 20, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Look for the line:
    Allow Script Tags = no

    You should read through the entire file though, as there are a lot of options in there
     
  5. Dipdngold

    Dipdngold Registered

    Joined:
    Apr 26, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    I wasn't able to fine that line. The closest that I was able to fine was
    Code:
    Allow Object Codebase Tags = no
    
    Mailscanner says allowing those type of attachments could take advantage of any Microsoft vulnerabilities.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice