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 reject attachment

Discussion in 'E-mail Discussions' started by allenhui, Apr 16, 2004.

Thread Status:
Not open for further replies.
  1. allenhui

    allenhui Well-Known Member

    Joined:
    Aug 17, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    One or more of the attachments (mrb.pdf) are on
    the list of unacceptable attachments for this site and will not have
    been delivered.

    Consider renaming the files or putting them into a "zip" file to avoid
    this constraint.


    How to i edit the mailscanner for the acceptable attachments list?
     
  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
    /usr/mailscanner/etc/filename.rules.conf

    However, be default, PDF files are not blocked which would suggest that you added it at some time ;)
     
  3. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    I have similar problem with .zip files.
    My filename.rules.conf has:

    # .url is arguably dangerous, but I can't just ban it...
    allow \.url$ - -
    allow \.vcf$ - -
    allow \.txt$ - -
    allow \.zip$ - -


    What's wrong with that?

    Thanks
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What problems do you have with zip files?

    Do you still use /etc/antivirus.exim and if so, have you checked that it's not that causing you problems?
     
  5. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    I cannot receive any zip files. The Mailscanner blocks all of them.
    The server has default cPanel installation.
    I haven't modify anything apart the fact that I installed Mailscanner.

    Thanks
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    So, your /etc/antivirus.exim file is empty is it?
     
  7. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16

    ops....it wasn't. :rolleyes:
    I edit that file and comment everything.
    Now is working great.

    Is that the proper way? Just to empty that file?

    Thanks a lot
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, you could just remove the file type that you're having problems with it with (i.e. .zip files), but since I use MailScanner which does such scanning anyway, I just empty that file out. There are other ways, but that's just as effective as any.
     
  9. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    Thanks a lot Jonathan.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page