Re: Attachments not being opened
- To: mutt-users@xxxxxxxx
- Subject: Re: Attachments not being opened
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 20 Nov 2008 10:09:09 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=MaVrBazUAMdyR2pWL6U0YbbTIPc=; b=R4/D 3+ZUqBDjwsL4U9KEuEynNekd4jrp8RrlZQ/116hICvtuDHS8ZpW05WeFlDqWgDAd GuMJ+Wjldt8Aiboge8LRDF438EInlvflmKC8AAPiHuWImf5pBx/lhzGuZF9aNryk Gq25E2Z4+lTB+y2N33+bnHvHntMcFwhQtn2NsRc=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=YAmAHxUbqYQd7cSoHugoO0GA9xVqw3RRKW6ppbYNsPG4H62voD1LpGPWQIvvVJbd1VeJfH8C7u2eXPB6/d6R0EZhsCtwnVdOIriW2wwOhbG41o/EGkR80lf4zULAVroZi1BHG4VKnbZJAJ56eccKZQ1j1+Pa9dkv5akeGf9k5k0=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <gg3vhq$6q0$1@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <gg3vhq$6q0$1@xxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-11-16)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, November 20 at 04:25 PM, quoth dae3:
> The files are created in /tmp and the correct command is called as
> per /etc/mailcap. Permissions are OK, as confirmed by running the
> command manually on the temp files.
>
> Upon further investigation, I've found that Mutt simply isn't
> passing the file name as an argument to the command. Any insight on
> what might trigger this kind of misbehaviour?
It depends on your mailcap lines. If your mailcap line is this:
image/*; xv
Then what will happen is the equivalent of this:
cat /tmp/imagefile | xv
However, if your mailcap line is this:
image/*; xv %s
Then xv will be passed the file name as an argument; and this will
happen:
xv /tmp/imagefile
Make sense?
~Kyle
- --
Where justice is denied, where poverty is enforced, where ignorance
prevails, and where any one class is made to feel that society is an
organized conspiracy to oppress, rob and degrade them, neither persons
nor property will be safe.
-- Frederick Douglas
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkkli6UACgkQBkIOoMqOI15x3QCg+A7I3vgagjp88IxXPW1gJncS
tHAAoLX9pLguJv+KM/v58uDRePgSiNeW
=P6Ws
-----END PGP SIGNATURE-----