Gnanam wrote: > > > Ted Mittelstaedt-2 wrote: >> >> Generally, no. SA skips messages that are larger than a size that you >> set in the config file. Most attachments are larger than that size. >> Obviously if you have a really small attachment then it will scan it. > > Thanks for that update. > > Assuming my use case need to do test/scan on attachments as well, thereby > I set a large size in the config file, say 5 MB for example. I also > understand that it will take few more seconds to test/scan. > > How does SA scan binary attachments like .doc, .docx, .rtf, .xls, .zip, > etc. in that case? >
As far as I know SpamAssassin looks for the mime type of the message, if it's text/xyz it will perform a scan. Be careful in pushing the message size limit! As said before, it doesn't make sense to set it to such a large value, as spammers WILL NOT send spam messages of that size (it's just to expensive in terms of hardware/traffic). To hijack the thread: Does anyone know an optimum for message size limit? Ours is set to 2MB at the moment, but we have problems when receiving large text mails (e.g. more than 1MB) as the message check will become REALLY time consuming. This leads to a curious situation where our Exchange (or maybe it's the external mail server, not sure of that) sends the message again after ~55 seconds, so the next child begins checking the mail... And there we've got a loop (until the server runs out of memory)... I set the --timeout-child of spamd to 45 secs now, what's working as a workaround for now, but there may exist a more solid solution, is that correct? Daniel -- View this message in context: http://old.nabble.com/Does-SpamAssassin-perform-tests-scans-on-attachments--tp29222058p29222479.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.