Depending on which software the sender uses to send the email (Outlook 16, Mobile, RoundCube, etc.), the mailscanner removes my attachment.
Ricky Boone
ricky.boone at gmail.com
Sat Aug 24 16:25:55 UTC 2024
I can't say I've run into this before. What do MailScanner's logs
look like when this happens? Are you saying the message body is being
given the content-type of a ZIP file, or your attachment? What is the
attachment file type supposed to be? What version of MailScanner are
you using? Have you checked to see if there are any OS or perl module
related updates (file, Archive::Zip, etc.) that might be applicable?
Looking at Message.pm, it should be running the configured file
command against the file (i.e., file -b foo.bar), and if it thinks it
is a ZIP file it will attempt to open it, extract it, etc. within
scoped limits to prevent zip bombs, etc. While there is some
configuration that could be applicable, I'm not sure that telling
MailScanner to ignore files to open is the right thing to do.
On Sat, Aug 24, 2024 at 8:25 AM Giuliano Arnhold <giuliarnhold at gmail.com> wrote:
>
> Hi, I need help with MailScanner.
>
> Depending on which software the sender uses to send the email (Outlook 16, Mobile, RoundCube, etc.), the mailscanner removes my attachment with the message:
>
> MailScanner: Message contained archive which could not be read
>
> I can access the attachment in the quarantine and open normally. I don't know why, but using the same file sometimes works and sametime not.
>
> Looking the e-mail body, I guess this can be the problem, same time I see thinks like that:
>
> Content-Type: application/x-zip-compressed;
>
> How can I fix these problem to not have more these message?
> MailScanner: Message contained archive which could not be read
>
> It is possible, to set the MailScanner ignore files that MailScanner can open?
>
> I know using MailScanner, but dont really find my answer searching in Google.
>
> Thanks a lot!
>
> Bests, Giuliano
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
More information about the MailScanner
mailing list