Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to configure Mutt to ask before downloading attachments

221 views
Skip to first unread message

Camaleón

unread,
Jan 19, 2010, 1:10:02 PM1/19/10
to
Hello,

I usually use Mutt in Lenny with my Gmail account via IMAP.

It works nice but when people send me some big attachments (images or
media content) those files are also auto-downloaded in pager and it can
take some time to get the whole message open.

Is there any way I can instruct Mutt to automatically downloads the text
message (body) but ask me what to do with the attached files (get them,
view them, store them, leave them...)?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Chris Jones

unread,
Jan 19, 2010, 7:00:02 PM1/19/10
to
On Tue, Jan 19, 2010 at 01:00:53PM EST, Camale�n wrote:
> Hello,
>
> I usually use Mutt in Lenny with my Gmail account via IMAP.
>
> It works nice but when people send me some big attachments (images or
> media content) those files are also auto-downloaded in pager and it can
> take some time to get the whole message open.
>
> Is there any way I can instruct Mutt to automatically downloads the text
> message (body) but ask me what to do with the attached files (get them,
> view them, store them, leave them...)?

I download mail form Gmail accounts locally via POP3 + fetchmail, but I
thought IMAP only downloaded the header by default.

Anyway, did you try 'v' for view-attachments?

CJ

Freeman

unread,
Jan 20, 2010, 2:40:02 AM1/20/10
to
On Tue, Jan 19, 2010 at 06:00:53PM +0000, Camale?n wrote:
> Hello,
>
> I usually use Mutt in Lenny with my Gmail account via IMAP.
>
> It works nice but when people send me some big attachments (images or
> media content) those files are also auto-downloaded in pager and it can
> take some time to get the whole message open.
>
> Is there any way I can instruct Mutt to automatically downloads the text
> message (body) but ask me what to do with the attached files (get them,
> view them, store them, leave them...)?
>
> Greetings,
>

I posted a mutt question here and got a good answer.

Also, I was kindly reminded of mutt-...@mutt.org , which is a great list.

Mutt-users really know their stuff and respond quickly because they don't
get enough traffic to keep them busy.

Be kind to mutt-users. Send them posts. :)

--
Kind Regards,
Freeman

Camaleón

unread,
Jan 20, 2010, 7:30:02 AM1/20/10
to
On Tue, 19 Jan 2010 18:53:59 -0500, Chris Jones wrote:

> On Tue, Jan 19, 2010 at 01:00:53PM EST, Camaleón wrote:

>> Is there any way I can instruct Mutt to automatically downloads the
>> text message (body) but ask me what to do with the attached files (get
>> them, view them, store them, leave them...)?
>
> I download mail form Gmail accounts locally via POP3 + fetchmail, but I
> thought IMAP only downloaded the header by default.

Once you click to open the e-mail in pager, it downloads the complete
message (haeder, body), attachments included :-(

> Anyway, did you try 'v' for view-attachments?

Yes, that works as expected, I can see the attahched files by pressing
"v".

But what I need is to prevent those big files from being downloaded
unless I really want to proceed.

Greetings,

--
Camaleón

Camaleón

unread,
Jan 20, 2010, 7:40:02 AM1/20/10
to
On Tue, 19 Jan 2010 23:38:04 -0800, Freeman wrote:

>> Is there any way I can instruct Mutt to automatically downloads the
>> text message (body) but ask me what to do with the attached files (get
>> them, view them, store them, leave them...)?
>>

> I posted a mutt question here and got a good answer.

I thought someone reading this list could have some skills with Mutt, so
I first asked here O:-)



> Also, I was kindly reminded of mutt-...@mutt.org , which is a great
> list.
>
> Mutt-users really know their stuff and respond quickly because they
> don't get enough traffic to keep them busy.
>
> Be kind to mutt-users. Send them posts. :)

Okay, okay...

I'll try to keep busy the Mutt list, being king and posting the question
there :-)

Greetings,

--
Camaleón

Chris Jones

unread,
Jan 20, 2010, 12:10:03 PM1/20/10
to
On Wed, Jan 20, 2010 at 07:28:14AM EST, Camale�n wrote:
> On Tue, 19 Jan 2010 18:53:59 -0500, Chris Jones wrote:
>
> > On Tue, Jan 19, 2010 at 01:00:53PM EST, Camale�n wrote:
>
> >> Is there any way I can instruct Mutt to automatically downloads the
> >> text message (body) but ask me what to do with the attached files (get
> >> them, view them, store them, leave them...)?
> >
> > I download mail form Gmail accounts locally via POP3 + fetchmail, but I
> > thought IMAP only downloaded the header by default.
>
> Once you click to open the e-mail in pager, it downloads the complete
> message (haeder, body), attachments included :-(
>
> > Anyway, did you try 'v' for view-attachments?
>
> Yes, that works as expected, I can see the attahched files by pressing
> "v".
>
> But what I need is to prevent those big files from being downloaded
> unless I really want to proceed.

This bug is ancient but sounds like what you are reporting:

http://dev.mutt.org/trac/ticket/663

CJ

Camaleón

unread,
Jan 20, 2010, 12:30:03 PM1/20/10
to
On Wed, 20 Jan 2010 12:06:34 -0500, Chris Jones wrote:

> On Wed, Jan 20, 2010 at 07:28:14AM EST, Camaleón wrote:

>> But what I need is to prevent those big files from being downloaded
>> unless I really want to proceed.
>
> This bug is ancient but sounds like what you are reporting:
>
> http://dev.mutt.org/trac/ticket/663

OMG!

A nine years bug and still open <|:-)

