On 1/27/06, Bill King <[EMAIL PROTECTED]> wrote:
> I am running ClamAV on a Solaris host, with MIMEDefang.  Versions and log
> examples are posted below.  I am trying to modify the file attachment size
> limit for clamd which defaults to 10Mb.  I have modified the
> "StreamMaxLength" in clamd.conf with no love.  This setting seems to apply
> only if clamav-milter is configured, which I do not have running because
> I'm already using MIMEDefang.
>
> Jan 26 12:05:31  MTA_Daemon[4795]:  Milter (mimedefang): timeout before
> data read

This sounds like a milter timeout rather than clamd. Check your milter
configuration in sendmail.mc, if it says something like S:1m;R:1m it's
too low for scanning large messages. Try something like:

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m;E:10m')

You might need even higher timeouts depending on your server load and
the type/size of messages you want to allow.

You also need to start the mimdefang-multiplexor with "-b 280" or
similar - a number of seconds a little lower than the sendmail timeout
you have configured, otherwise you'll get "Filter timed out" messages
from MIMEdefang instead.

--
des -- http://frommars.org/
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to