Re: Deleting Attachments from Index View

2021-04-15 Thread John Hawkinson
The IMAP FETCH command allegedly supports retrieving individual sections of a 
message, including the headers and parsed sections of the body based on MIME 
parts. I have no idea what the support for this feature is like.

--
jh...@alum.mit.edu
John Hawkinson


Re: Deleting Attachments from Index View

2021-04-15 Thread No Suck
2021-04-15 0:53 GMT-04:00, Matthias Apitz :
> I now even think, there is no other way, because the attachments are in
> a sequence in the mail body, separated by some describing head lines,
> and mutt must read the full body to present them.

Good point.  In that case, the delete-entry command in the attachment
menu context could technically be called a modify-body command.  I am
not familiar with IMAP but might have surmised it provided commands for
simply deleting attachments.  That is probably not the case.

Thank you for the helpful responses.


Re: Deleting Attachments from Index View

2021-04-14 Thread Matthias Apitz
El día miércoles, abril 14, 2021 a las 09:42:00p. m. -0400, No Suck escribió:

> Thank you for the idea.  Unfortunately, testing with a bandwidth monitor
> (nethogs) shows that mutt downloads all attachments upon executing
> view-attachments from the index view.  Can anyone confirm this?  ...

Correct. I did a test with a mail with a 5 MB attachment over IMAPS.
The view-attachments downloads the attachments before presenting the
overview. I now even think, there is no other way, because the
attachments are in a sequence in the mail body, separated by some
describing head lines, and mutt must read the full body to present them.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba 
an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/


Re: Deleting Attachments from Index View

2021-04-14 Thread No Suck
Thank you for the idea.  Unfortunately, testing with a bandwidth monitor
(nethogs) shows that mutt downloads all attachments upon executing
view-attachments from the index view.  Can anyone confirm this?  By the
way, I connect by executing change-folder with the following target:

imaps://sunnycemet...@gmail.com@imap.gmail.com/INBOX


Re: Deleting Attachments from Index View

2021-04-14 Thread Matthias Apitz
El día miércoles, abril 14, 2021 a las 01:32:15a. m. -0400, 
sunnycemet...@gmail.com escribió:

> Hello, everyone.  I would like to save bandwidth.  If an email has a large
> attachment that I know I do not need, is it possible to delete the
> attachment from mutt's index view and *then* open (download) the message
> body?  I found no such command in mutt's documentation.
> 

I think, if you use from the Index the command 'v' and them move down to
the attachment in question and type 'd' for deletion and go back with
'q' to the Index and then sync with '$', the mail will not be down
loaded.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba 
an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/


Re: deleting attachments in signed emails

2015-04-05 Thread Kevin J. McCarthy
David J. Weller-Fahy wrote:
 * Brian Salter-Duke brian.james.d...@gmail.com [2015-04-05 16:35 -0400]:
 While you are fixing these problems, could one of you look at a problem
 I reported a few weeks ago.
 
 Hrm... what's the ticket number?  I just checked and couldn't find the
 bug report.
 
http://www.kurokatta.org/hacks/src/mutt-1.5.13-rmattach.patch
 
 It was meant for PGP-encrypted messages; hopefully it works for S/MIME as
 well.
 
 I looked at the patch, which seems to be trivial, but I'm not familiar
 enough with the code to divine the side-effects of the single change.
 
 Kevin, thoughts?

Yes, that patch was forwarded onto mutt-dev.  There was some discussion
and a few different ideas from the other committers.  It's still on my
list, but I may have to poke the thread a bit to see if we can reach a
consensus.

-Kevin


signature.asc
Description: PGP signature


Re: deleting attachments in signed emails

2015-04-05 Thread David J. Weller-Fahy

* Brian Salter-Duke brian.james.d...@gmail.com [2015-04-05 16:35 -0400]:

While you are fixing these problems, could one of you look at a problem
I reported a few weeks ago.


Hrm... what's the ticket number?  I just checked and couldn't find the
bug report.


   http://www.kurokatta.org/hacks/src/mutt-1.5.13-rmattach.patch

It was meant for PGP-encrypted messages; hopefully it works for S/MIME as
well.


I looked at the patch, which seems to be trivial, but I'm not familiar
enough with the code to divine the side-effects of the single change.

Kevin, thoughts?

