Re: [AMaViS-user] any reason

This is a discussion on Re: [AMaViS-user] any reason within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; boricua, > any reason for not discarding bad header. > today is 95% of the spam i get > > ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-18-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] any reason

boricua,

> any reason for not discarding bad header.
> today is 95% of the spam i get
>
> X-Amavis-Alert: BAD HEADER Improper folded header field made up entirely of
> whitespace in message header 'X-Spam-Report': \t


Sure, in most cases mail with such headers can be discarded.

> any good reason why this is not a default?


Because such header is actually valid in rfc822. The rfc2822 prohibits
it, but recognizes that old clients (or broken mail clients) may still use it:

4.2. Obsolete folding white space
In the obsolete syntax, any amount of folding white space MAY be
inserted where the obs-FWS rule is allowed. This creates the
possibility of having two consecutive "folds" in a line, and
therefore the possibility that a line which makes up a folded header
field could be composed entirely of white space.


Note that newer versions of amavisd-new remove such lines to protect
poorly written mail clients from misinterpreting mail header:

amavisd-new-2.3.1 release notes

- unfold obsolete-syntax folded header fields composed entirely of
white space (RFC 2822 section 4.2); suggested by Ian Abbott and others.
Note that such unfolding breaks DomainKeys "simple" canonicalization
algorithm (but is transparent to "nofws") if the affected header is
included in the signature;

Mark


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0