Vernon, > A while back, i set the $sa_mail_body_size_limit to undef to combat > emails with large jpeg and pdf attachments, well not large but larger > that the 200*1024 limit. These messages were detected under this > setting. When attempting to unlearn (sa-learn -D --ham (or --forget) > {message}), it returns: > [16026] info: archive-iterator: skipping large message > Forgot tokens from 0 message(s) (0 message(s) examined)
I believe the sa-learn only applies the size test if a file name containing a message is passed as argument. If a message is fed on stdin, the test does not apply. Considering the relative infrequent use of sa-learn compared to regular mail checks, it should not be too problematic to feed any size mail to sa-learn. > I've been using Amavis (then amavisd-new) and spamassassin long enough > to realize that i need to re-educate myself of the proper techniques, > hence the original question. Been doing ALOT of reading - many > different opinions and trying to get the most optimal configurations to > handle anywhere from 15k to 60k messages per day - small but still > important. > > Does anyone have suggestions on the optimal message size limit or will > the default 200*1024 suffice. I use the setting: $sa_mail_body_size_limit = 420*1024; which is just below the size used by MS mailers when they chop a large message into several partial messages (which sometimes gives SA a hard time), and is as large as still practical. Note that since amavisd-new 2.6.3 with SpamAssassin 3.3.* message larger than the limit are still passed to SpamAssassin, but truncated. This gives us much better protection against large-message spam than before. Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org