Hey Guys,
I'm having trouble with spam the past few months and it's flooding my inbox. Spamassassin is marking them as spam with *****SPAM*****, but it's not moving it to junk folder.
I've followed the guide here Dovecot - SpamToJunk, ImapIDLE and Expunge Junk Folder but it's just not working. I've also installed RoundcubePlugins.
Code: etc/dovecot/dovecot.conf
- namespace inbox {
- separator = .
- prefix = INBOX.
- inbox = yes
- type = private
- mailbox Junk {
- special_use = \Junk
- auto=subscribe
- }
- }
- ...
- plugin {
- quota = maildir:User quota
- quota_rule = *:storage=1G
- quota_rule2 = INBOX.Trash:storage=+100M
- quota_warning = storage=95%% quota-warning 95 %u
- quota_warning2 = storage=80%% quota-warning 80 %u
- # Begin Plugin::RoundcubePlugin::managesieve::1st
- sieve = ~/dovecot.sieve
- sieve_default = /var/lib/dovecot/sieve/default.sieve
- sieve_dir = ~/sieve
- sieve_global_dir = /var/lib/dovecot/sieve/
- # Ending Plugin::RoundcubePlugin::managesieve::1st
- }
if I try to send a mail with the spamassassin spam test XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X it just gets blocked instead of being moved.
Code: /var/log/mail.log
- Feb 7 14:16:28 server postfix/smtpd[20641]: connect from mout.web.de[212.227.17.12]
- Feb 7 14:16:29 server postfix/smtpd[20641]: 04CE8A07AC: client=mout.web.de[212.227.17.12]
- Feb 7 14:16:29 server postfix/cleanup[20666]: 04CE8A07AC: message-id=<d2af1eff-9308-2fde-5f0e-9540893b0239@web.de>
- Feb 7 14:16:29 server spamd[20632]: spamd: got connection over /var/run/spamassassin.sock
- Feb 7 14:16:29 server spamd[20632]: spamd: processing message <d2af1eff-9308-2fde-5f0e-9540893b0239@web.de> for mail@kazuto.de:118
- Feb 7 14:16:29 server spamd[20632]: spamd: identified spam (1000.3/5.0) for mail@kazuto.de:118 in 0.0 seconds, 2748 bytes.
- Feb 7 14:16:29 server spamd[20632]: spamd: result: Y 1000 - AWL,FREEMAIL_FROM,GTUBE,TVD_SPACE_RATIO scantime=0.0,size=2748,user=mail@kazuto.de,uid=118,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/var/run/spamassassin.sock,mid=<d2af1eff-9308-2fde-5f0e-9540893b0239@web.de>,autolearn=disabled
- Feb 7 14:16:29 server postfix/cleanup[20666]: 04CE8A07AC: milter-reject: END-OF-MESSAGE from mout.web.de[212.227.17.12]: 5.7.1 Blocked by SpamAssassin; from=<kai.hillemacher@web.de> to=<mail@kazuto.de> proto=ESMTP helo=<mout.web.de>
- Feb 7 14:16:29 server postfix/smtpd[20641]: disconnect from mout.web.de[212.227.17.12] ehlo=2 starttls=1 mail=1 rcpt=1 data=0/1 quit=1 commands=6/7
- Feb 7 14:16:29 server spamd[20630]: prefork: child states: II
Can anybody help me?