Andrea,

> How can I test BAD_HEADER?

Perhaps ... by sending a message with a bad header.


The sub check_header_validity implements the following checks:

- bad mime header section or bad mime structure
- invalid 8-bit characters in header section
- invalid control characters in header section
- folded header field made up entirely of whitespace
- header line longer than rfc2822 limit of 998 characters
- header field syntax error
- missing required header field
- duplicate header field

In addition, syntax errors in MIME structure as reported
by MIME::Parser are included in this category.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/

Reply via email to