From owner-freebsd-ports@FreeBSD.ORG Mon Jul 15 06:57:31 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A136FAD for ; Mon, 15 Jul 2013 06:57:31 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1.freebsd.org (Postfix) with ESMTP id 1747FC4D for ; Mon, 15 Jul 2013 06:57:30 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.201.180]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MTkNU-1UYKPh2OKu-00QP1R for ; Mon, 15 Jul 2013 08:57:29 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 5953B23CE3E for ; Mon, 15 Jul 2013 08:57:28 +0200 (CEST) Message-ID: <51E39D58.3040801@gmx.de> Date: Mon, 15 Jul 2013 08:57:28 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Problem in mailutils/movemail under FreeBSD 9.1 References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:BIoIxMwxF19BSP6P87g2SbLYjizrtCYuD4IlvS5gW/WjVmWNGy+ WEGQZ841cp3PiRzNMNwo2uq3ZnQI+Ul+t9OdLnoZMyrqsS9AKn1nMsbaiLoNg7M5NCrCLSG Q0XXAMp+3dY7zSQ1w5SN8kI2w2+Om2ESiShz6xISZDGOKYNXfsGJf8g7MBzJgsMNDHdohPJ /PEmeNKHrSAssFowxANVw== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 06:57:31 -0000 Am 12.07.2013 10:40, schrieb Olivier Nicole: > Hi, > > Since I moved my file server to 9.1, I am seeing a problem with > mailutils/movemail: > > movemail pop://on@mail.cs.ac.th file password > > will hang is any message in the mailbox contains a NULL (0x00) > character. > > Thunderbird is unaffected. > > movemail will hang in _tls_stream_push when mu_stream_sequential_write > returns an error. So far I could not find the source code for > mu_stream_sequential_write. Can you run it under truss(1) to see what system calls it is using around the time, or reinstall movemail under WITH_DEBUG=yes and use gcore or attach a debugger to get a backtrace? > If I use movemail with imap, it enters an infinite loop. > > I still have to understand why there are messages with NULL inside, > those messages appears to be manggled messages, composed of parts of > other messages. This might be mailbox file or file system corruption.