WTF are you doing accepting email's at 200 MB?  There are far more
appropriate methods of file transfer than SMTP!

If you want to send a large file between two people who are likely to
never send each other a file again, SMTP is a quick and easy way to
do it.

You still have to draw the line somewhere. If you get ClamAV working, and keep accepting larger and larger files, something will break. Eventually the limiting factor will be disk size... if you're lucky, at the email client. If you're unlucky, at an MTA.

That's why I reject at 50MB (sendmail.mc excerpt follows:)
dnl Reject messages bigger than 50 MB
dnl size is specified in bytes
dnl 50 MB * 1024 KB/MB * 1024 B/KB = 52428800 B
define(`confMAX_MESSAGE_SIZE', `52428800')dnl

Where exactly the line is drawn is of little importance, but it's better to have a known limit with known consequences (REJECT) than an unknown limit with unknown consequences (server crash)

Slightly OT, but I love how Sendmail "punishes" the user by waiting until their entire message is transmitted before rejecting it. Yeah, yeah, I know it's because it can't determine the true size until it's received the entire message, but that just warms by BOFH soul.
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to