[Rspamd-Users] symbol "MIME_BAD_ATTACHMENT" firing on PDF/A attachments?
Daniel Lysfjord
lysfjord.daniel at smokepit.net
Wed Feb 4 21:52:52 UTC 2026
On 2026-02-04 22:29, Gerald Galster wrote:
>> Daniel Lysfjord via Users <users at lists.rspamd.com>:
>>
>> I just created a PDF/A-4 (PDF 2.0 base), sendt it to myself from
>> outside my network. I did not get a trigger on MIME_BAD_ATTACHMENT (I
>> have the score on that one set to 5).
>
>
> Then your MUA probably set "application/pdf" as Content-Type, not
> "application/pdfa".
>
> See https://en.wikipedia.org/wiki/MIME#Multipart_messages and have a
> look at your email source.
>
> Content-Type: application/pdf
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename=invoice-123.pdf
>
> Best regards,
> Gerald
As it should?
More information about the Users
mailing list