Re: [AMaViS-user] Too big a message times out, multiplies on disk

This is a discussion on Re: [AMaViS-user] Too big a message times out, multiplies on disk within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; You need to adjust your timeouts so that your clamav timeout is sooner than the amavis timeout, etc. I believe ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-02-2008
Jo Rhett
 
Posts: n/a
Default Re: [AMaViS-user] Too big a message times out, multiplies on disk

You need to adjust your timeouts so that your clamav timeout is
sooner than the amavis timeout, etc.

I believe there is also a max-file-size option in clamav which would
help you.

On Apr 2, 2008, at 4:33 AM, Hanne Moa wrote:
> We've been plagued by a very large (1.7 GB) bounce lately and wondered
> if newer amavisd-news are smarter about this:
>
> Basically what happens is: postfix hands mail over to amavis who hands
> it over to clamav. Clamav spends so much time attempting to scan the
> file that postfix times out, gives up and puts the offending mail in
> deferred. The copy of the mail hangs around in various tmp-directories
> instead of being deleted. Then postfix tries again. Clamav takes too
> much time, postfix times out, gives up, and now there are *two* copies
> of the mail in various tmp-directories. Repeat until disk full. Then
> the flow of mail stops and the flow of phonecalls begin.
>
> The workaround is to shut down amavis, clamav, postfix, delete
> (postsuper -d) the offending mail, hunt down and delete the copies in
> the various tmp-directories, turning everything back on and cross
> fingers. An elegant fix would be for postfix to say "no way will I be
> able to deliver this" and shunt it into the hold-queue for the
> postmaster to deal with. What amavis and friends need to do is
> discover somehow when this happens, and break the loop (and clean up
> the messages that postfix gives up on).
>
> I'll eventually be upgrading anyway but a solution for the above
> problem might speed up things.
>
>
> HM
>
> ----------------------------------------------------------------------
> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216...http://sf.net/
> marketplace
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...fo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/


--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0