Hi everybody,

I got this lines in a mail header which qmail-scanner is claiming to be illegal.

--- snip ---
X-Antivirus(mx01.magnet.ch): No virus found
X-Spam-Score(mx01.magnet.ch): 1.2, Required: 6
X-Spam-Tests(mx01.magnet.ch):
--- snap ---

I saw that qmail-scanner-queue.pl checks for parantheses in field names. No wonder it 
claims the field-names above to have an illegal comment ;-)

BUT: 

Is it really illegal to use parantheses in fieldnames ?

rfc 822 says:

---
field       =  field-name ":" [ field-body ] CRLF

field-name  =  1*<any CHAR, excluding CTLs, SPACE, and ":">
---

CTL is defined as 
---
                                              (  Octal, Decimal.)    
CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
                character and DEL>          ; (    177,     127.) 
---

Char ( has ASCII decimal value 40.
Char ) has ASCII decimal value 41.

So it seems to me, that a field-name like the ones above, claimed to be illegal by 
qmail-scanner, are in fact in the range of allowed chars that can be used in a 
field-name and therfore not illegal.

Any suggestions ?

Thanks 

Chris





-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to