BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-23-2008, 07:22 AM   #1 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8100
PIN: N/A
Carrier: Vodaphone
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default C.DTF attachments on Blackberry

Please Login to Remove!

Hi Everyone,

I've come across a strange problem I can't find direct reference to on the internet.

Ok for starters we are running 2 BES servers, both on 4.1.4 using a Notes Domino platform, running version 7 across the board.

We have an alerts system called Foglight that runs on a Unix platform. It monitors all servers in the company and sends an e-mail alert if anything happens to them. Now these e-mails are arriving fine on the desktop client, I've checked and they are just text e-mails with a brief description of the problem (e.g. mailserver02 has restarted) but on the Blackberry it has the subject, but the body of the e-mail is an un-openable attachment called C.DTF.

I've looked around for descriptions of C.DTF and it seems that Notes can sometimes create this file if it can't interpret a mail sent from Outlook. it also looks like it can happen if there is a problem with MIME settings (although what type I'm not sure). It happened on both servers at once so it doesn't looks like a particular failure on one server, also the problem is consitent over every model of BB we use, so seems sure to be server-side.

If anyone can give me any clues or even suggest somewhere to look for an answer I'd be really greatful,.
Offline  
Old 06-23-2008, 10:37 AM   #2 (permalink)
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Post Thanks: 9
Thanked 29 Times in 23 Posts
Default

Are they REALLY just text emails in the notes client?

The .dtf issue in notes is almost always a conversion issue. It might be that the notes client can serve the body of the email as an inline attachment, and BES cannot convert it.

Basically, open one of the emails in notes, and take a look at the doc properties on the design tab on the body field, i.e.


Field Name: Body
Data Type: MIME Part
Data Length: 447 bytes
Seq Num: 1
Dup Item ID: 0
Field Flags: SIGN SEAL

"Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
"

Also is there a $file field?
__________________
Jadey : Groupware Infrastructure Architect, Denver CO
If I'm not here, I'm playing World's End on FaceBook. Mob/Mafia Wars are SOO last year

Last edited by Jadey : 06-23-2008 at 11:29 AM.
Offline  
Old 06-24-2008, 04:10 AM   #3 (permalink)
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Post Thanks: 9
Thanked 29 Times in 23 Posts
Default

Quote:
Originally Posted by Sam_Innes View Post
I've looked around for descriptions of C.DTF and it seems that Notes can sometimes create this file if it can't interpret a mail sent from Outlook.
Not strictly true - Notes does NOTHING with these attachments, it does not create or modify them - they are already in an incompatible format when received from Exchange. I am quite sure of this, as being a domino admin, I have spent a LOT of time arguing with Exchange bods about this. If something is sent from Exchange in "Microsoft Rich Text" format (i.e. some crud MS had to play about with) then ANY non-MS system will be unable to read the attachment properly, be that notes, groupwise, or some web mail. The bottom line is that if a MS system sends data, formatted in a proprietary MS format, to non-MS systems, those systems cannot read the data. It is the originating system's "fault", not notes'.

I have not looked at this issue for a while, but it might be that the R7 notes environment has been coded to deal with a filetype that BES hasn't, so maybe R7 notes can dissect these c.dtf or winmail.dat files, and BES cannot.

I would checkout the source of the emails - how are they generated and sent? Is it a pure domino environment? Or is there an outlook/exchange/other-microsoft element in there somewhere?

If MS implicated, search/read docs relating to winmail.dat attachments (much the same as c.dtf, filenames are quite interchangeable from experience)
How to Prevent the Winmail.dat File from Being Sent to Internet Users


ALSO here are some ideas from notes.net (gotta love notes.net forums!)
Notes/Domino 4 and 5 Forum : SMTP Converting attachments to C.DAT

"If the MIME generated for the PDF does not correctly identify the object by name, then Domino will use C.xxx for the filename. If the MIME provides a specific Content-Type, then xxx should reflect that (so c.pdf) however, if the MIME is generic (Application/Octet-Stream) then the file will be a c.dtf (As far as I can tell).
Can you see what the MIME the generatic app is using ? and can the app be modified to produce more useful MIME ?
"

Notes/Domino 4 and 5 Forum : URGENT - Lotus Notes - excel attachment getting converted to winmail.dat file

Notes/Domino 4 and 5 Forum : .dat files in mails
__________________
Jadey : Groupware Infrastructure Architect, Denver CO
If I'm not here, I'm playing World's End on FaceBook. Mob/Mafia Wars are SOO last year

Last edited by Jadey : 06-24-2008 at 04:13 AM.
Offline  
Old 06-24-2008, 04:37 AM   #4 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8100
PIN: N/A
Carrier: Vodaphone
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jadey,

Thanks so much for the response, some really great info there. It's also tidied up a few of my preconceptions about how Notes deals with e-mail.

Field Name: Received
Data Type: RFC822 Text
Data Length: 423 bytes
Seq Num: 1
Dup Item ID: 0
Field Flags:
RFC822 Type: TEXT
RFC822 Flags: STRICT
Native Value:

There is no file$ field which I'm guessing means there is no attachment. The sending system is a Unix application and they insist there is nothing strange about the way it creates the mail. I'll put more info in when i've read the links.
Offline  
Old 06-24-2008, 05:06 AM   #5 (permalink)
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Post Thanks: 9
Thanked 29 Times in 23 Posts
Default

Thanks Sam, could you post the BODY field data?
Also, is there one BODY field on the emails, or multiple?
__________________
Jadey : Groupware Infrastructure Architect, Denver CO
If I'm not here, I'm playing World's End on FaceBook. Mob/Mafia Wars are SOO last year
Offline  
Old 06-24-2008, 06:17 AM   #6 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8100
PIN: N/A
Carrier: Vodaphone
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks again, there is only one Body section, this is the content (I've removed the server name and error from the text section). I've tried to find some information regarding BES being unable to proccess RFC822 Text, but havn't dug anything up yet.

Field Name: Body
Data Type: MIME Part
Data Length: 177 bytes
Seq Num: 1
Dup Item ID: 0
Field Flags: SIGN SEAL

"Content-Type: text

(This message was sent by Foglight.)
"
Offline  
Old 06-24-2008, 06:27 AM   #7 (permalink)
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Post Thanks: 9
Thanked 29 Times in 23 Posts
Default

Hmmmm.... Well I think we can rule out the Microsoft issue.

Are you running McAfee GroupShield anywhere?



Logically, hmmm, let me think where we are at...

Notes can read the message, BB cannot. So for some reason, there is either an in-line attachment that BES cannot convert, OR something odd is happening when the message is converted for the BB. I'm more likely to rule out the in-line attachment here, as you say there is no $FILE field (and even when an attachment is shown as in-line in notes as opposed to a file, there is still the $FILE field).
So that would imply that BES is having problems converting the message when sending it to the BB.


Is there anything odd in your BES logs? You might want to find one of these messages in your inbox, check the date/time, then check the BES logs for the same date/time. You should see BES pickup the message, convert it, and send it out to the BB. Are there any unusual or different messages? Or errors?
__________________
Jadey : Groupware Infrastructure Architect, Denver CO
If I'm not here, I'm playing World's End on FaceBook. Mob/Mafia Wars are SOO last year

Last edited by Jadey : 06-24-2008 at 06:34 AM.
Offline  
Old 06-24-2008, 06:37 AM   #8 (permalink)
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Post Thanks: 9
Thanked 29 Times in 23 Posts
Default

Also, two other things:

In your domino directory, what are your person doc settings for:

a) Format preference for incoming mail
b) When receiving unencrypted mail, encrypt before storing in your mailfile
__________________
Jadey : Groupware Infrastructure Architect, Denver CO
If I'm not here, I'm playing World's End on FaceBook. Mob/Mafia Wars are SOO last year
Offline  
Old 06-24-2008, 10:37 AM   #9 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8100
PIN: N/A
Carrier: Vodaphone
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi again,