Regards,
--
dave [ please don't CC me ]


signature.asc
Description: PGP signature


Re: Deleting attachments

2009-03-18 Thread Ryan Corder
On Tue, Mar 17, 2009 at 08:07:18AM +, J??rg Sommer wrote:
| Why not use a macro that opens the attachment viewer and marks all
| attachments for deletion and leaves the attachment viewer.


True, this would be pretty easy.  I'm looking more toward implementing
a 'search for all attachments in the current mailbox' according to
a regex (or some other criteria) and then be able to perform an arbitrary
action on said attachments.


-- 
Ryan Corder  || () ASCII ribbon campaign
ryanc at greengrey.org || /\  against HTML email
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x1CB59D69


pgp02QqL5fEwL.pgp
Description: PGP signature


Re: Deleting attachments

2009-03-17 Thread Jörg Sommer
Hallo Ryan,

Ryan Corder ry...@greengrey.org wrote:
 On Mon, Mar 16, 2009 at 09:58:29AM -0400, Jorge Luis wrote:
| Is there a way to interactively delete attachments to an arbitrary mutt mbox
| folder?
| 
| In other words, is it possible to list my folders, sort them by size, and 
then
| claw through the directory, deleting attachments that I no longer need.

 I've wished for this for years.  I've gotten used to digging
 into each message and selectively deleting the attachments,
 but I still wish this feature existed.

Why not use a macro that opens the attachment viewer and marks all
attachments for deletion and leaves the attachment viewer.

Schöne Grüße, Jörg.
-- 
Da würde ich auch lieber den Panzerführerschein machen als den MCSE.
Bringt mehr, dürfte das gleiche kosten und macht sicher mehr Spaß.
   Jens Dittmar in de.comp.security


Re: Deleting attachments

2009-03-16 Thread Ryan Corder
On Mon, Mar 16, 2009 at 09:58:29AM -0400, Jorge Luis wrote:
| Is there a way to interactively delete attachments to an arbitrary mutt mbox
| folder?
| 
| In other words, is it possible to list my folders, sort them by size, and then
| claw through the directory, deleting attachments that I no longer need.

I've wished for this for years.  I've gotten used to digging
into each message and selectively deleting the attachments,
but I still wish this feature existed.

I've been wanting to jump into Mutt development, maybe I
should start with a patch for this... 

Don't get your hopes up anytime soon though.


-- 
Ryan Corder  || () ASCII ribbon campaign
ryanc at greengrey.org || /\  against HTML email
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x1CB59D69


pgp9MIoj0RlT6.pgp
Description: PGP signature


Re: Deleting attachments

2009-03-16 Thread Jörg Sommer
Hi Jorge,

Jorge Luis li...@jorge.cc wrote:
 Is there a way to interactively delete attachments to an arbitrary mutt mbox
 folder?

In short: on the mail hit v (view-attachments) and delete the attachments
with d (delete-entry).

Bye, Jörg.
-- 
Fazit: „Schießen Sie nicht mit dem Geiger!“
news:46778c4c$0$6396$9b4e6...@newsspool2.arcor-online.net


Re: deleting attachments

2008-03-04 Thread Patrick Shanahan
* Michael M. Tung [EMAIL PROTECTED] [03-04-08 07:39]:
 
 I was wondering if there is an easy way to delete attachments from
 postponed messages. For email which you receive the procedure is
 clear ('v' and afterwards 'd'). In the postponed message menu
 the d-key is reserved for descriptions. 

try shiftd

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Deleting attachments from a message

2002-02-20 Thread Nicolas Rachinsky

* On Wed, Feb 20, 2002 at 10:37:13AM +0100,
* René Clerc [EMAIL PROTECTED] wrote:
 IIRC, it was possible in mutt to delete an atachment from a message,
 but leave the message itself intact. I just tried to do this with my
 mutt (1.3.25), but it didn't seem to work anymore.

Still works here.

 What I did was:
 'v'iew attachments
 'd'elete attachment
 'q'uit to index
 (by now, a small 'd' appears in front of the message)
 '$'ynchronize the mailbox

And the attachement is gone.

I use 1.3.27, many patches but not mutt-1.3.24.dgc.attach.2
I tried within a maildir folder, perhaps this makes some difference.

Nicolas




Re: Deleting attachments from a message

2002-02-20 Thread Stefan Frank

At Wed, Feb 20 2002 [10:37 +0100], René Clerc aroused my curiosity with:
 Hi all,

Hello :-)

 IIRC, it was possible in mutt to delete an atachment from a message,
 but leave the message itself intact. I just tried to do this with my
 mutt (1.3.25), but it didn't seem to work anymore.

It doesn't seem to work when dgc's attachment patch is applied. I
checked this against an unpatched mutt - it stopped working after the
patch was applied (mutt-1.3.23.dgc.attach.2 in my configuration).

Tschoe,
Steff



msg24602/pgp0.pgp
Description: PGP signature


Re: Deleting attachments from a message

2002-02-20 Thread David Ellement

On 020220, at 18:00:45, Stefan Frank wrote
 It doesn't seem to work when dgc's attachment patch is applied. I
 checked this against an unpatched mutt - it stopped working after the
 patch was applied (mutt-1.3.23.dgc.attach.2 in my configuration).

This was fixed in mutt-1.3.23.dgc.attach.3.

-- 
David Ellement



Re: Deleting attachments from a message

2002-02-20 Thread David Champion

On 2002.02.20, in [EMAIL PROTECTED],
David Ellement [EMAIL PROTECTED] wrote:
 On 020220, at 18:00:45, Stefan Frank wrote
  It doesn't seem to work when dgc's attachment patch is applied. I
  checked this against an unpatched mutt - it stopped working after the
  patch was applied (mutt-1.3.23.dgc.attach.2 in my configuration).
 
 This was fixed in mutt-1.3.23.dgc.attach.3.

Yes, this is correct. Unfortunately, I neglected to update my web page,
so I'm not sure that anyone but David knew about it. :/

I've just done so:
http://home.uchicago.edu/~dgc/mutt/#attach

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Deleting attachments from a message

2002-02-20 Thread René Clerc

* David Champion [EMAIL PROTECTED] [20-02-2002 18:48]:

   It doesn't seem to work when dgc's attachment patch is applied. I
   checked this against an unpatched mutt - it stopped working after the
   patch was applied (mutt-1.3.23.dgc.attach.2 in my configuration).
  
  This was fixed in mutt-1.3.23.dgc.attach.3.
 
 Yes, this is correct. Unfortunately, I neglected to update my web page,
 so I'm not sure that anyone but David knew about it. :/

Well, I didn't ;)

 I've just done so:
   http://home.uchicago.edu/~dgc/mutt/#attach

Thanks very much. Now I'm happy again.

-- 
René Clerc  - ([EMAIL PROTECTED])

All you need is love.
-John Lennon



msg24615/pgp0.pgp
Description: PGP signature