On Fri, Aug 14, 2009 at 10:35:27PM +1000, Mark Suter wrote:

> What output do you get from the attached script?  I've attached       
> what I get for comparison - this works for me.        

It seems to be the same: I've attached it.

I've managed to find out what's trigger it: by default, I have:

  set mbox_type=Maildir

If in mutt I do: ":set mbox_type=mbox" and then save to foo.gz, it
works. If later I do ":set mbox_type=Maildir" and then save to foo.gz,
it does nothing.

Even with mbox_type=Maildir mutt is perfectly able to find out that I'm
trying to save to a mailbox (it just checks if the file exists) and then
does the right thing. It seems to fail however for compressed mailboxes.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <[email protected]>
## Create an empty file
:> mbox
+ :

## Have mutt use it
> muttrc echo "set record=mbox"
+ echo 'set record=mbox'
true | mutt -F muttrc -s "alpha" $USER
+ true
+ mutt -F muttrc -s alpha enrico

## Test for the results (expect one line)
grep alpha mbox
+ grep alpha mbox
Subject: alpha

## Compress mbox
gzip mbox
+ gzip mbox

## Have mutt use it
> muttrc echo "set record=mbox.gz"
+ echo 'set record=mbox.gz'
true | mutt -F muttrc -s "beta" $USER
+ true
+ mutt -F muttrc -s beta enrico
Compressed-appending to mbox.gz...

## Test for the results (expect two lines)
zgrep -E 'alpha|beta' mbox.gz
+ zgrep -E 'alpha|beta' mbox.gz
Subject: alpha
Subject: beta

## Stop capturing stderr
exec 2>&3
+ exec
Including output of `mutt -v'...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Enrico Zini <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: none

Package: mutt
Version: 1.5.20-2
Severity: wishlist



-- Package-specific info:
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 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.6.29-2-amd64 (x86_64)
ncurses: ncurses 5.7.20090803 (compiled with 5.7)
libidn: 1.15 (compiled with 1.15)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jul  9 2009 11:48:41)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-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 <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mutt depends on:
ii  libc6                    2.9-23          GNU C Library: Shared libraries
ii  libcomerr2               1.41.3-1        common error description library
ii  libgdbm3                 1.8.3-6         GNU dbm database routines (runtime
ii  libgnutls26              2.6.6-1         the GNU TLS library - runtime libr
ii  libgpg-error0            1.6-1           library for common error values an
ii  libgpgme11               1.1.8-2         GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libidn11                 1.15-1          GNU Libidn library, implementation
ii  libk5crypto3             1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libncursesw5             5.7+20090803-1  shared libraries for terminal hand
ii  libsasl2-2               2.1.23.dfsg1-1  Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  libsasl2-modules          2.1.23.dfsg1-1 Cyrus SASL - pluggable authenticat
ii  locales                   2.9-23         GNU C Library: National Language (
ii  mime-support              3.46-1         MIME files 'mime.types' & 'mailcap
ii  postfix [mail-transport-a 2.6.2~rc1-1    High-performance mail transport ag

Versions of packages mutt suggests:
ii  aspell                        0.60.6-1   GNU Aspell spell-checker
ii  ca-certificates               20090709   Common CA certificates
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
ii  ispell                        3.1.20.0-5 International Ispell (an interacti
pn  mixmaster                     <none>     (no description available)
ii  openssl                       0.9.8k-3   Secure Socket Layer (SSL) binary a
ii  urlview                       0.9-18     Extracts URLs from text

Versions of packages mutt is related to:
ii  mutt                          1.5.20-2   text-based mailreader supporting M
pn  mutt-dbg                      <none>     (no description available)
pn  mutt-patched                  <none>     (no description available)

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to