Ok it's been a busy day so i just got round to looking through the logs, I managed to isolate the following from the exact time of one of the foglight messages, I've removed specific company details..

[40000] (06/24 12:35:50.536):{0x1F98} {XXXX/IT/XXX} CN=XXX02/OU=SVR/O=XXX!!mail\m\XXX.nsf, fetching modified documents since 24/06/2008 12:35:40
[40017] (06/24 12:35:50.614):{0x1F98} {XXXX/IT/XXX} UnreadMarks::Init - Successfully retrieved unread marks table from BBSD, objid = 308562, size = 319
[40000] (06/24 12:35:50.614):{0x1F98} {XXXX/IT/XXX} {XXXX/IT/XXX} Constructing message (CMIME) (msgType=mail), size=258, RefId=-559155295, TransactionId=0, Tag=1365177, PHXCAP=0x00000000, PHXCFG=0x00000000, PHXMTR=0x000000ff
[30305] (06/24 12:35:50.614):{0x1F98} {XXXX/IT//XXX} Message sent to handheld (PIN 250XXXXXX, "mail\m\XXXX.nsf" on CN=LDN02/OU=SVR/O=XXX): folder "($I****)", posted date 24/06/2008 13:35:38, added date 24/06/2008 12:35:40, TID=1365177, RID=-559155295, NID=9D39E
[40000] (06/24 12:35:50.614):{0x15A4} [BIPP] Send data, Tag=1365177
[40020] (06/24 12:35:50.614):{0x1F98} {XXXX/IT//XXX} UnreadMarks::~UnreadMarks - Successfully saved unread marks table to BBSD, objid = 308570

Regarding the other questions: -

Mail format is left to as the preferred method, not forced to any type.

When receiving unencrypted mail, encrypt before storing in your mailfile is set to false.

Also we are using Mcafee, but just Enterprise, not Groupwise, it does have settings for malicous software prevention, but I suspect it isn't that due to the lack of attachments in the message.

I'm going to try and decrypt the log, or maybe try and find a way to switch off or change the BES conversion method. I'm tempted to look towards 4.1.5 for a fix, but that seems a little extreme.

thanks again for all the help.

Last edited by Sam_Innes : 06-24-2008 at 10:38 AM.
Offline  
Old 08-22-2008, 01:14 PM   #10 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: AT&T
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just saw this thread, and I am actually having the same problem, but a bit stranger (see below). My setup:

I have a TAPI system that can only communicate with Outlook, but we are using Lotus Notes. To get voice messages forwarded to my bb, I have set up an Outlook client on my computer, who receives the VMs as .wav files, then forwards them to my Lotus Notes account. The Lotus account is then connected to my bb.

Now, I do get the messages on my Notes account, with the .wav file attached. No problem. However, when they show up on my bb, the same message comes with a c.dtf file. So, here is my first question: At which point does this file get converted? Is this a notes problem (and I found a web site where they say it is not), or is this a bb problem?

The strange thing is, if I forward the message with the c.dtf file to myself from the bb, it returns WITH THE .WAV file attached, and I can listen to the message on my bb. So, I do have a workaround, but it's quite cumbersome, because I manually have to forward the message to myself, and of course I have the message twice now.

Any suggestions?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.