evolution needs advanced settings of spamassassin

Bug #1257533 reported by Igor A Tarasov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
New
Undecided
Unassigned

Bug Description

Last version of Evolution use local SpamAssassin installation and database.
I have dedicated spamassassin daemon in my local network.
I want to configure Evolution to use SPAMC -d <server_addr> to learn and/or check messages.
Check is optional, because server mark messages with X-Spam-Flag headers.
But configuration of using spamc -L <spam/ham> -d <server> is very important.

Revision history for this message
Igor A Tarasov (dicr) wrote :

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 $?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.