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

Giuliano Arnhold <[email protected]> Sat, 24 Aug 2024 14:03:04 -0300
Newsgroups gmane.mail.virus.mailscanner
Message-ID <CALYxLSB2XiLOtpn6OGxyZsHoNuC8Kz514RuxMj+YCUZC+302Rg@mail.gmail.com>
--===============2479599000436094346==
Content-Type: multipart/alternative; boundary="0000000000002a20e7062070def0"

--0000000000002a20e7062070def0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=C3=A1b., 24 de ago. de 2024, 13:26, Ricky Boone <[email protected]=
>
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=E2=80=AFAM Giuliano Arnhold <giuliarnhold@gm=
ail.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 ca=
n
> open?
> >
> > I know using MailScanner, but dont really find my answer searching in
> Google.
> >
> > Thanks a lot!
> >
> > Bests, Giuliano
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner-qhrM8SXbD5JTOyd/[email protected]
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
>
>
> --
> MailScanner mailing list
> mailscanner-qhrM8SXbD5JTOyd/[email protected]
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>

--0000000000002a20e7062070def0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi!</p>
<p dir=3D"ltr">Really thanks to the reply, I find this really weird, becaus=
e I don&#39;t find nothing in the web about these problem. So I find the so=
lution.</p>
<p dir=3D"ltr">I was using like a pre build hosting software. But, this spe=
cific software has wrongs configurations and missing things.</p>
<p dir=3D"ltr">To solve the problem I just need to install the 7zip, my ser=
ver doesn&#39;t has this software installed by default, neither in my hosti=
ng docs.</p>
<p dir=3D"ltr">Now all is working fine! Thanks for the help!</p>
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Em s=
=C3=A1b., 24 de ago. de 2024, 13:26, Ricky Boone &lt;<a href=3D"mailto:rick=
[email protected]">[email protected]</a>&gt; escreveu:<br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">I can&#39;t say I&#39;ve run into this before.=C2=
=A0 What do MailScanner&#39;s logs<br>
look like when this happens?=C2=A0 Are you saying the message body is being=
<br>
given the content-type of a ZIP file, or your attachment?=C2=A0 What is the=
<br>
attachment file type supposed to be?=C2=A0 What version of MailScanner are<=
br>
you using?=C2=A0 Have you checked to see if there are any OS or perl module=
<br>
related updates (file, Archive::Zip, etc.) that might be applicable?<br>
<br>
Looking at Message.pm, it should be running the configured file<br>
command against the file (i.e., file -b foo.bar), and if it thinks it<br>
is a ZIP file it will attempt to open it, extract it, etc. within<br>
scoped limits to prevent zip bombs, etc.=C2=A0 While there is some<br>
configuration that could be applicable, I&#39;m not sure that telling<br>
MailScanner to ignore files to open is the right thing to do.<br>
<br>
On Sat, Aug 24, 2024 at 8:25=E2=80=AFAM Giuliano Arnhold &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank" rel=3D"noreferrer">giuliarnho=
[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi, I need help with MailScanner.<br>
&gt;<br>
&gt; Depending on which software the sender uses to send the email (Outlook=
 16, Mobile, RoundCube, etc.), the mailscanner removes my attachment with t=
he message:<br>
&gt;<br>
&gt; MailScanner: Message contained archive which could not be read<br>
&gt;<br>
&gt; I can access the attachment in the quarantine and open normally. I don=
&#39;t know why, but using the same file sometimes works and sametime not.<=
br>
&gt;<br>
&gt; Looking the e-mail body, I guess this can be the problem, same time I =
see thinks like that:<br>
&gt;<br>
&gt; Content-Type: application/x-zip-compressed;<br>
&gt;<br>
&gt; How can I fix these problem to not have more these message?<br>
&gt; MailScanner: Message contained archive which could not be read<br>
&gt;<br>
&gt; It is possible, to set the MailScanner ignore files that MailScanner c=
an open?<br>
&gt;<br>
&gt; I know using MailScanner, but dont really find my answer searching in =
Google.<br>
&gt;<br>
&gt; Thanks a lot!<br>
&gt;<br>
&gt; Bests, Giuliano<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; MailScanner mailing list<br>
&gt; <a href=3D"mailto:mailscanner-qhrM8SXbD5JTOyd/[email protected]" target=3D"_blank=
" rel=3D"noreferrer">mailscanner-qhrM8SXbD5JTOyd/[email protected]</a><br>
&gt; <a href=3D"http://lists.mailscanner.info/mailman/listinfo/mailscanner"=
 rel=3D"noreferrer noreferrer" target=3D"_blank">http://lists.mailscanner.i=
nfo/mailman/listinfo/mailscanner</a><br>
&gt;<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href=3D"mailto:mailscanner-qhrM8SXbD5JTOyd/[email protected]" target=3D"_blank" rel=
=3D"noreferrer">mailscanner-qhrM8SXbD5JTOyd/[email protected]</a><br>
<a href=3D"http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel=
=3D"noreferrer noreferrer" target=3D"_blank">http://lists.mailscanner.info/=
mailman/listinfo/mailscanner</a><br>
<br>
</blockquote></div>

--0000000000002a20e7062070def0--

--===============2479599000436094346==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner


--===============2479599000436094346==--