Hi Gary, thank you for your email and help! Gary V wrote: > You say you are using amavisd-new and maia, but these two programs are > mutually exclusive. You run one or the other, not both. I will asume > you are running Maia.
you are correct with this. sorry, i run Maia and its version of the amavisd-new. i understand that Maia patch standard amavisd-new. i have: amavisd-new-2.2.1 and Maia Mailguard 1.0.1 > I would start with looking in your log for > errors reported by amavis. The path to your mail log may need to be > changed: > > egrep > "(TROUBLE|Can't|TIMED|timed|ERROR|Error|abort|error|fatal|PRESERVING|FAILED)" > /var/log/maillog | grep amavis it gives a lot of output. but if i filter out 'SA TIMED OUT' mostly it is like: TROUBLE in check_mail: mime_decode-1 FAILED: run_command (open pipe): Can't fork at /usr/lib/perl/5.8/IO/File.pm line 70, <GEN[Y]> line [X]. at /usr/sbin/amavisd-new line 1656, <GEN[Y]> line [X]. where [X] may be: many different numbers, like: 76, 104, 116, 1857, ... and [Y] may be: 20, 77, 83, 87, 115, .. and many other. /usr/lib/perl/5.8/IO/File.pm line 70 is open() a file and /usr/sbin/amavisd-new line 1656 is chomp that must die. at 1655 is a fork to catch the errors. perhaps it cannot fork as it has no memory left? and than the logs say most often: PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-... when i looked at this folder there are some emails but all of them are not large, not more than 200k > It could be that you you are allowing one or more very large messages > to pass through Maia. Look through your mail log at the size of the > messages passed to Maia just before it crashes. If I recall, unlike > amavisd-new, Maia unpacks messages in memory which could account for > it crashing on a large message. > > http://maiamailguard.com/maia/wiki/SizeLimit this doc writes about size limits: A - postfix upstream mail server's size limit, in my case: 15M B - MySQL's size limit (i.e. max_allowed_packet), in my case: 16M C - Maia's size limit, in my case: 200k D - SpamAssassin's size limit, in my case: 200k so it is almost as they say: A >= B > C >= D well in my case B > A but i think it should not matter. and the limits are low... especially Maia & SA limits. i still have no clue what to do and why amavisd-new does not process emails... regards, Wojtek ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