Thanks much for the advice. That is exactly what I wanted to achieve, but
if the bug is really unresolved... mmm, I'm stuck.

I also posted the question to "mutt-users" mailing list but still no
reply.

Greetings,

--
Camaleón

Chris Jones

unread,
Jan 20, 2010, 3:20:02 PM1/20/10
to
On Wed, Jan 20, 2010 at 12:22:45PM EST, Camale�n wrote:
> On Wed, 20 Jan 2010 12:06:34 -0500, Chris Jones wrote:
>
> > On Wed, Jan 20, 2010 at 07:28:14AM EST, Camale�n wrote:
>
> >> But what I need is to prevent those big files from being downloaded
> >> unless I really want to proceed.
> >
> > This bug is ancient but sounds like what you are reporting:
> >
> > http://dev.mutt.org/trac/ticket/663
>
> OMG!
>
> A nine years bug and still open <|:-)
>
> Thanks much for the advice. That is exactly what I wanted to achieve, but
> if the bug is really unresolved... mmm, I'm stuck.
>
> I also posted the question to "mutt-users" mailing list but still no
> reply.

Or mutt-dev.. asking for a status.. :-)

I'm not familiar with their bug tracking system, but I'm surprised this
hasn't been take care of some way or other.

Sounds like a legitimate request in the context of IMAP.

CJ

S. Fishpaste

unread,
Jan 20, 2010, 7:10:02 PM1/20/10
to
On Wed, 20 Jan 2010 15:18:32 -0500, Chris Jones in gmane.linux.debian.user wrote:

> On Wed, Jan 20, 2010 at 12:22:45PM EST, Camaleón wrote:

>> Thanks much for the advice. That is exactly what I wanted to achieve, but
>> if the bug is really unresolved... mmm, I'm stuck.
>>
>> I also posted the question to "mutt-users" mailing list but still no
>> reply.
>
> Or mutt-dev.. asking for a status.. :-)
>
> I'm not familiar with their bug tracking system, but I'm surprised this
> hasn't been take care of some way or other.
>
> Sounds like a legitimate request in the context of IMAP.

I'm pretty sure it has, (been taken care of) as my mutt (Sid) only
downloads the headers on IMAP and downloads the message only when I
open it.

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.32-trunk-686 (i686)
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 Nov 21 2009 11:02:22)
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 <mutt...@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2
exit

Tom Furie

unread,
Jan 20, 2010, 10:00:02 PM1/20/10
to
On Wed, Jan 20, 2010 at 06:49:34PM -0500, S. Fishpaste wrote:

> I'm pretty sure it has, (been taken care of) as my mutt (Sid) only
> downloads the headers on IMAP and downloads the message only when I
> open it.

What does it do about attachements, though? The OP wants to download the
body, but not any attachments until he chooses to.

Cheers,
Tom

--
As usual, this being a 1.3.x release, I haven't even compiled this
kernel yet. So if it works, you should be doubly impressed.
-- Linus Torvalds, announcing kernel 1.3.3

signature.asc

S. Fishpaste

unread,
Jan 21, 2010, 4:10:01 PM1/21/10
to
On Thu, 21 Jan 2010 02:54:33 +0000, Tom Furie in gmane.linux.debian.user wrote:
>
> --+g7M9IMkV8truYOl
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable

>
> On Wed, Jan 20, 2010 at 06:49:34PM -0500, S. Fishpaste wrote:
>
>> I'm pretty sure it has, (been taken care of) as my mutt (Sid) only
>> downloads the headers on IMAP and downloads the message only when I
>> open it.
>
> What does it do about attachements, though? The OP wants to download the
> body, but not any attachments until he chooses to.

<sigh> Damn, going from memory isn't the best is it? I forgot
completely about the attachment aspect. My bad. Excuse the noise,
please.

Camaleón

unread,
Jan 23, 2010, 9:40:02 AM1/23/10
to
On Wed, 20 Jan 2010 15:18:32 -0500, Chris Jones wrote:

> On Wed, Jan 20, 2010 at 12:22:45PM EST, Camaleón wrote:

>> > This bug is ancient but sounds like what you are reporting:
>> >
>> > http://dev.mutt.org/trac/ticket/663

(...)



>> I also posted the question to "mutt-users" mailing list but still no
>> reply.
>
> Or mutt-dev.. asking for a status.. :-)

And so I did a day ago.

Still no response neither from "mutt-user" nor "mutt-dev" :-(

> I'm not familiar with their bug tracking system, but I'm surprised this
> hasn't been take care of some way or other.
>
> Sounds like a legitimate request in the context of IMAP.

Yes, so I think.

Greetings,

--
Camaleón

S. Fishpaste

unread,
Jan 23, 2010, 11:10:02 AM1/23/10
to
On Sat, 23 Jan 2010 14:30:04 +0000 (UTC), Camaleón in gmane.linux.debian.user wrote:
> On Wed, 20 Jan 2010 15:18:32 -0500, Chris Jones wrote:
>
>> On Wed, Jan 20, 2010 at 12:22:45PM EST, Camaleón wrote:
>
>>> > This bug is ancient but sounds like what you are reporting:
>>> >
>>> > http://dev.mutt.org/trac/ticket/663
>
> (...)
>
>>> I also posted the question to "mutt-users" mailing list but still no
>>> reply.
>>
>> Or mutt-dev.. asking for a status.. :-)
>
> And so I did a day ago.
>
> Still no response neither from "mutt-user" nor "mutt-dev" :-(

Try comp.mail.mutt (I beleive that's the right address, search for
mutt if it isn't). The newsgroup has been active.

0 new messages