From: hgv <hgv@fastmail.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Help with sending mail from notmuch-emacs
Date: Fri, 13 May 2022 18:38:15 -0400 [thread overview]
Message-ID: <165248149566.88308.11337284788338947893@1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa> (raw)
In-Reply-To: <87h75uxw2c.fsf@tethera.net>
Quoting David Bremner <david@tethera.net> (2022-05-12 17:47:23)
> hgv <hgv@fastmail.com> writes:
>
> Did you try setting a break on notmuch-maildir-fcc-with-notmuch-insert?
> I'm guessing that it doesn't get called because the output of msmtpq is
> misinterpreted as an error. I think this is a bug in msmtpq (or at least
> a way in which it differs from a traditional sendmail). For me (using
> nullmailer) "/usr/lib/sendmail -oi -f david@tethera.net -t < foo.eml"
> generates no output on success. If you can change / replace the msmtpq
> script, you could try commenting out the log line [1] that is printing
> "send was successful".
>
> Another test (which would be worthwhile for your second issue as well),
> is to test with M-x message-mail (however one calls a command in doom).
> This will eliminate the possibility of some setting of notmuch confusing
> things. Of course it still won't insert into the notmuch database, but
> if it is working you should not see a message about "Sending...failed"
>
> David
>
> [1] Maybe line 503?
>
Thank you, David, for the continued help. You were right to focus on the msmtpq script! And I'm sorry I didn't look there before. There is a simple option to set the script to quiet, which solves the issue.
I'm still struggling with the Content-Transfer-Encoding header and the "charset=utf-8" half of the Content-Type header, both of which I cannot get set in my emails, if anyone has any thoughts!
next prev parent reply other threads:[~2022-05-13 22:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 21:54 Help with sending mail from notmuch-emacs hgv
2022-05-09 22:13 ` David Bremner
2022-05-09 22:51 ` hgv
2022-05-12 21:47 ` David Bremner
2022-05-13 22:38 ` hgv [this message]
2022-05-16 10:59 ` David Bremner
2022-05-30 20:37 ` HGV
2022-05-31 0:57 ` David Bremner
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=165248149566.88308.11337284788338947893@1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa \
--to=hgv@fastmail.com \
--cc=david@tethera.net \
--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).