Re: cvs HEAD rejects From xxx



Hi Peter.

I wouldn't offer myself as an expert on these matters, but isn't From <space> valid as a first line?  Or only as a sperator in mbox-style files.  In any case, here's an example.  It works fine with 2.0.16

--- begin quoted file
>From balsa-list-admin gnome org Sun Jan 18 10: 15:26 2004
Return-Path: <balsa-list-admin gnome org>
Received: from localhost (localhost [127.0.0.1]) by
 mtranch.san-jose.nptest.com (8.12.8/8.12.8) with ESMTP id i0IIFPPQ003200 for
 <root localhost>; Sun, 18 Jan 2004 10:15:26 -0800
Received: from 216.251.32.97 [216.251.32.97] by localhost with POP3
 (fetchmail-6.2.0) for root localhost (single-drop); Sun, 18 Jan 2004
 10:15:26 -0800 (PST)
Received: from mail.gnome.org (moniker.gnome.org [67.72.78.218]) by
 mail40.megamailservers.com (8.12.10/8.12.9) with ESMTP id i0IIFhd0026806 for
 <geoff cdepot net>; Sun, 18 Jan 2004 13:15:43 -0500
Received: from moniker.gnome.org (moniker.gnome.org [127.0.0.1]) by
 mail.gnome.org (Postfix) with ESMTP id 1625E18778; Sun, 18 Jan 2004 13:15:14
 -0500 (EST)
Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by
 mail.gnome.org (Postfix) with ESMTP id 071AA185D6 for
 <balsa-list gnome org>; Sun, 18 Jan 2004 13:05:40 -0500 (EST)
Received: from moppim (62.246.138.119) by webmail.tiscali.de (6.7.019) id
 3F9D2A0E020A19D6 for balsa-list gnome org; Sun, 18 Jan 2004 19:05:38 +0100
Received: from moppim ([127.0.0.1]) by moppim with esmtp (Exim 3.36 #1
 (Debian)) id 1AiHGh-0000mf-00 for <balsa-list gnome org>; Sun, 18 Jan 2004
 19:03:27 +0100
X-From_: balsa-list-admin gnome org  Sun Jan 18 13:15:43 2004
Delivered-To: balsa-list gnome org
From: Steffen Klemer <masterofheap gmx net>
To: balsa-list gnome org
Subject: Re: balsa cvs compile
Message-ID: <20040118180327 GC1873 moppim>
Reply-To: masterofheap gmx net
References: <20040118144023 GA28331 debian vu lt>
 <1074439366l 13412l 5l nora telia com> <20040118164742 GC1042 debian vu lt>
Mime-Version: 1.0
Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-13
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20040118164742 GC1042 debian vu lt>; from
 vaze0348 uosis mif vu lt on So, Jan 18, 2004 at 17:47:42 +0100
X-Mailer: Balsa 2.0.14
Lines: 56
Organization: CUBE
X-MoH-Comment: Da hat wohl jemand langeweile
X-MoH-AntiSpam: send Spam to nilsmkrause hotmail com but not to me
X-MoH-Grt: Greetings to my father, trine, martin, philipp, diana, fredi and
 and and
Sender: balsa-list-admin gnome org
Errors-To: balsa-list-admin gnome org
X-BeenThere: balsa-list gnome org
X-Loop: balsa-list gnome org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Help: <mailto:balsa-list-request gnome org?subject=help>
List-Post: <mailto:balsa-list gnome org>
List-Subscribe: <http://mail.gnome.org/mailman/listinfo/balsa-list>,
 <mailto:balsa-list-request gnome org?subject=subscribe>
List-Id: Balsa email client <balsa-list.gnome.org>
List-Unsubscribe: <http://mail.gnome.org/mailman/listinfo/balsa-list>,
 <mailto:balsa-list-request gnome org?subject=unsubscribe>
List-Archive: <http://mail.gnome.org/archives/balsa-list/>
Date: Sun, 18 Jan 2004 19:03:27 +0100
X-Symantec-Virus-Scan-Result: Definitions Date: 20040114; Definitions
 Version: 5; Virii Found: 0; Sun, 18 Jan 2004 13:15:43 -0500
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61

