From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A0CB56DE0937 for ; Sat, 26 Oct 2019 10:06:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.981 X-Spam-Level: X-Spam-Status: No, score=-1.981 tagged_above=-999 required=5 tests=[AWL=0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PLING_QUERY=0.279, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCHu_uKW0wTF for ; Sat, 26 Oct 2019 10:06:19 -0700 (PDT) X-Greylist: delayed 351 seconds by postgrey-1.36 at arlo; Sat, 26 Oct 2019 10:06:19 PDT Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by arlo.cworth.org (Postfix) with ESMTPS id 3E1506DE0265 for ; Sat, 26 Oct 2019 10:06:19 -0700 (PDT) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3805E16005F for ; Sat, 26 Oct 2019 19:00:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1572109222; bh=NrS2xYLFm7NtBodSD383fMrjTc+ywZamz4JwWkCOCGY=; h=From:To:Subject:Date:From; b=cOPxhUj9/U33P2u06FghvIPxAziFqKpG54Wj4Ju6s+WfbXPmpu4HzWVyXnsgQLgTV bmmAycE1CBFr6FYBv+2RmmrzIFyo1hQ7qU7/yElEvXsvkrXmYfSki1OO5fcXcT5fzi GOz7iaecZDCBgD2Ue+p5FmOJGVQ8ZQooYRmpohxC1pXn6elOKCQeJeJR72BUe39kYs iye1xsFCSSfsZn0+HSzT1q1hLixjafFD5ljf4p+ep9deNbn1Qnt3jr1Vl0B7xo4lpb luPeF3sH0N9ky7+zHJynL/7CePEt9lS3HHD+3etWRoRVTithOClXTzue5DSkUhgKFo VYgAEHDgpo+gQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 470nKc5w5Fz6tmD; Sat, 26 Oct 2019 19:00:20 +0200 (CEST) From: Tomas Nordin To: Aren Tyr , notmuch@notmuchmail.org Subject: Re: notmuch-mua-send + msmtp IS sending perfectly... but Emacs says it failed! Why?! In-Reply-To: References: Date: Sat, 26 Oct 2019 19:00:20 +0200 Message-ID: <874kzvo317.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 17:06:20 -0000 Hello Aren Aren Tyr writes: > Hello all > > I have setup mbsync to receive my e-mail, msmtp to send my mail, and use > notmuch + emacs to read/compose my mail. I have the msmtp-mta package also > installed, so that msmtp acts as a sendmail replacement. I have a bizarre > problem, however, which despite my searching I cannot find an answer to. > > Every time I send a message (via notmuch-mua-send) from within Emacs, the > message apparently 'fails', and I get this error message: I also have msmtp and here is my set of .emacs configs (setq sendmail-program "/usr/bin/msmtp") (setq mail-specify-envelope-from t) (setq message-sendmail-envelope-from 'header) (setq mail-envelope-from 'header) (setq send-mail-function 'message-send-mail-with-sendmail) There is a line for it in my .mailrc: set sendmail="/usr/bin/msmtp" I /think/ that's all I have about the sending of mails and it works fine. (plus the msmtp configs of course). Best regards -- Tomas