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.

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:
    1
    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.
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    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:
    1
    what exactly am i looking for in this file?
     
  4. irishblacknight

    irishblacknight Registered

    Joined:
    Sep 20, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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.
     

Share This Page