Depending on which software the sender uses to send the email (Outlook 16, Mobile, RoundCube, etc.), the mailscanner removes my attachment.

Giuliano Arnhold giuliarnhold at gmail.com
Sat Aug 24 17:03:04 UTC 2024


Hi!

Really thanks to the reply, I find this really weird, because I don't find
nothing in the web about these problem. So I find the solution.

I was using like a pre build hosting software. But, this specific software
has wrongs configurations and missing things.

To solve the problem I just need to install the 7zip, my server doesn't has
this software installed by default, neither in my hosting docs.

Now all is working fine! Thanks for the help!

Em sáb., 24 de ago. de 2024, 13:26, Ricky Boone <ricky.boone at gmail.com>
escreveu:

> 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
> >
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20240824/b71a3d63/attachment.html>


More information about the MailScanner mailing list