<<< Date Index >>>     <<< Thread Index >>>

Re: Attachments not being opened



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