[Rspamd-Users] weird MIME penalisation on (IMO) right formated mail attachments - RSPAMD or our mistake?

Franta Hanzlík franta at hanzlici.cz
Tue Jun 10 17:07:44 UTC 2025


On Tue, 15 Apr 2025 16:07:05 +0200
Florian Piekert <floppy at floppy.org> wrote:

> Hello,
> 
> just whitelist the recipient account of the scholar's homework.
> 
> #
> # local.d/settings.conf
> #
> want_spam {
>        id = "want_spam";
>        want_spam = yes;
>        priority = high;
>        rcpt = "homework_receiver at myschool.org";
> }
> 
> 
> Am 15.04.2025 um 15:53 schrieb Franta Hanzlík via Users:
> > On Tue, 15 Apr 2025 13:00:55 +0100 (BST)
> > "G.W. Haywood" <rspamd at jubileegroup.co.uk> wrote:
> >   
> >> Hi there,
> >>
> >> On Tue, 15 Apr 2025, Franta Hanzlík wrote:  
>  [...]  
>  [...]  
>  [...]  

Hi Florian, thank You for the advice - it helped me a lot.
At end my settings in /etc/rspamd/local.d/settings.conf is:

interni_bad_prilohy {
        id = "interni_bad_prilohy";
        from = "/@spseplzen\.cy$/i";
        rcpt = "/@spseplzen\.cy$/i";
        from_mime = "/@spseplzen\.cy$/i";
        rcpt_mime = "/@spseplzen\.cy$/i";
        apply {
                MIME_BAD_EXTENSION = 0.1;
                R_MIXED_CHARSET = 0.1;
        }
        symbols [
                "MIME_BAD_EXTENSION", "R_MIXED_CHARSET"
        ]
}

Not sure when it is all correct, but it seems to work...
-- 
Franta Hanzlík


More information about the Users mailing list