evolution needs advanced settings of spamassassin
Bug #1257533 reported by
Igor A Tarasov
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.
To post a comment you must log in.
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 $?