From: Tomas Nordin <tomasn@posteo.net>
To: Aren Tyr <aren.tyr@gmail.com>, notmuch@notmuchmail.org
Subject: Re: notmuch-mua-send + msmtp IS sending perfectly... but Emacs says it failed! Why?!
Date: Sat, 26 Oct 2019 19:00:20 +0200 [thread overview]
Message-ID: <874kzvo317.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CALZRiWsgto+m2RWc8vt_EQxNKk65L9fHf1u-+fhcFgG+UQv6Vg@mail.gmail.com>
Hello Aren
Aren Tyr <aren.tyr@gmail.com> 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
next prev parent reply other threads:[~2019-10-26 17:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 15:17 notmuch-mua-send + msmtp IS sending perfectly... but Emacs says it failed! Why?! Aren Tyr
2019-10-26 15:17 ` Tomi Ollila
2019-10-26 17:00 ` Tomas Nordin [this message]
2019-10-26 22:07 ` Aren Tyr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kzvo317.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
--to=tomasn@posteo.net \
--cc=aren.tyr@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).