I'm using workaround - replace /usr/sbin/sa-learn script with my own,
which call spamc:

----- /usr/bin/sa-learn -----
#!/bin/bash


SPAMD_SERVER="192.168.0.100"


TYPE=''

if [ "$1" == "--ham" ]
then
    TYPE="ham"
elif [ "$1" == "--spam" ]
then
    TYPE="spam"
else
    exit 0
fi

/usr/bin/spamc -L $TYPE -d $SPAMD_SERVER -s 256000000

exit $?


** Attachment added: "replace sa-learn functionality with spamc"
   
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1257533/+attachment/3922607/+files/sa-learn.spamc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1257533

Title:
  evolution needs advanced settings of spamassassin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1257533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to