0
I have spamassassin on a ubuntu box and I configuring an score of 2.0. All good but one email it's identified as spam and I want to whitelist that domain's email.
So, I config: /etc/mail/spamassassin/local.cf
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
whitelist_auth *@amazonses.com email.amazonses.com
whitelist_from *@amazonses.com email.amazonses.com (for testing purposes I also trying this spoofing approach :)
endif # Mail::SpamAssassin::Plugin::Shortcircuit
After that I was restarted the spamd service but my email is still marked as spam...
I will put the mail.log: Oct 19 21:12:31 mail spamd[29329]: spamd: identified spam (2.7/2.0) for debian-spamd:110 in 10.7 seconds, 4174 bytes. Oct 19 21:12:31 mail spamd[29329]: spamd: result: Y 2 - DKIM_INVALID,DKIM_SIGNED,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TO_EQ_FM_DIRECT_MX,URIBL_BLOCKED scantime=10.7,size=4174,user=debian-spamd,uid=110,required_score=2.0,rhost=::1,raddr=::1,rport=34666,mid=<0100016de5380bc3-1bf1de11-d11c-4742-8375-efa795c3e9c1-000000@email.amazonses.com>,autolearn=no autolearn_force=no Oct 19 21:12:31 mail postfix/pickup[29189]: 352B63A1914: uid=110 from=<0100016de5380bc3-1bf1de11-d11c-4742-8375-efa795c3e9c1-000000@amazonses.com> Oct 19 21:12:31 mail postfix/cleanup[29336]: 352B63A1914: message-id=<0100016de5380bc3-1bf1de11-d11c-4742-8375-efa795c3e9c1-000000@email.amazonses.com>
SpamAssassin version 3.4.2
Please, help because I think I will go nuts with this nosense. I tried and site-wide and user_prefs, still same problem. I don't know why this whitelist rule doesn't apply?
Thanks!
It has been a long time since I used Spamassassin . Try the form: whitelist_from_rcvd *@amazonses.com amazonses.com . Note the second parameter is essentially the same as the first (not email.amazonses.com) . See also: https://www.lifewire.com/spamassassin-whitelist-sender-1166251
– John – 2019-10-19T21:33:08.393Hi John. Thank's but I've tried with rcvd but no luck. Same issue. – Nicu Mihai – 2019-10-20T11:17:10.883