[neomutt-users] mailbox creation behaviour changed?

Andrew Sullivan ajs at anvilwalrusden.com
Mon Mar 2 16:03:40 CET 2020


Hi,

On Mon, Mar 02, 2020 at 08:46:16AM -0500, Adrian Petrescu wrote:
> On 03/02 01:08AM, Andrew Sullivan wrote:
> > This doesn't seem to happen any more.  Instead I get an error and I'm
> 
> What is this error that you get? Like Sven, it also works just fine for
> me on 20191207. Is your `folder` variable set to something strange?

Thanks for the response.  This is neomutt 20191207 compiled via
homebrew. But your question helps, because it makes me think that the
problem in this case is still related to the folder-hook and
account-hook issues I've been troubleshooting.

To be clear, the reason I noticed this is because the month changed.
I set record this way:

	set record="=sent-mail-`date +%Y-%m`"

The weird thing is, it looks like it _ought_ to be doing the right
thing.  Here's the relevant bits from debug level 5 for this:

[2020-03-02 09:49:54]<1> mutt_write_multiple_fcc() Fcc: initial mailbox = 'imaps://mx4.yitter.info/sent-mail-2020-03'
[2020-03-02 09:49:54]<2> mutt_socket_write_d() 10> DONE
b3327 STATUS "sent-mail-2020-03" (UIDNEXT UIDVALIDITY UNSEEN RECENT MESSAGES)
[2020-03-02 09:49:54]<5> mutt_socket_readln_d() 10< b3326 OK Idle completed.
[2020-03-02 09:49:54]<5> mutt_socket_readln_d() 10< b3327 NO Mailbox doesn't exist: sent-mail-2020-03 (0.000 + 0.000 secs).
[2020-03-02 09:49:54]<3> imap_cmd_step() IMAP queue drained
[2020-03-02 09:49:54]<3> mutt_buffer_mktemp_full() imap/imap.c:2298: mutt_mktemp returns "/var/folders/p6/x273422d61gbwc_10m_klnqc0000gp/T//neomutt-anvilwalrusden-502-85240-11023012856102600542"
[2020-03-02 09:49:54]<5> mutt_write_one_header() buf[Subject: test test] is short enough
[2020-03-02 09:49:54]<4> mutt_progress_update() updating progress: 0K
[2020-03-02 09:49:54]<2> mutt_socket_write_d() 10> b3328 APPEND "sent-mail-2020-03" (\Seen) "02-Mar-2020 09:49:54 -0500" {358}
[2020-03-02 09:49:54]<5> mutt_socket_readln_d() 10< b3328 NO [TRYCREATE] Mailbox doesn't exist: sent-mail-2020-03 (0.000 + 0.000 secs).
[2020-03-02 09:49:54]<3> imap_cmd_step() IMAP queue drained
[2020-03-02 09:49:54]<1> imap_append_message() command failed: b3328 NO [TRYCREATE] Mailbox doesn't exist: sent-mail-2020-03 (0.000 + 0.000 secs).
[2020-03-02 09:49:54]<E> imap_append_message() [TRYCREATE] Mailbox doesn't exist: sent-mail-2020-03 (0.000 + 0.000 secs).
[2020-03-02 09:49:54]<1> mx_msg_close() unlinking /var/folders/p6/x273422d61gbwc_10m_klnqc0000gp/T//neomutt-anvilwalrusden-502-85240-11023012856102600542
[2020-03-02 09:51:40]<M> ci_send_message() Mail sent

Thanks again,

A

-- 
Andrew Sullivan
ajs at anvilwalrusden.com


More information about the neomutt-users mailing list