--- /dev/null
+Return-Path: <cycleofsong@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 09CC06DE1799\r
+ for <notmuch@notmuchmail.org>; Mon, 28 Dec 2015 21:54:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.557\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.557 tagged_above=-999 required=5 tests=[AWL=0.243,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001,\r
+ HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,\r
+ SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 5amJIvp8hueR for <notmuch@notmuchmail.org>;\r
+ Mon, 28 Dec 2015 21:54:26 -0800 (PST)\r
+Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com\r
+ [209.85.220.47])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 9CCAF6DE1795\r
+ for <notmuch@notmuchmail.org>; Mon, 28 Dec 2015 21:54:26 -0800 (PST)\r
+Received: by mail-pa0-f47.google.com with SMTP id yy13so27348743pab.3\r
+ for <notmuch@notmuchmail.org>; Mon, 28 Dec 2015 21:54:26 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+ :cc:content-type;\r
+ bh=SrsA1Y2F8DLvsizgf8VVdHYe0OaxPknLSgb9HQxzw1k=;\r
+ b=zvEgic8guai8gT95nBwWdqcrOL5TaI5M+jDJRkGWjU23OtvGUt/l8mGUh5lNYcbOYv\r
+ dS5Lbb4kAnhLf4S+jZn9Hccd8qZCgoeNSKsdrU6ORnEVTeo/Cs656f/9XVgSZRJfA8X5\r
+ NgmLRs1hr+CGKeDRcFzpRbyQbDiTeJ0BJlEPPJN20W8n2qdJYCzXU7EhgyN0BsMDjb5m\r
+ R+v29xD+Fh0KwKu/52RqQhhwM1Jpk8K9ph31scApaACoo5MOL/q55w7O/v6i8iyLyMWt\r
+ UQD2gRBHqCRduZKZaftNQjuRhalVf1SOohtwjUaOqBVGWFwYTTS+VcCgEaJWD8hgrU0G\r
+ p+RQ==\r
+MIME-Version: 1.0\r
+X-Received: by 10.66.190.66 with SMTP id go2mr84946477pac.114.1451368464428;\r
+ Mon, 28 Dec 2015 21:54:24 -0800 (PST)\r
+Received: by 10.66.219.198 with HTTP; Mon, 28 Dec 2015 21:54:24 -0800 (PST)\r
+In-Reply-To: <87ege6d41j.fsf@zancas.localnet>\r
+References:\r
+ <CAE+_6Tw18LY954NZt+koH-mn=nniubVdk4tR8TSitDy_6wJB2Q@mail.gmail.com>\r
+ <87wprzb4sj.fsf@endefensadelsl.org> <87ege6d41j.fsf@zancas.localnet>\r
+Date: Tue, 29 Dec 2015 00:54:24 -0500\r
+Message-ID:\r
+ <CAE+_6TzCar9+y66p4hVL0U=dLFOR9uEUkSLJJ=pCDqJ6-bLkXw@mail.gmail.com>\r
+Subject: Re: file-error "not a regular file"\r
+From: Peter Salazar <cycleofsong@gmail.com>\r
+To: David Bremner <david@tethera.net>\r
+Cc: fauno <fauno@kiwwwi.com.ar>, notmuch@notmuchmail.org\r
+Content-Type: multipart/alternative; boundary=047d7bf0e44cc2b5eb0528030de7\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 29 Dec 2015 05:54:30 -0000\r
+\r
+--047d7bf0e44cc2b5eb0528030de7\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+Hi David,\r
+\r
+Thanks for looking into this. Much appreciated.\r
+\r
+Yes, following your steps, emacs -q followed by "M-x load-library <return>\r
+notmuch", I was able to send an email without the error. It prompted me for\r
+my smtp server, username, and password, then returned this:\r
+\r
+Sending email\r
+Sending email done\r
+Invalid image size (see `max-image-size')\r
+Mark set\r
+Saving file\r
+/Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local...\r
+Wrote\r
+/Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local\r
+Sending...done\r
+\r
+To answer your other question, yes, there is an Fcc: header when I try to\r
+send email from my regular Emacs configuration. It's the same header I saw\r
+when I sent email from the minimal configuration:\r
+\r
+Fcc: /Users/peter/Dropbox/mail/gmail/sent\r
+\r
+That directory does indeed exist:\r
+\r
+drwxr-xr-x@ 9 peter staff 306 Dec 27 21:54 *sent*\r
+And it contains:\r
+\r
+.DS_Store .mbsyncstate *.nnmaildir* .uidvalidity *cur* *new*\r
+ *tmp*\r
+Does this give us any leads?\r
+\r
+Thanks again.\r
+\r
+On Mon, Dec 28, 2015 at 9:46 AM, David Bremner <david@tethera.net> wrote:\r
+\r
+> fauno <fauno@kiwwwi.com.ar> writes:\r
+>\r
+> > Peter Salazar <cycleofsong@gmail.com> writes:\r
+> >\r
+> >> Hello,\r
+> >>\r
+> >> I'm using notmuch-mode from within Emacs to send email using\r
+> async/mbsync\r
+> >> through Gmail. However, every time I send email from within Emacs, I get\r
+> >> this error:\r
+> >\r
+> > i got this message too for fcc with default values, i'm on emacs 24.5\r
+> > with notmuch 0.21\r
+> >\r
+>\r
+> Can either of you replicate the problem with a minimal configuration,\r
+> ideally with "emacs -q", followed by "M-x load-library <return>\r
+> notmuch"?\r
+>\r
+> If so, does the path in the Fcc header exist? If so, what is it? a file,\r
+> a directory, a symlink?\r
+>\r
+> For me, in emacs 24.5 / notmuch 0.21, with emacs -q, if that path is\r
+> missing I am prompted to create it. If I refuse, then I later get a\r
+> message about not being a maildir.\r
+>\r
+> I guess the tl;dr is that I can't duplicate this problem. Looking at the\r
+> traceback Peter provided, it looks like he is using\r
+> "send-message-without-bullets" to send the message. Since this isn't a\r
+> notmuch function, it's likely bypassing the notmuch fcc setup that\r
+> notmuch-mua-send and notmuch-mua-send-and-exit do.\r
+>\r
+>\r
+> d\r
+>\r
+>\r
+\r
+--047d7bf0e44cc2b5eb0528030de7\r
+Content-Type: text/html; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<div dir=3D"ltr">Hi David,<div><br></div><div>Thanks for looking into this.=\r
+ Much appreciated.=C2=A0</div><div><br></div><div>Yes, following your steps=\r
+, emacs -q followed by=C2=A0<span style=3D"font-size:19.2px">"M-x load=\r
+-library <return></span></div><span style=3D"font-size:19.2px">notmuc=\r
+h", I was able to send an email without the error. It prompted me for =\r
+my smtp server, username, and password, then returned this:</span><div><spa=\r
+n style=3D"font-size:19.2px"><br></span></div><div><div><span style=3D"font=\r
+-size:19.2px">Sending email=C2=A0</span></div><div><span style=3D"font-size=\r
+:19.2px">Sending email done</span></div><div><span style=3D"font-size:19.2p=\r
+x">Invalid image size (see `max-image-size')</span></div><div><span sty=\r
+le=3D"font-size:19.2px">Mark set</span></div><div><span style=3D"font-size:=\r
+19.2px">Saving file /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.683=\r
+7_72197_1.Infinity.local...</span></div><div><span style=3D"font-size:19.2p=\r
+x">Wrote /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.I=\r
+nfinity.local</span></div><div><span style=3D"font-size:19.2px">Sending...d=\r
+one=C2=A0</span></div></div><div><span style=3D"font-size:19.2px"><br></spa=\r
+n></div><div><span style=3D"font-size:19.2px">To answer your other question=\r
+, yes, there is an Fcc: header when I try to send email from my regular Ema=\r
+cs configuration. It's the same header I saw when I sent email from the=\r
+ minimal configuration:=C2=A0</span></div><div><span style=3D"font-size:19.=\r
+2px"><br></span></div><div><div><span style=3D"font-size:19.2px">Fcc: /User=\r
+s/peter/Dropbox/mail/gmail/sent</span></div><div style=3D"font-size:19.2px"=\r
+><br></div></div><div style=3D"font-size:19.2px">That directory=C2=A0does i=\r
+ndeed exist:=C2=A0</div><div style=3D"font-size:19.2px">\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+<p class=3D""><span class=3D"">drwxr-xr-x@ 9 peter =C2=A0staff=C2=A0 306 De=\r
+c 27 21:54 </span><span class=3D""><b>sent</b></span></p></div><div style=\r
+=3D"font-size:19.2px">And it contains:</div><div style=3D"font-size:19.2px"=\r
+>\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+<p class=3D"">\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+</p><p class=3D""><span class=3D"">.DS_Store=C2=A0 =C2=A0 .mbsyncstate </sp=\r
+an><span class=3D""><b>.nnmaildir</b></span><span class=3D""> =C2=A0 .uidva=\r
+lidity </span><span class=3D""><b>cur</b></span><span class=3D"">=C2=A0 =C2=\r
+=A0 =C2=A0 =C2=A0 =C2=A0 </span><span class=3D""><b>new</b></span><span cla=\r
+ss=3D"">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </span><span class=3D""><b>tmp</=\r
+b></span></p></div><div><span style=3D"font-size:19.2px">Does this give us =\r
+any leads?=C2=A0</span></div><div><span style=3D"font-size:19.2px"><br></sp=\r
+an></div><div><span style=3D"font-size:19.2px">Thanks again.</span></div></=\r
+div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Dec 2=\r
+8, 2015 at 9:46 AM, David Bremner <span dir=3D"ltr"><<a href=3D"mailto:d=\r
+avid@tethera.net" target=3D"_blank">david@tethera.net</a>></span> wrote:=\r
+<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=\r
+t:1px #ccc solid;padding-left:1ex"><span class=3D"">fauno <<a href=3D"ma=\r
+ilto:fauno@kiwwwi.com.ar">fauno@kiwwwi.com.ar</a>> writes:<br>\r
+<br>\r
+> Peter Salazar <<a href=3D"mailto:cycleofsong@gmail.com">cycleofsong=\r
+@gmail.com</a>> writes:<br>\r
+><br>\r
+>> Hello,<br>\r
+>><br>\r
+>> I'm using notmuch-mode from within Emacs to send email using a=\r
+sync/mbsync<br>\r
+>> through Gmail. However, every time I send email from within Emacs,=\r
+ I get<br>\r
+>> this error:<br>\r
+><br>\r
+> i got this message too for fcc with default values, i'm on emacs 2=\r
+4.5<br>\r
+> with notmuch 0.21<br>\r
+><br>\r
+<br>\r
+</span>Can either of you replicate the problem with a minimal configuration=\r
+,<br>\r
+ideally with "emacs -q", followed by "M-x load-library <r=\r
+eturn><br>\r
+notmuch"?<br>\r
+<br>\r
+If so, does the path in the Fcc header exist? If so, what is it? a file,<br=\r
+>\r
+a directory, a symlink?<br>\r
+<br>\r
+For me, in emacs 24.5 / notmuch 0.21, with emacs -q, if that path is<br>\r
+missing I am prompted to create it. If I refuse, then I later get a<br>\r
+message about not being a maildir.<br>\r
+<br>\r
+I guess the tl;dr is that I can't duplicate this problem. Looking at th=\r
+e<br>\r
+traceback Peter provided, it looks like he is using<br>\r
+"send-message-without-bullets" to send the message. Since this is=\r
+n't a<br>\r
+notmuch function, it's likely bypassing the notmuch fcc setup that<br>\r
+notmuch-mua-send and notmuch-mua-send-and-exit do.<br>\r
+<span class=3D"HOEnZb"><font color=3D"#888888"><br>\r
+<br>\r
+d<br>\r
+<br>\r
+</font></span></blockquote></div><br></div>\r
+\r
+--047d7bf0e44cc2b5eb0528030de7--\r