On 01/05/2010 03:19 PM, cmvhk wrote:

An email sent to me containing a book review in French was recently falsely
classified as spam, largely because it failed the LOCAL_BODY_CIALIS rule:

2.0 LOCAL_BODY_CIALIS      BODY: Mentions viagra clone 'cialis'

I quote offending part of the message:

... de\s sa sortie en 1978,
comme un outil de travail de premier plan pour les spe/cialistes de
langue et d'e/pigraphie e/trusques, mais e/tait devenue avec le temps ....

e/ is a standard way of transliterating e-acute. Could the rule be rewritten
so as not to catch instances such as this? (I recall a rule which used to
object to 'Best wishes, Virginia' because of the proximity of 'best' and
'virgin', which was rewritten so as not to match if the string 'virgin' was
part of 'Virginia'.

Virginia Knight (Dr)
ILRT, University of Bristol


Any rule named LOCAL_* is usually a good sign that it's a local rule added by the local mail administrator. Check with whomever maintains your SpamAssassin installation.

Without seeing your rule to know what it's checking for, I would suggest adding a check for a word break '\b' at the start of the word so as to avoid false positive hits on specialist. For example,

body    LOCAL_BODY_CIALIS       /\bcialis/i

Reply via email to