Topic: Amavisd tagging every email as a spam
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: CentOS release 6.3
- Related log if you're reporting an issue:
====
Hello ,,
suddenly amavisd starts tagging every message as a spam ,,
as a the problem is BAYES_99 always give high values . I've enabled debug for postfix and amavis and sent message this is the log for it .
-----------------
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: < unknown[192.116.17.51]: MAIL FROM: <talal00123@palnet.com>
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: extract_addr: input: <talal00123@palnet.com>
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: smtpd_check_addr: addr=talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr address = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: input attribute value: talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: rewrite_clnt: local: talal00123@palnet.com -> talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr address = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: input attribute value: talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: resolve_clnt: `' -> `talal00123@palnet.com' -> transp=`smtp' host=`palnet.com' rcpt=`talal00123@palnet.com' flags= class=default
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: ctable_locate: install entry key talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: extract_addr: in: <talal00123@palnet.com>, result: talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: < unknown[192.116.17.51]: RCPT TO: <talal00123@yahoo.com>
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: extract_addr: input: <talal00123@yahoo.com>
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: smtpd_check_addr: addr=talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr address = talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: input attribute value: talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: rewrite_clnt: local: talal00123@yahoo.com -> talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr address = talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: input attribute value: talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: resolve_clnt: `' -> `talal00123@yahoo.com' -> transp=`smtp' host=`yahoo.com' rcpt=`talal00123@yahoo.com' flags= class=default
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: ctable_locate: install entry key talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: extract_addr: in: <talal00123@yahoo.com>, result: talal00123@yahoo.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: ctable_locate: move existing entry key talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: maps_find: recipient_canonical_maps: talal00123@palnet.com: not found
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: maps_find: recipient_canonical_maps: talal00123: not found
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: mail_addr_find: talal00123@palnet.com -> (not found)
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: maps_find: canonical_maps: talal00123@palnet.com: not found
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: maps_find: canonical_maps: talal00123: not found
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: mail_addr_find: talal00123@palnet.com -> (not found)
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr key = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/virtual_alias_maps.cf flags=lock|fold_fix key=talal00123@palnet.com -> status=1 result=
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr key = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/domain_alias_maps.cf flags=lock|fold_fix key=talal00123@palnet.com -> status=1 result=
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr key = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/catchall_maps.cf flags=lock|fold_fix key=talal00123@palnet.com -> status=1 result=
Oct 30 14:34:42 mailgate3 postfix/smtpd[2671]: send attr key = talal00123@palnet.com
Oct 30 14:34:42 mailgate3 policyd: rcpt=34233, throttle=bypass, host=192.116.17.51 (unknown), from=talal00123@palnet.com, to=talal00123@yahoo.com, size=2368
Oct 30 14:34:42 mailgate3 postfix/qmgr[1364]: B7623214AD: from=<talal00123@palnet.com>, size=2550, nrcpt=1 (queue active)
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_tag_level] => true, "talal00123@yahoo.com" matches, result="2.1", matching_key="(constant:2.1)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_tag2_level] => true, "talal00123@yahoo.com" matches, result="4", matching_key="(constant:4)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_tag3_level] => undef, "talal00123@yahoo.com" does not match
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_kill_level] => true, "talal00123@yahoo.com" matches, result="6", matching_key="(constant:6)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [Lovers2,spam_lovers] => undef, "talal00123@yahoo.com" does not match
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) blocking contents category is (6) for talal00123@yahoo.com
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) final_destiny 0, recip talal00123@yahoo.com
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup => true, "talal00123@yahoo.com" matches, result="root@mailgate3.hadara.ps", matching_key="(constant:root@mailgate3.hadara.ps)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup => undef, "talal00123@yahoo.com", no lookup tables
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_quarantine_bysender_to] => undef, "talal00123@palnet.com" does not match
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) Admin notifications to <root@mailgate3.hadara.ps>; sender: <talal00123@palnet.com>
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) header: Subject: Spam FROM LOCAL [192.116.17.51]:27129 <talal00123@palnet.com>\n
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) build_mime_entity Subject: Spam FROM LOCAL [192.116.17.51]:27129 <talal00123@palnet.com>
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [forward_method] => true, "talal00123@yahoo.com" matches, result="smtp:[127.0.0.1]:10025", matching_key="(opaque:smtp:[127.0.0.1]:10025)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) delivery method is 1, recips: talal00123@yahoo.com
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) DSN: sender is credible (orig), SA: 7.569, <talal00123@palnet.com>
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) lookup [spam_crediblefrom_dsn_cutoff_level_bysender] => true, "talal00123@palnet.com" matches, result="18", matching_key="(constant:18)"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) dsn: . 250 Spam <talal00123@palnet.com> -> <talal00123@yahoo.com>: on_succ=0, on_dly=1, on_fail=1, never=0, warn_sender=, DSN_passed_on=, destiny=0, mta_resp: "250 2.7.0 Ok, discarded, id=04289-18 - spam"
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) DSN: SUCC (discarded) . 250 Spam, destiny=DISCARD: <talal00123@palnet.com> -> <talal00123@yahoo.com>
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) one_response_for_all <talal00123@palnet.com>: all DISCARD, '250 2.7.0 Ok, discarded, id=04289-18 - spam'
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) Blocked SPAM {DiscardedInternal}, MYUSERS LOCAL [192.116.17.51]:27129 [192.116.17.51] <talal00123@palnet.com> -> <talal00123@yahoo.com>, Message-ID: <001c01ced56c$472849d0$d578dd70$@com>, mail_id: gKZ4o4BTf5U6, Hits: 7.569, size: 2550, 1190 ms
Oct 30 14:34:45 mailgate3 amavis[4289]: (04289-18) save_info_final gKZ4o4BTf5U6, orig=Y, chks=VSHBP, cont.ty=S, q.type= , q.to=, dsn=N, score=7.569, Message-ID: <001c01ced56c$472849d0$d578dd70$@com>, From: '"talal shobaita" <talal00123@palnet.com>', Subject: 'test'
Oct 30 14:34:45 mailgate3 postfix/smtp[4556]: B7623214AD: to=<talal00123@yahoo.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.8, delays=0.06/1.4/0.11/1.2, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=04289-18 - spam)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.