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: Too many attachments in message

Discussion in 'E-mail Discussions' started by Xdred, Aug 30, 2006.

  1. Xdred

    Xdred Member

    Joined:
    Jun 9, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I am using Chirpy's MailScanner package on Cenos4.3. WHM 10.8.0 cPanel 10.8.2-R119MailScanner is not honoring the maximun attachment directive. In mailscanner.conf

    Maximum Attachments Per Message = 50

    In Mailwatch the message is blocked with "MailScanner: Too many attachments in message"

    I have looked at other options in mailscanner.conf that could be causing this issue without any luck. I have corportate customers that are cancelling because of this.

    Please help
     
  2. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    323
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    If I am understanding correctly, the email has over 50 attachments and Mailscanner is blocking it? If so, then Mailscanner is doing the job correctly. The customer would have to be advised of this limit and size the messages accordingly.
    The other option would be to set the number high enough that their message is not over your limit. I know mine is set at 200 and I have not changed it.

    Ron
     
  3. Xdred

    Xdred Member

    Joined:
    Jun 9, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ron:

    I have it set at 50 but it blocks even 15 attachments. Clearly it is not honoring the 50 which is declared. I have been looking at other settings in mailscanner.conf that could affect the number of attachments such as size and such but can't nail anything down.

    Thanks
     
  4. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    All our mailscanner.conf has 200 for max attachments. I think it's the default value.
    Remeber to restart mailscanner after changing configurations (run service MailScanner reload), also check maillog if mailscanner restarted, sometimes doesn't go down so changes doens't take effect.
    Hope that helps....
     
  5. Xdred

    Xdred Member

    Joined:
    Jun 9, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Ron:
    What OS are you using. We are using CentOS4.4. When you do a search in Mailwatch reports using "contained other infection" =1 are you seeing messages blocked with Too many attachments?

    Thanks
     
  6. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    We have Centos4 also, and never saw a message blocked for that reason.
     
  7. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    323
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    Hi Xdred,

    I have not had any messages blocked this way, but noted the settings that I had in Mailscanner. We are on Fedora 2 and so far quite pleased with WHM and Mailscanner. Just a thought, you could change the value and restart Mailscanner to see if maybe the displayed value didn't get updated.
    The other option would be to check with Chirpy as he knows a LOT more that I do!

    Hope this helps,
    Ron
     
  8. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Is it blocking because of the number or the type of attachments, i.e., .exe files, .pif files or something else?

    A quick solution - just password protect the file and send the password in the email. The default installation allows password encrypted files to be sent. (Side note - I use this with Gmail all the time too!)
     
Loading...

Share This Page