Enrico, 

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

PS: I'm just an interested third-party...       

--      
Mr Mark Suter <[email protected]> | I have often regretted my        
Free Software Foundation Member #365 | speech, never my silence.        
mobile 0411 262 316 gpg key 2C71D63D | Xenocrates (396-314 B.C.)        

Attachment: mutt-541360.sh
Description: Bourne shell script

## 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 suter

## 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 suter
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: Mark Suter <[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.26-1-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:50:20)
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 unstable
  APT policy: (1001, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages mutt depends on:
ii  libc6                  2.9-24            GNU C Library: Shared libraries
ii  libcomerr2             1.41.8-2          common error description library
ii  libgdbm3               1.8.3-6           GNU dbm database routines (runtime
ii  libgnutls26            2.8.1-2           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+b1 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-24         GNU C Library: National Language (
ii  mime-support              3.46-1         MIME files 'mime.types' & 'mailcap
ii  sendmail-bin [mail-transp 8.14.3-9       powerful, efficient, and scalable 

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
ii  mixmaster                     3.0.0-3    Anonymous remailer client and serv
ii  openssl                       0.9.8k-4   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