[notmuch] Message parsing issue?

Jason White jason at jasonjgw.net
Sat Apr 3 00:25:40 PDT 2010


I am new to Notmuch. I have compiled it under Debian Sid (x86-64 architecture)
from the latest git revision:
commit 44df403ccd2fa637dfa543f749a949454245b182 (branch master)
and indexed my maildir folders, which are populated by fetchmail -> Postfix ->
Procmail.

The problem is that for certain messages, notmuch show treats the entire
message, including, significantly, all of the headers, as the message body.

An example is attached, with "notmuch show" output as the first file and the
original message as the second.

Suggestions are welcome.


-------------- next part --------------
message}
message{ id:FE824401-72E0-4FFB-BB56-3C99A727A877 at freeswitch.org depth:1 match:1 filename:/home/jason/mail/freeswitch/cur/1269730835.7327_3.jdc:2,RS
header{
Brian West <brian at freeswitch.org> (Sun. 03:15) (inbox)
Subject: Re: [Freeswitch-users] Trying to test mod_silk
From: Brian West <brian at freeswitch.org>
To: freeswitch-users at lists.freeswitch.org
Date: Sat, 27 Mar 2010 11:15:56 -0500
header}
body{
part{ ID: 1, Content-type: text/plain
>From jason  Sun Mar 28 10:00:35 2010
Return-Path: <freeswitch-users-bounces at lists.freeswitch.org>
X-Original-To: jason at localhost
Delivered-To: jason at localhost
Received: from jdc.jasonjgw.net (unknown [IPv6:::1])
	by jdc.jasonjgw.net (Postfix) with ESMTP id 16EBC1812C232
	for <jason at localhost>; Sun, 28 Mar 2010 09:59:55 +1100 (EST)
Received: from mail.rednote.net [2607:f740:0:3f::14a]
	by jdc.jasonjgw.net with IMAP (fetchmail-6.3.13)
	for <jason at localhost> (single-drop); Sun, 28 Mar 2010 09:59:55 +1100 (EST)
Received: from yoda.ostag.org (lists.freeswitch.org [64.235.155.4])
	by opera.rednote.net (8.14.3/8.14.3) with ESMTP id o2RGKtIi014396
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <jason at jasonjgw.net>; Sat, 27 Mar 2010 16:21:25 GMT
Received: from localhost.cordiacorp.com ([127.0.0.1] helo=yoda.ostag.org)
	by yoda.ostag.org with esmtp (Exim 4.63)
	(envelope-from <freeswitch-users-bounces at lists.freeswitch.org>)
	id 1NvYgc-0002v4-3j; Sat, 27 Mar 2010 09:16:34 -0700
Received: from [209.85.211.201] (helo=mail-yw0-f201.google.com)
	by yoda.ostag.org with esmtp (Exim 4.63)
	(envelope-from <brian at freeswitch.org>) id 1NvYgV-0002um-2Q
	for freeswitch-users at lists.freeswitch.org;
	Sat, 27 Mar 2010 09:16:27 -0700
Received: by ywh39 with SMTP id 39so5040346ywh.21
	for <freeswitch-users at lists.freeswitch.org>;
	Sat, 27 Mar 2010 09:15:56 -0700 (PDT)
Received: by 10.100.22.31 with SMTP id 31mr4133784anv.39.1269706556224;
	Sat, 27 Mar 2010 09:15:56 -0700 (PDT)
Received: from [192.168.1.198] (adsl-99-102-49-105.dsl.tul2ok.sbcglobal.net
	[99.102.49.105])
	by mx.google.com with ESMTPS id 23sm1950360iwn.6.2010.03.27.09.15.55
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Sat, 27 Mar 2010 09:15:55 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1077)
From: Brian West <brian at freeswitch.org>
In-Reply-To: <20100327035611.GA3552 at jdc.jasonjgw.net>
Date: Sat, 27 Mar 2010 11:15:56 -0500
Message-Id: <FE824401-72E0-4FFB-BB56-3C99A727A877 at freeswitch.org> (sfid-20100328_100035_938573_DC93E2E5)
References: <20100327035611.GA3552 at jdc.jasonjgw.net>
To: freeswitch-users at lists.freeswitch.org
X-Mailer: Apple Mail (2.1077)
Subject: Re: [Freeswitch-users] Trying to test mod_silk
X-BeenThere: freeswitch-users at lists.freeswitch.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: freeswitch-users at lists.freeswitch.org
List-Id: <freeswitch-users.lists.freeswitch.org>
List-Unsubscribe: <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>,
	<mailto:freeswitch-users-request at lists.freeswitch.org?subject=unsubscribe>
List-Archive: <http://lists.freeswitch.org/pipermail/freeswitch-users>
List-Post: <mailto:freeswitch-users at lists.freeswitch.org>
List-Help: <mailto:freeswitch-users-request at lists.freeswitch.org?subject=help>
List-Subscribe: <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>,
	<mailto:freeswitch-users-request at lists.freeswitch.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: freeswitch-users-bounces at lists.freeswitch.org
Errors-To: freeswitch-users-bounces at lists.freeswitch.org
X-CRM114-Version: 20081111-BlameBarack, rev 4624 (TRE 0.7.5 (LGPL, APPROX, WCHAR, MULTIBYTE)) MR-162E7357 
X-CRM114-CacheID: sfid-20100328_100035_938573_DC93E2E5
X-CRM114-Status: UNSURE ( 5.40 )
X-CRM114-Notice: Please train this message. 

Remove CELT.

/b

On Mar 26, 2010, at 10:56 PM, Jason White wrote:

> I am trying to test mod_silk with FreeSWITCH rev. 17118.
> 
> The problem appears to be that I haven't been able to get my FreeSWITCH to
> offer SILK as one of its codecs.
> 
> mod_silk is loaded. I am using the PortAudio interface to make the call; the
> other end is running a recently built FreeSWITCH as well, thanks to Bill Acker
> for participating in the testing as always.
> 
> I have global_codec_prefs and outbound_codec_prefs in vars.xml configured with
> SILK at 24000h as the first item in the comma-separated list. I have also tried
> it with SILK (no sampling rate specified).
> 
> The SIP trace doesn't show that it is being offered. Bill has configured the
> other end in the same way.
> 
> For example:
> 
> a=rtpmap:10 L16/48000
> a=rtpmap:114 CELT/48000
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> 
> is what appears as the SIP message from my local FreeSWITCH with
> SILK at 24000h,CELT at 48000h,G722,BV32,PCMU,PCMA,GSM
> in the codec preferences. (Actually, bv32 is out of date; I know the name
> changed and I should fix it - I haven't been playing with these settings for a
> while.)
> 
> Full SIP traces are available if desired. It's x86_64 Debian GNU/Linux and
> IPv6 for making the connection.
> 
> I know Brian and others have this working, so there's obviously something
> amiss here. As usual, there's no urgency - it's another attempt at a community
> contribution through testing.
> 
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

part}
body}

