Re: ANTISPAM via Dovecot and Spamassassin
No clue yet, sorry. I suggest ask support in Dovecot mailing list instead.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.You are not logged in. Please login or register.
iRedMail → iRedMail Support → ANTISPAM via Dovecot and Spamassassin
No clue yet, sorry. I suggest ask support in Dovecot mailing list instead.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.Ok I sent an email on the dovecot mailing-list, thanks for your help
Any luck with this issue? I'm having the same problem, looking for advice.
Well, yesterday i've made upgrade my debian to version 8.2 and after that dovecot antispam stop working ;-)/can't move any mails to Junk folder, only from Trash it was working/.
I've changed antispam_pipe_program = /usr/bin/sa-learn
to
antispam_pipe_program = /usr/bin/sa-learn-pipe.sh
and now it's working again and i can move message from inbox to Junk without any problems.
As lamagra said you must replace:
antispam_pipe_program = /usr/bin/sa-learn
by
antispam_pipe_program = /usr/bin/sa-learn-pipe.sh
and create the following sa-learn-pipe.sh file in /usr/bin/ (ex: sudo nano /usr/bin/sa-learn-pipe.sh)
Write the following code:
#!/bin/bash
echo /usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt echo "$$-start ($*)" >> /tmp/sa-learn-pipe.log
#echo $* > /tmp/sendmail-parms.txt cat<&0 >> /tmp/sendmail-msg-$$.txt
/usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt && rm -f /tmp/sendmail-msg-$$.txt &
echo "$$-end" >> /tmp/sa-learn-pipe.log
exit 0
Save the file (CTRL+o then CTRL+x)
Then make it executable:
sudo chmod +x /usr/bin/sa-learn-pipe.sh
Restart dovecot
sudo service dovecot restart
Tell me if it works as expected (Tested on Ubuntu 14.xx)
iRedMail → iRedMail Support → ANTISPAM via Dovecot and Spamassassin
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2010 PunBB.
Generated in 0.007 seconds (65% PHP - 35% DB) with 9 queries