Rocco,

> I get these warning..
>
> WARNING: bad headers - Improper use of control character (char 0D hex):
>  Subject: Richiesta di Invio Schede Prodotto\r \n

If this is coming from your clients, these really need to be fixed,
using a bare CR within a header is an ugly offense. Allowing such
headers may lead careless mail clients to think a header field
ends there.

> I saw the amavisd.conf:
>
> # for defanging bad headers only turn on certain minor contents
> categories:
> $defang_by_ccat{+CC_BADH.",3"} = 1;  # NUL or CR character in header
>
> Should I comment it or what I have to do to disable this check?

Removing this line prevents defanging (pushing original
mail contents into an attachment), but does not disable
a check or a warning it creates.

You probably want:
  $allowed_header_tests{'control'} = 0;

Search for '%allowed_header_tests' in RELEASE_NOTES.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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