From owner-freebsd-questions@FreeBSD.ORG Thu May 17 01:10:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B098D1065674 for ; Thu, 17 May 2012 01:10:26 +0000 (UTC) (envelope-from ramirocaso05@yahoo.com.ar) Received: from nm37-vm7.bullet.mail.bf1.yahoo.com (nm37-vm7.bullet.mail.bf1.yahoo.com [72.30.238.207]) by mx1.freebsd.org (Postfix) with SMTP id 63D9B8FC14 for ; Thu, 17 May 2012 01:10:26 +0000 (UTC) Received: from [98.139.212.146] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 17 May 2012 01:07:47 -0000 Received: from [98.139.213.11] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 17 May 2012 01:07:47 -0000 Received: from [127.0.0.1] by smtp111.mail.bf1.yahoo.com with NNFMP; 17 May 2012 01:07:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.ar; s=s1024; t=1337216867; bh=Cqr89R6CAaPMHkPNXHz4fEc5+WcCtcIG1wZgZffirlI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=KRA1BTpfMYA477gJUaeV70YMRuVep6tvG2BSdec8S5SB4YSZ/tb8SvVPv4VpC6fC4w9HM0TQo2MYGU/ywhnKaou9bBpTEup8A0keuDZ0uzTB3SaWr71wG2UWfwPlerCSShvUo1qOMKC6fuUJh0a3uXrNfgaO6P21LurCxon304U= X-Yahoo-Newman-Id: 373551.44969.bm@smtp111.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: m7o1MKkVM1mrVqMP7MsS919TL_0msQogz68fpD3mKSEf.WK cJTSjQCdp.133lzdMPVSNA9G4dGruwW9aQhFOMBItX6eIGXLiGoFJ.oCjGgV VB.vPRUQqWFx0P3vT9THfPf0NdcGg09XjdNUT8mqlOlWv0jq0fa6a4CX4g4q udoMhpMVi0ATorGxL_sL2GLHAyMRt9ces7Qh60HQV8jIPO8mXrcW3q5aGQjy xkXdDwaPg7YnDdAKYmvMypbBrMbz18L13LujvWFl7.dq2qDWs0cowANewyEb N6YYGwpmED9lSlNgTjem0_dFL3u5MR0aSumJWUNyAR4e4pv0u4jlOD5pQ7NX jxcrP_QpBvu.RhXIJZx_B3qqqFz7xkO4QUl3jQiphp3uBEOsnJhk7INJq9aJ sv7g_U33PXCWKrI9MpXOfiU0FMIUdmo0qB1XPMBdrq8H7Hbe8Uz5R1fs75b0 2Eg-- X-Yahoo-SMTP: nvs2XB.swBAGTflg2_BV8MKeFlUrIJyEuA-- Received: from [192.168.1.104] (ramirocaso05@186.22.171.89 with plain) by smtp111.mail.bf1.yahoo.com with SMTP; 16 May 2012 18:07:46 -0700 PDT Message-ID: <4FB44F58.20603@yahoo.com.ar> Date: Wed, 16 May 2012 22:07:36 -0300 From: Ramiro Caso User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FB3ADA9.6060501@yahoo.com.ar> <9407d3f053a5b149c1cbd5d41d9777f1.squirrel@webmail.bsdftw.org> In-Reply-To: <9407d3f053a5b149c1cbd5d41d9777f1.squirrel@webmail.bsdftw.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 17 May 2012 01:12:57 +0000 Subject: Re: (mutt +) msmtp problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 01:10:26 -0000 On 16/05/2012 11:04, James Edwards wrote: >> I use mutt (1.5.21) with msmtp (1.4.28) as MDA. Usually, everything goes >> smoothly, but every once in a while I lose network connectivity when >> sending email (I don't recall whether there is a correlation between >> this problem and my trying to send not-so-big but yet around 1mb files). >> >> Basically, what happens in trying to send an email is: >> >> May 16 10:01:17 **** wpa_supplicant[662]: CTRL-EVENT-DISCONNECTED >> bssid=**:**:**:**:**:** reason=0 >> ....... >> May 16 10:02:27 **** wpa_supplicant[662]: CTRL-EVENT-CONNECTED - >> Connection to **:**:**:**:**:** completed (reauth) [id=0 id_str=] >> ....... >> >> Then I try again, and the same thing happens. All msmtp's log shows is: >> >> errormsg='cannot write to TLS connection: Pipe Broken' exitcode=EX_IOERR >> >> Any ideas? >> >> Best, >> Ramiro > > Based on above, mutt and msmpt *appear* to be fine, but this seems to be a > problem with the wireless driver, card, or router - you are being > disconnected from the network, which in turn is causing the 'broken pipe'. Indeed, mutt + msmtp appear to be fine... My bad for not being clearer... However, there is a correlation that goes beyond credible coincidence: the disconnection happens when (and, as far as I can recall, only when) I use mutt + msmtp to send sizeable files. In particular, no disconnection occurs when I'm not using mutt + msmtp, or when I use mutt + msmtp but I send emails without sizeable attachments. Also, the disconnection happens within seconds of attempting to send the sizeable emails. I guess it is a problem with the wireless card, but it seems to be somehow closely linked to the event of trying to send sizeable emails using mutt + msmtp (when I use thunderbird to send the files, everything works as expected, no disconnection). > You could feasibly work around it by using a wired connection, or take a > look at what is going on with your wireless. My work around, for now, is to use thunderbird for sending large emails, so there's no hurry. But I'm a bit puzzled about what's happening.