[Mimedefang] Huge messages causing "try again later"
sysadmin at omsoft.com
sysadmin at omsoft.com
Wed Feb 25 12:09:02 EST 2004
I have not changed that part of mimedefang-filter, it still does the check. Do
you suggest that I add a similar check for all messages in filter_begin?
Lucas
On 24 Feb 2004 at 18:47, Michael Sims wrote:
> Have you customized your filter? The example that comes with the
> distribution only calls SpamAssassin if the message is 100KB or less. I
> would suggest that you verify that this hasn't been changed. Also, if you
> have any custom checks in your filter that open a file handle on INPUTMSG,
> make sure they also check to see that INPUTMSG is less than or equal to
> 100KB, like this:
>
> if (-s './INPUTMSG' <= 100*1024) {
> #Do custom check here
> }
>
> Once I had a custom check I was doing that scanned INPUTMSG and I forgot to
> limit it in this way. When a large message would come in the MD slave would
> timeout and the message would tempfail. Once I put these limit checks in
> the problem disappeared.
More information about the MIMEDefang
mailing list