MailScanner: Too many attachments in message

Xdred

Member
Jun 9, 2005
9
0
151
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
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
323
3
168
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
 

Xdred

Member
Jun 9, 2005
9
0
151
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
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
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....
 

Xdred

Member
Jun 9, 2005
9
0
151
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
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
323
3
168
NE Illinois
cPanel Access Level
Root Administrator
Xdred said:
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
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
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
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!)