Txt file considered as program?

Dave Jones davejones70 at gmail.com
Fri Jan 4 17:38:40 GMT 2008


>> Ugo Bellavance wrote:
>>> Budi Febrianto wrote:
>>>> Dear all,
>>>>
>>>> I see many emails quarantine in the mailscanner server because it
>>>> have attachment that considered as program, but the attachment
>>>> actually txt attachment.
>>>>
>>>> MailScanner: No programs allowed (msg-27290-704.txt)
>>>>
>>>
>>> That is a filetype problem, not a filename...
>>>
>>> Regards,
>>>
>>> Ugo
>>>
>> Why txt file considered as program?
>> Is it CentOS problem?
>>
>>
>Technically it would be a RedHat problem, because CentOS doesn't change the
>magic file that RedHat ships. But many other distros would also hit some of
>these. Those magic definitions are very old, and from a time when e-mail
was
l>ess in use.
>Does anybody have a link to a better magic file?

I have seeing this on RHEL5 with false RAR detections...

Quarantine: /var/spool/MailScanner/quarantine/20080103/m03CmBos017909
    Report: MailScanner: No RAR archive data allowed (msg-1125-214.txt)

# file /var/spool/MailScanner/quarantine/20080103/m03CmBos017909/msg-
1125-214.txt  /var/spool/MailScanner/quarantine/20080103/m03CmBos017909/msg-
1125-214.txt: Apple Partition data block size: 26214, first type: ominick;
Herbst, Harry, name: ammy; Render, Ray; Berarducci, , number of blocks:
541614450,

# file -i /var/spool/MailScanner/quarantine/20080103/m03CmBos017909/msg-
1125-214.txt
/var/spool/MailScanner/quarantine/20080103/m03CmBos017909/msg-1125-214.txt:
text/plain; charset=us-ascii

-- 
Dave Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080104/b8053f4f/attachment.html


More information about the MailScanner mailing list