1

Topic: Clean mail, being Blocked as SPAM by amavis fresh installation

Fresh installation of IredMail pro SQL on a Rocky linux 8.6

We are testing a new installation if Iredmail, for to migrate from an older one, but we have a strange issue it seem that amavis block as spam all inbound emails.
Adding some IP in whitelist they arrive but all other no, even email from a gmail account are blocked and x-spam don't show anything usefull.

Iìve modifiied the amavis conf just for chage the dkim default signature, global, domain and email spam setting have nothing strange setting, just allow office files

Spam score is setted to 5.0 and 7.0

Before mails where bouce now i set D_PASS in amavis conf and at least i may fond them in spam folder.

This is the x-pass of the mail source:
X-Virus-Scanned: amavisd-new at mx01b.xxxxxx.net
X-Spam-Flag: YES
X-Spam-Score: 0.052
X-Spam-Level:
X-Spam-Status: Yes, score=0.052 tagged_above=0 required=0
    tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
    DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,
    FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001,
    SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001]
    autolearn=ham autolearn_force=no
Authentication-Results: mx01b.xxxxxx.net (amavisd-new);
    dkim=pass (2048-bit key) header.d=gmail.com

And this from maillog:
Oct 10 14:30:30 mx01b amavis[2395]: (02395-04) Blocked SPAM {DiscardedInbound}, [209.85.167.44]:38497 [209.85.167.44] ESMTP/ESMTP <xxxxxx@gmail.com> -> <xx@miaemailired.eu>, (ESMTPS://[209.85.167.44]:38497), Queue-ID: 4MmLtG0VFHzSmq0F, Message-ID: <CAM7vZg2VL7d1XTtJqXy_5xog7NXT7i0YnimkBD+9GumAmKi2JQ@mail.gmail.com>, mail_id: gcR6XUL4wLJb, b: zaZN3nTzk, Hits: 0.051, size: 2678, Subject: "prova", From: <xxxxxx@gmail.com> (dkim:AUTHOR), helo=mail-lf1-f44.google.com, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,FREEMAIL_ENVFROM_END_DIGIT=0.25,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,RCVD_IN_MSPIKE_H2=-0.001,SPF_HELO_NONE=0.001,SPF_PASS=-0.001], autolearn=ham autolearn_force=no, autolearnscore=0.052, dkim_i=@gmail.com, dkim_sd=20210112:gmail.com, 541 ms
Oct 10 14:30:30 mx01b amavis[2395]: (02395-04) Blocked SPAM, <xxxxxx@gmail.com> -> , Hits: 0.051, tag=0, tag2=0, kill=0, L/Y/Y/Y

I don't know what else check

Thank you
have a nice day

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Clean mail, being Blocked as SPAM by amavis fresh installation

I just seen that if I leave empty the 2 setting of spam score mails are not marked as spam instead if I write 5.0 and 7.0 yes

Post's attachments

spam_conf.jpg
spam_conf.jpg 67.11 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

3

Re: Clean mail, being Blocked as SPAM by amavis fresh installation

Try to turn on debug mode in Amavisd and test again:
https://docs.iredmail.org/debug.amavisd.html