dcurtis at dcurtis at
Thu May 8 15:42:50 IST 2008

Thanks for the info. I just implemented
.html and will reply back if this fails.

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Glenn
Sent: Thursday, May 08, 2008 10:04 AM
To: MailScanner discussion
Subject: Re: BlackBerry

2008/5/8  <dcurtis at>:
> I hate to ask stupid questions, but this will probably turn out so. I
have a
> customer that has one user with a BlackBerry. Every time he sends mail
> gets the below message. I have looked through the filename.rules.conf
> find nothing with the ETP.DAT or even DAT. I must be missing something
> simple.

This is actually not a stupid question. It is a stupid BlackBerry
behaviour, but not a stupid question:-).
When you activate the BB/User, blackberry will send you the encrypted
activation in a mail... for your BES server to pick up/act on.
They send it properly ascii armored in the message body (IIRC:), as
well as an attached binary file.
This file will be detected as an MS-DOS COM executable from time to
time (very optimistic file magic "strings" ... or rather one byte
codes... in some versions of the file command...), or other prohibited
There are three possible "solutions" that I can think of:
- Whitelist the sender domain wrt filetype checking. This is a bit
"icky and uncertain", but... it's what I ended up doing.
- Try to use "file -i" instead of file. Might make a difference, might
not. I haven't tried this approach... yet:-).
- Remove all "too optimistic" file magics from the magic file (and
regenerate the binary with "file -C").

This issue tewnd to crop up from time to time... A search of the MS
list archives might give other workable solutions... Although I think


-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

This email may contain information protected under the Family 
Educational Rights and Privacy Act (FERPA) or the Health Insurance 
Portability and Accountability Act (HIPAA).  If this email contains 
confidential and/or privileged health or student information and you 
are not entitled to access such information under FERPA or HIPAA, 
federal regulations require that you destroy this email without 
reviewing it and you may not forward it to anyone.

This message has been scanned for viruses and
dangerous content by MailScanner, ClamAV and Bitdefender  and is
believed to be clean.

More information about the MailScanner mailing list