On Tue, 15 Sep 2009, Jason wrote:

> All,
> 
> I'm attempting to send and receive email from an Exchange2007 server (I 
> know, bleh :-P ).  Seeing as how Evolution-mapi is having some issues, I 
> decided to eliminate all the GUI crap.
> 
> I'm able to pull all of my email with "exchange2mbox" and I plan on 
> using "openchangeclient --sendmail ..." as my version of sendmail.
> 
> Unfortunately, my current hurdle is more basic.  The received mail in my 
> mbox file has the following:
> 
> ######################################################################
> # From XXXXXXXXX
> # Date: Mon Sep 14 12:09:41 2009 EDT
> # From: XXXXXXXXX
> # To: XXXXXXXX
> # Cc: XXXXXXXX
> # Bcc:
> # Subject: XXXXXXXX
> # Message-ID: <XXXXXXXXXX>
> # Content-Type: multipart/mixed; boundary="DocE+XXXXXXXX"
> # Status: O
> # Content-Length: 16517113
> # Lines: 3239
> #
> #
> # --DocE+XXXXXXXXX
> # Content-Disposition: attachment; filename="smime.p7m"
> # Content-Type: "application/octet-stream"
> # Content-Transfer-Encoding: base64
> # XXXXXXXXXXXX ad nauseum
> ######################################################################
> 
> I've followed the smime howto's, imported my certs, tried .mime.types, 
> .mailcap to no avail.  mutt refuses to decrypt it.  When i select the 
> email, it shows "application/octet-stream".
> 
> I think if I can get mutt to realize it should pull the mimetype from 
> .mime.types, _then_ do the smime_* calls, things would work much better.
> 
> I've been looking at the source code all day, running myself in circles. 
>   Could someone give me a pointer to the right functions to get me 
> started?  I'll submit patches ;-)

Thinks work OK for me and most of my mail comes by way of Exchange 2007
servers.

These two lines in my Mutt config may be why I've never had issues that
I can remember, though I've been doctoring my config for nigh on a
decade and a half now and there's all kinds of stuff in there I no
longer remember doing:

unmime_lookup *
mime_lookup application/octet-stream

This should make Mutt ignore the "application/octect-stream" MIME type
and decide what the attachment is based on file extension.

Reply via email to