Ticket #847 (closed defect: fixed)

Opened 7 years ago

Last modified 3 years ago

mutt fails without error-message when 's'aving a message to a maildir without tmp/ dir inside it

Reported by: jurriaan@… Owned by: mutt-dev
Priority: minor Milestone:
Component: mutt Version: 1.3.23i
Keywords: Cc:

Description

Package: mutt
Version: 1.3.23-1
Severity: normal

-- Please type your report below this line

I recently swapped partitions, and it seems I forgot to check if all my
directories were created correctly. I noticed that I couldn't save
messages to another folder in Mutt; it failed without any error message.
It turned out I tried to save to a maildir without a tmp/ directory in
the maildir. It's logical mutt failes on this, it isn't very nice that
no error message is given.

Good luck,
Jurriaan

-- Mutt Version Information

Mutt 1.3.23i (2001-10-09)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.13-ac5 [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.



>How-To-Repeat:
>Fix:

Change History

Changed 7 years ago by jurriaan@…

Package: mutt
Version: 1.3.23-1
Severity: normal

-- Please type your report below this line

I recently swapped partitions, and it seems I forgot to check if all my
directories were created correctly. I noticed that I couldn't save
messages to another folder in Mutt; it failed without any error message.
It turned out I tried to save to a maildir without a tmp/ directory in
the maildir. It's logical mutt failes on this, it isn't very nice that
no error message is given.

Good luck,
Jurriaan

-- Mutt Version Information

Mutt 1.3.23i (2001-10-09)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.13-ac5 [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.

Changed 5 years ago by Alain Bench <veronatif@…>

Hello Jurriaan, thanks for your report.

On Wednesday, October 31, 2001 at 11:56:14 AM -0000, Jurriaan W. Kalkman wrote:

> I couldn't save messages to another folder in Mutt; it failed without
> any error message. It turned out I tried to save to a maildir without
> a tmp/ directory in the maildir. It's logical mutt failes on this, it
> isn't very nice that no error message is given.

   I can confirm with Mutt 1.5.4. In fact there is an error message,
just it is overwritten as soon as displayed. Saving to a test corrupt
maildir failed "silently" (well, it $beeps), but digging in typescript:

| /tmp/maildir/tmp/cur.1064083159.25914_0.machine:2,S: No such file or directory (errno = 2)


Bye!	Alain.

Changed 3 years ago by brendan

  • status changed from new to closed
  • resolution set to fixed
Fixed in CVS.
Note: See TracTickets for help on using tickets.