-------------- next part --------------
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on jdc.jasonjgw.net
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.1
>From jason  Sun Mar 28 10:00:35 2010
Return-Path: <freeswitch-users-bounces at lists.freeswitch.org>
X-Original-To: jason at localhost
Delivered-To: jason at localhost
Received: from jdc.jasonjgw.net (unknown [IPv6:::1])
	by jdc.jasonjgw.net (Postfix) with ESMTP id 16EBC1812C232
	for <jason at localhost>; Sun, 28 Mar 2010 09:59:55 +1100 (EST)
Received: from mail.rednote.net [2607:f740:0:3f::14a]
	by jdc.jasonjgw.net with IMAP (fetchmail-6.3.13)
	for <jason at localhost> (single-drop); Sun, 28 Mar 2010 09:59:55 +1100 (EST)
Received: from yoda.ostag.org (lists.freeswitch.org [64.235.155.4])
	by opera.rednote.net (8.14.3/8.14.3) with ESMTP id o2RGKtIi014396
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <jason at jasonjgw.net>; Sat, 27 Mar 2010 16:21:25 GMT
Received: from localhost.cordiacorp.com ([127.0.0.1] helo=yoda.ostag.org)
	by yoda.ostag.org with esmtp (Exim 4.63)
	(envelope-from <freeswitch-users-bounces at lists.freeswitch.org>)
	id 1NvYgc-0002v4-3j; Sat, 27 Mar 2010 09:16:34 -0700
