[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dspam-users
Subject:    Re: [dspam-users] Case sensitivity
From:       Mark Constable <markc () renta ! net>
Date:       2008-02-16 22:51:26
Message-ID: 200802170851.26451.markc () renta ! net
[Download RAW message or body]

On 17 Feb 2008 05:50, Ítalo Rossi wrote:
> In /etc/dspam/dspam.conf:
> 
> Broken case

Doh, thank you, who would ever have thought to RTFC(onfigfile)!

FWIW I use courier-mta with it's maildrop local delivery agent
and case has never been an issue before, courier delivers to
the right account regardless of case. This particular problem
arises because I import the RECIPIENT variable into the global
maildroprc file and the LHS@, at that point, is still case
significant (however the @RHS is forced to lowercase). This
is correct behaviour because the maildrop filtering rules can
test for case significance tests using "/pattern/:D".

Solution...

  import RECIPIENT
+ RECIPIENT=tolower($RECIPIENT)
  xfilter "/usr/bin/dspam --user $RECIPIENT --stdout --deliver=innocent,spam"

--markc

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic