Topic: Spam email
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 OPENLDAP edition.
- Linux/BSD distribution name and version: FreeBSD 11.1-RELEASE amd64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
====
Hi Zang.
I created a new server and configure 4 domains.
My problem is, all emails marked as spam are deleted and not moved to Junk Folder.
When i mark "Quarantine spam", too much email go to quarantine.
How can i configure to sent all spam's to junk folder with subject [SPAM]?
Thanks.
On "Spam policy" i selected like this:
Spam checking
X Enable spam checking
Quarantine spam
Virus checking
X Enable virus checking
Quarantine virus
Bad-header checking
X Enable bad-header checking
Quarantine bad-header email
Banned file type checking
X Enable banned file type checking
Quarantine email which contains banned file types
Prefix text [SPAM] to the subject of spam [ X ]
Classify mail as spam when score is >= 8.00
Log from mailog:
Sep 11 14:22:19 mail2 postfix/postscreen[2714]: CONNECT from [209.222.110.212]:53359 to [170.84.17.245]:25
Sep 11 14:22:25 mail2 postfix/postscreen[2714]: PASS OLD [209.222.110.212]:53359
Sep 11 14:22:25 mail2 postfix/smtpd[60603]: connect from mdzz10.dns1.net.br[209.222.110.212]
Sep 11 14:22:25 mail2 postfix/smtpd[60603]: BB8B3EB217: client=mdzz10.dns1.net.br[209.222.110.212]
Sep 11 14:22:25 mail2 postfix/cleanup[60770]: BB8B3EB217: message-id=<e4c9d0e43659bd14943da0fa8ad4d38d@dns1.net.br>
Sep 11 14:22:25 mail2 postfix/qmgr[2631]: BB8B3EB217: from=<return@dns1.net.br>, size=7868, nrcpt=1 (queue active)
Sep 11 14:22:25 mail2 amavis[59210]: (59210-04) ESMTP [127.0.0.1]:10024 /var/amavis/tmp/amavis-20170911T140941-59210-2xUAaDZ8: <return@dns1.net.br> -> <convenios@senge-sc.org.br> SIZE=7868 BODY=8BITMIME Received: from mail2.petry.net.br
([127.0.0.1]) by mail2.petry.net.br (mail2.petry.net.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <convenios@senge-sc.org.br>; Mon, 11 Sep 2017 14:22:25 -0300 (-03)
Sep 11 14:22:26 mail2 amavis[59210]: (59210-04) Checking: Q1rQWG0N4n_z [209.222.110.212] <return@dns1.net.br> -> <convenios@senge-sc.org.br>
Sep 11 14:22:26 mail2 postfix/smtpd[60603]: disconnect from mdzz10.dns1.net.br[209.222.110.212] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 11 14:22:30 mail2 postfix/postscreen[2714]: CONNECT from [127.0.0.1]:27489 to [127.0.0.1]:25
Sep 11 14:22:30 mail2 postfix/postscreen[2714]: WHITELISTED [127.0.0.1]:27489
Sep 11 14:22:30 mail2 postfix/smtpd[59321]: connect from localhost[127.0.0.1]
Sep 11 14:22:30 mail2 postfix/smtpd[59321]: disconnect from localhost[127.0.0.1] helo=1 quit=1 commands=2
Sep 11 14:22:30 mail2 amavis[59210]: (59210-04) Blocked SPAM {DiscardedInbound}, [209.222.110.212]:53359 [209.222.110.212] <return@dns1.net.br> -> , Queue-ID: BB8B3EB217, Message-ID: <e4c9d0e43659bd14943da0fa8ad4d38d@dns1.net.br>, mail_id: Q1rQWG0N4n_z, Hits: 7.104, size: 7862, dkim_sd=default:dns1.net.br, 5020 ms, Tests: [DCC_CHECK=1.1,DIGEST_MULTIPLE=0.001,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,HTML_IMAGE_RATIO_02=0.805,HTML_MESSAGE=0.001,PYZOR_CHECK=1.985,RCVD_IN_MSPIKE_H4=-0.01,RCVD_IN_MSPIKE_WL=-0.01,RCVD_IN_RP_RNBL=1.284,SPF_PASS=-0.001,URIBL_ABUSE_SURBL=1.948,URIBL_BLOCKED=0.001]
Sep 11 14:22:30 mail2 postfix/amavis/smtp[60771]: BB8B3EB217: to=<convenios@senge-sc.org.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.2, delays=0.18/0/0.01/5, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=59210-04 - spam)
Sep 11 14:22:30 mail2 postfix/qmgr[2631]: BB8B3EB217: removed
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.