On Monday November 13 2006 22:17, Daniel J McDonald wrote: > And in another message, Mark Martinex wrote: > > Here is a setting just for you (not really just for you:), > > available with 2.4.4-rc1 (just announced): > > > > # BADH tests: other mime 8bit control empty long syntax missing > > multiple > > > > # disable check for (invalid) non-encoded 8-bit chars in header: > > $allowed_header_tests{'8bit'} = 0; > > So, it looks like the available tests are "other", "mime", "8bit", > "control", "empty", "long", "syntax", "missing", and "multiple". > > But it would be nice to have definitions for those...
RELEASE_NOTES: - new configuration variable %allowed_header_tests, also member of policy banks, allows for selectively disabling some of the header checks, e.g. checks for non-encoded 8-bit characters. The %allowed_header_tests hash contains all available header tests as its keys by default (with a value of true); removing a key or setting its value to false disables a test, e.g.: $allowed_header_tests{'8bit'} = 0; $allowed_header_tests{'missing'} = 0; Currently available keys (i.e. test) are: other mime 8bit control empty long syntax missing multiple each corresponding to its own minor contents category of CC_BADH; Minor categories for badh are listed (among others) in a notification template: # ccat_min 0: other, 1: bad MIME, 2: 8-bit char, 3: NUL/CR, # 4: empty, 5: long, 6: syntax, 7: missing, 8: multiple [? %#X ||[? [:ccat_min] |INVALID HEADER |INVALID HEADER: BAD MIME HEADERS OR BAD MIME STRUCTURE |INVALID HEADER: INVALID 8-BIT CHARACTERS IN HEADER |INVALID HEADER: INVALID CONTROL CHARACTERS IN HEADER |INVALID HEADER: FOLDED HEADER FIELD MADE UP ENTIRELY OF WHITESPACE |INVALID HEADER: HEADER LINE LONGER THAN RFC2822 LIMIT OF 998 CHARACTERS |INVALID HEADER: HEADER FIELD SYNTAX ERROR |INVALID HEADER: MISSING REQUIRED HEADER FIELD |INVALID HEADER: DUPLICATE HEADER FIELD The 'other' is just a catchall, does not imply anything at the moment. Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/