Am 2004.01.18 17:47 schrieb(en) Mpiktas:
> Hi,
>

>>> and warnings
>>> mailbox_imap.c: In function `libbalsa_address_new_from_imap_address':
>>> mailbox_imap.c:1276: warning: implicit declaration of function
>>> `g_mime_utils_header_decode_text'
>>> mailbox_imap.c:1276: warning: assignment makes pointer from integer
>>> without a cast
>>> mailbox_imap.c:1281: warning: passing arg 2 of `g_list_append' makes
>>> pointer from integer without a cast
>>> mailbox_imap.c: In function `lb_set_headers':
>>> mailbox_imap.c:1320: warning: assignment makes pointer from integer
>>> without a cast
>>> mailbox_imap.c: In function `libbalsa_mailbox_imap_load_envelope':
>>> mailbox_imap.c:1393: warning: assignment makes pointer from integer
>>> without a cast
>> 
>> I need to look at this - I do not think I have seen that myself. Can  
>> you try in meantime adding
>> 
>> #include <gmime/gmime.h>
>> 
>> at the top of libbalsa/mailbox_imap.c
>>
> This did not work. I figured out that this is because I am using gmime  
> version 2.0.x (as it is latest in Debian Sid) and there is no function   
> g_mime_utils_header_decode_text, it appears only in version 2.1.x.  
> Someone previously complained about it in the list, and the answer was  
> that the patch was forthcomming. Are there plans to incorporate such  
> patch or not? If I install gmime-2.1 in /usr/local or somewhere else  
> will autogen.sh find it and use it instead of gmime-2.0?


Yes, you can simply

apt-get remove libgmime2 libgmime2-dev

and then install the compiled tar-ball to /usr/local

Everything works fine for me (but I have to admit that I don't use any  
other gmime-program :)


> Mpiktas


cu
/Steffen

-- 
 /"\
 \ /  ASCII Ribbon Campaign    |  "The best way to predict
  X  * NO HTML/RTF in e-mail   | the future is to invent it."
 / \ * NO MSWord docs in e-mail|                -- Alan Kay
_______________________________________________
balsa-list mailing list
balsa-list gnome org
http://mail.gnome.org/mailman/listinfo/balsa-list

---- end of quoted file


On 05.10 16:16, Peter Bloomfield wrote:
> On 05/10/2004 06:58:09 PM, Geoffrey Leach wrote:
> > HEAD current as of the writing, but the condition reported by
> > Albrecht -- broken CVS mirrors -- may be relevant.
> > 
> > For some time (weeks) the HEAD version of Balsa has been  
> > useless because it shows many older files with a Subject as  
> > "(No subject)".  I've narrowed this down to  
> > lb_message_set_headers_from_string(), and the code:
> > 	for(val = lines; *val && *val >32 && *val<126 && *val !=
> > ':'; val++)
> > which has the effect of suppressing the headers from mail files  
> > that begin:
> > 	From ....
> > as *val>32 fails
> > 
> > Is this intentional?  And while we're on the subject, why is  
> > the code using the decimal values instead of isprint()?  And  
> > why is " being rejected?
> 
> Hi Geoffrey:
> 
> Yes, it's intentional.  It's a quick way of identifying a valid  
> header line, which begins with an ascii header type followed by  
> ": ".  From_ lines are used as message separators in mbox-style  
> mailboxes, but aren't part of the (rfc-2822) message.
> 
> If the messages that are shown with "(No subject)" are in mh- or  
> maildir-style mailboxes, could you post an innocuous example?   
> And if they're in mbox-style mailboxes, could you post (or send  
> me) an innocuous mailbox file with an example?  Either would help  
> greatly with debugging.
> 
> Thanks!
> 
> Peter
> 
> _______________________________________________
> balsa-list mailing list
> balsa-list gnome org
> http://mail.gnome.org/mailman/listinfo/balsa-list
> 
> 
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]