From owner-freebsd-questions@FreeBSD.ORG  Wed May 16 14:04:57 2012
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 7E4EC1065674
	for <freebsd-questions@freebsd.org>;
	Wed, 16 May 2012 14:04:57 +0000 (UTC)
	(envelope-from jedwards@bsdftw.org)
Received: from mail.bsdftw.org (unknown [IPv6:2001:470:c630:3000::])
	by mx1.freebsd.org (Postfix) with ESMTP id C88468FC19
	for <freebsd-questions@freebsd.org>;
	Wed, 16 May 2012 14:04:56 +0000 (UTC)
Received: from webmail.bsdftw.org (websrv [IPv6:2001:470:c630:1000::])
	by mail.bsdftw.org (Postfix) with ESMTP id A197CAE12;
	Wed, 16 May 2012 10:04:55 -0400 (EDT)
Received: from 66.147.92.218 (SquirrelMail authenticated user jedwards)
	by webmail.bsdftw.org with HTTP; Wed, 16 May 2012 10:04:56 -0400
Message-ID: <9407d3f053a5b149c1cbd5d41d9777f1.squirrel@webmail.bsdftw.org>
In-Reply-To: <4FB3ADA9.6060501@yahoo.com.ar>
References: <4FB3ADA9.6060501@yahoo.com.ar>
Date: Wed, 16 May 2012 10:04:56 -0400
From: "James Edwards" <jedwards@bsdftw.org>
To: "Ramiro Caso" <ramirocaso05@yahoo.com.ar>
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: freebsd-questions@freebsd.org
Subject: Re: (mutt +) msmtp problem?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 May 2012 14:04:57 -0000

> 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'.

You could feasibly work around it by using a wired connection, or take a
look at what is going on with your wireless.

-- 
Regards,
James Edwards