Beta release: MailScanner 4.56.5 --- please test
Julian Field
MailScanner at ecs.soton.ac.uk
Sun Sep 24 10:09:42 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You can do that configuration change on your own system if you want to,
it's GNU-specific and so won't on a lot of systems.
Chan Min Wai wrote:
> Dear Julian Field,
>
> Thank for the fine software. Do you have any comment on this feature/bugs?
>
>
> IANAP, but you might want to try creating a file called
> "/usr/bin/bin/filei", with permissions set to 755, that has the
> following in it:
>
> /usr/bin/file -i $1
>
> and then change the line in MailScanner.conf that says:
> File Command = /usr/bin/file
> to
> File Command = /usr/bin/filei
>
> or use (don't know if it will work):
> File Command = /usr/bin/file -i
>
> Good luck...
>
> Chan Min Wai wrote:
>> Hello All,
>>
>> I know I should ask the question here but the result show from the
>> search don't seem to show much that is useful. So I hope I can get some
>> help here.
>>
>> I'm using file to determine the file type, It work well until one day
>> where tread some UTF-8 Signature TXT to be DOS executable (COM) files.
>>
>> e.g
>> # file msg-30776-13.txt
>> msg-30776-13.txt: DOS executable (COM)
>>
>> However, if I put an extra flag "-i" on cli It work well.
>>
>> # file -i msg-30776-13.txt
>> msg-30776-13.txt: text/plain; charset=utf-8
>>
>> # file --version
>> file-4.17
>> magic file from /usr/share/misc/file/magic
>>
>> Any hints on how to make change on Mailscanner.conf?
>>
>> Please help.
>>
>> P.s I can't seem to attach the text files here for the same reason...
>>
>> Regards,
>> Chan Min Wai
>
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: UTF-8
wj8DBQFFFktXEfZZRxQVtlQRAtEtAKC7WZutxQxJ+7psbbez+3eHG4eDEACfeLcB
Etly58ZPxhMP5ip6nYYqjNI=
=Uxsi
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner
mailing list