Received: from [209.85.211.201] (helo=mail-yw0-f201.google.com)
	by yoda.ostag.org with esmtp (Exim 4.63)
	(envelope-from <brian at freeswitch.org>) id 1NvYgV-0002um-2Q
	for freeswitch-users at lists.freeswitch.org;
	Sat, 27 Mar 2010 09:16:27 -0700
Received: by ywh39 with SMTP id 39so5040346ywh.21
	for <freeswitch-users at lists.freeswitch.org>;
	Sat, 27 Mar 2010 09:15:56 -0700 (PDT)
Received: by 10.100.22.31 with SMTP id 31mr4133784anv.39.1269706556224;
	Sat, 27 Mar 2010 09:15:56 -0700 (PDT)
Received: from [192.168.1.198] (adsl-99-102-49-105.dsl.tul2ok.sbcglobal.net
	[99.102.49.105])
	by mx.google.com with ESMTPS id 23sm1950360iwn.6.2010.03.27.09.15.55
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Sat, 27 Mar 2010 09:15:55 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1077)
From: Brian West <brian at freeswitch.org>
In-Reply-To: <20100327035611.GA3552 at jdc.jasonjgw.net>
Date: Sat, 27 Mar 2010 11:15:56 -0500
Message-Id: <FE824401-72E0-4FFB-BB56-3C99A727A877 at freeswitch.org> (sfid-20100328_100035_938573_DC93E2E5)
References: <20100327035611.GA3552 at jdc.jasonjgw.net>
To: freeswitch-users at lists.freeswitch.org
X-Mailer: Apple Mail (2.1077)
Subject: Re: [Freeswitch-users] Trying to test mod_silk
X-BeenThere: freeswitch-users at lists.freeswitch.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: freeswitch-users at lists.freeswitch.org
List-Id: <freeswitch-users.lists.freeswitch.org>
List-Unsubscribe: <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>,
	<mailto:freeswitch-users-request at lists.freeswitch.org?subject=unsubscribe>
List-Archive: <http://lists.freeswitch.org/pipermail/freeswitch-users>
List-Post: <mailto:freeswitch-users at lists.freeswitch.org>
List-Help: <mailto:freeswitch-users-request at lists.freeswitch.org?subject=help>
List-Subscribe: <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>,
	<mailto:freeswitch-users-request at lists.freeswitch.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: freeswitch-users-bounces at lists.freeswitch.org
Errors-To: freeswitch-users-bounces at lists.freeswitch.org
X-CRM114-Version: 20081111-BlameBarack, rev 4624 (TRE 0.7.5 (LGPL, APPROX, WCHAR, MULTIBYTE)) MR-162E7357 
X-CRM114-CacheID: sfid-20100328_100035_938573_DC93E2E5
X-CRM114-Status: UNSURE ( 5.40 )
X-CRM114-Notice: Please train this message. 

Remove CELT.

/b

On Mar 26, 2010, at 10:56 PM, Jason White wrote:

> I am trying to test mod_silk with FreeSWITCH rev. 17118.
> 
> The problem appears to be that I haven't been able to get my FreeSWITCH to
> offer SILK as one of its codecs.
> 
> mod_silk is loaded. I am using the PortAudio interface to make the call; the
> other end is running a recently built FreeSWITCH as well, thanks to Bill Acker
> for participating in the testing as always.
> 
> I have global_codec_prefs and outbound_codec_prefs in vars.xml configured with
> SILK at 24000h as the first item in the comma-separated list. I have also tried
> it with SILK (no sampling rate specified).
> 
> The SIP trace doesn't show that it is being offered. Bill has configured the
> other end in the same way.
> 
> For example:
> 
> a=rtpmap:10 L16/48000
> a=rtpmap:114 CELT/48000
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> 
> is what appears as the SIP message from my local FreeSWITCH with
> SILK at 24000h,CELT at 48000h,G722,BV32,PCMU,PCMA,GSM
> in the codec preferences. (Actually, bv32 is out of date; I know the name
> changed and I should fix it - I haven't been playing with these settings for a
> while.)
> 
> Full SIP traces are available if desired. It's x86_64 Debian GNU/Linux and
> IPv6 for making the connection.
> 
> I know Brian and others have this working, so there's obviously something
> amiss here. As usual, there's no urgency - it's another attempt at a community
> contribution through testing.
> 
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



More information about the notmuch mailing list