From: Josef 'Jupp' SCHUGT Date: 2003-10-06T05:47:42+09:00 Subject: Questions on Regexp matching 'X-Spam-Status' (Was: Stop Immigration) Hi! I would like to give the 'X-Spam-Status' header field an interpretation of my own (using Ruby, what else?). This results into two questions: 1. What does RCVD_IN_OSIRUSOFT_COM mean? Generalization: Is there a list of the tests that are applied and what they mean? I don't like the idea of skimming the SpamAssassin source :-| 2. Supposing that multi-line header fields have already been joined: Is /.*hits=(\S*).*tests=(\S*)/.match($stdin.grep(/^X-Spam-Status/).join.chomp) a *relyable* way to assign the value for hits to $1 and the list of all tests to $2? I don't think it is very elegant to make use of that auto-assignment - the reason for the above version is keeping the line shorter than 80 characters :-> Please take notice of signature! / Bitte Signature beachten! Josef 'Jupp' Schugt -- || || Wenn sie ohne mir ohne meine Einwilligung geschickt || || || || wurde, wird eine E-Mail > 100 KB ungelesen entsorgt || || `' `' If you send me an e-mail > 100 kB without `' `' () () my consent it will be silently discarded () ()