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

Reply via email to