Hi!
I've got a strange problem. After I updated to Mutt v1.0 ((1999-10-22)
(the Debian package 1.0.0-2) all my colors were mixed around. After playing
around quite a bit I found that I have to comment out the following lines
in /etc/Muttrc:
color hdrdefault cyan black
color quoted green
Debian's /etc/Muttrc is a complete disaster in my experience. It
almost put me off mutt when I first tried it.
It's probably a good idea to delete the file altogether.
Hm, good idea, but that doesn't answer whether I found a bug in mutt.
Any developers reading this?
Ciao,
Andy.
--
I had many problems with colors when I first started using mutt.
Who doesn't? :-)
I was using some old version of ncurses then.
So, you are saying, it's not mutt's fault at all?
Doesn't mutt have any chance to check whether ncurses/slang accepted the
defined colors?
(Actually, even now I do
The Subject is to be specified before the addresses...
Oops, you are so right. Funny it worked anyway.
In line 79 of ~/.mutt/color I've got this:
uncolor index "*"
which is a documented command.
How about this (no quotes):
uncolor index *
Nope, same errors.
I tried
uncolor index
Hi!
Does anyone have any new theories on this problem?
Thanks,
Andy.
Here a few tests:
eule:~echo test | mutt -F /dev/null -s foo spiegl
eule:~echo test | mutt -F .mutt/color -s foo spiegl
Error in .mutt/color, line 79: *: unknown command
source: Error in .mutt/color
eule:~echo "uncolor
Hi!
When I send a mail with a JPG-attachment to a friend that uses the netscape
mailer, the picture does not get displayed inline, but when I use netscape
to send this mail, it does get displayed inline. So, I compared the two
mails and found that mutt writes:
Content-Disposition: attachment
Bruce DeVisser wrote:
^D on the compose menu toggles this, under Mutt 1.2.5i.
(If I hit ? in the compose menu, it's the very first keybinding
described. :)
Great! I just upgraded and really like this feature.
Now I am wondering how I can set the default of disposition to I(nline).
I can't
Well, you can set a compose macro to inline after adding.
Ehmm, sounds like a good idea, but how do I do that?
Sorry for the stupid question,
Andy.
--
E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
EMAIL PROTECTED]"
I tried it this way:
send-hook '~C mutt-' 'my_hdr From: Andy Spiegl [EMAIL PROTECTED]'
but then reverse_name doesn't work.
So I tried:
send-hook '~C mutt-' 'set from="Andy Spiegl [EMAIL PROTECTED]"'
but then from is set for the next mail, not for the current
No, it's currently not possible, unfortunately.
Too bad.
Wouldn't a variable like "disposition-default" be a good idea?
Are any developers listening here? :-)
Or maybe an extension to mailcap like copiousoutput, or like netscape is
doing it with the "x-mozilla-flags"?
Andy.
--
E-Mail:
When I write a mail with a Bcc: header, this header does not get saved to
the Fcc-file. Is there a way to tell mutt to do that?
Thanks,
Andy.
--
E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
:set write_bcc
Wow, you are right, it works!
I had found this switch in the manual, but it says:
Controls whether mutt writes out the Bcc header when preparing
messages to be sent. Exim users may wish to use this.
So I thought this is talking about the menu you get to see before you send
Hi Jeremy,
interesting question. I'd be interested in a solution to that, too.
Would you please summarize any private mails (if you get any) here?
Thanks,
Andy.
--
E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _
) 1997,1998,1999 David A Pearson
#
# Changes by Andy Spiegl [EMAIL PROTECTED], 1999, 2000
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2
http://www.hagbard.demon.co.uk/mutt.html
Thanks.
Why did you not submit your changes to Dave?
Hm, good question. I guess the changes were pretty personal.
Dave, feel free to adopt anything you want.
Andy.
--
E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de
PGP/GPG: see headers
lot for any comments,
Andy.
--
Andy Spiegl, Radio Maran, Jan, Per
E-Mail: [EMAIL PROTECTED] URL: http://maranon.spiegl.de
o _ _ _
- __o __o /
Hi,
Have you tried setting the "postpone" quad-option to something like
"ask-no" or "ask-yes"?
No, that one was new to me! Thanks a lot!!!
Andy.
--
Dr. Andy Spiegl, Radio Maran, Jan, Per
E-Mail: [EMAIL PROTECTED] URL: http://maranon.spiegl.de
testmailbox
-rw---1 spiegl users 26579 Feb 20 20:57 testmailbox
hamster:~mutt -f testmailbox
2 kept, 2 deleted.
hamster:~l testmailbox
-rw---1 spiegl users 18153 Feb 20 20:57 testmailbox
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL
, but not the timestamp.
By the way you are also wrong about the proof of the 60 seconds. :-)
I had done this test not 5 months ago, but very recently. Only the
timestamp of the file is from February!
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL
mechanisms which really look for mailbox updates.
I vote for removing the code. (c:
Anyone objects?
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http://radiomaranon.org.pe
PGP/GPG: see headers
have to do so that it will be removed?
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http://radiomaranon.org.pe
PGP/GPG: see headers
o _ _ _
- __o
at it: after resend-message mutt leaves the Fcc line empty.
How can I change that?
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http://radiomaranon.org.pe
PGP/GPG: see headers
o
about
how it affects backups and syncronization. I can see how this can
introduce problems w/ programs like, say, rsync.
I change my vote then. But mutt isn't really a democracy.. ;-)
Great! Developers, will you change it then? :-)
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén
Hi to all!
I think I have found a bug. When I send this mail:
-
From: Heidi und Andy Spiegl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Bcc: Heidi Spiegl heidi, [EMAIL PROTECTED]
Subject: test
nothing
-
then the mail simply disappears!
In the syslog I see:
Aug 5 23:23:31
, but they work as mailserver for a large company network...
or mutt is not injecting mail
properly into the mta (set sendmail=[whatever])
I don't use this setting. Maybe I should? Like this:
set sendmail=/usr/lib/sendmail -oi -oem -t
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón
Nov 12 K.d.Ö.R. ( 9) subject
In the pager it's shown correctly though:
Date: Mon, 12 Nov 2001 20:43:52 -0500
From: K.d.ö.R. [EMAIL PROTECTED]
To: Andy Spiegl [EMAIL PROTECTED]
Subject: äöüß
User-Agent: Mutt/1.3.23i
Is there a fix for that?
BTW, I've set:
set index_format=%4C %Z
to display the subjects of
all incoming mails via xmessage on my desktop, but this encoded subjects
look really ugly and don't help me at all.
Thanks a lot,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http
will turn up :-)
Thanks a lot for the hint! I searched, found and programmed. Here is the
result in case that anyone else needs that:
--88
#!/usr/bin/perl
#
# mime_base64-decode -- decodes strings that are mime or base64 encoded
#
# Andy Spiegl, [EMAIL
Note that it is not always encoded with the QP-algorithm. The other
alternative, Base64-encoding is very common nowadays. Especially in
subject-lines.
My little program decodes QP and Base64.
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED
= statbuf.st_mtime;
utime (ctx-path, utimebuf);
+*/
/* reopen the mailbox in read-only mode */
if ((ctx-fp = fopen (ctx-path, r)) == NULL)
Good luck (and don't kill me with flames now),
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL
Perhaps your patch should be included in the standard distribution as a
user-configurable option?
Great idea. I don't remember if I already suggested that or not.
But let's give it a try: :-)
Can we make a user-configurable option out of it, please???
Thanks,
Andy.
--
Dr. Andy Spiegl
new
version of mutt before I can install it. I'm using mutt because it makes
my life easier, not more complicated.
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http://radiomaranon.org.pe
PGP/GPG: see headers
why this happened. So far I didn't even notice it, but now
that I use SpamAssassin to filter out my spams (works great!) it complained
that these TABs weren't RFC822 compatible.
Anyone has seen this before or knows where it could come from?
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón
similar
is there. Strangely enough since a few days he doesn't have theses TABs
anymore. Could it be that some server inbetween us had changed the
headers? I wouldn't think so normally.
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL
lynx --dump --force_html --nolist --hiddenlinks=ignore
my $.02
IMHO, w3m does it even better:
text/html; /usr/bin/w3m -F -dump -T text/html %s; nametemplate=%s.html ;
copiousoutput
Bye,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED
Hi Cameron,
On 13:53 13 Nov 2001, Andy Spiegl [EMAIL PROTECTED] wrote:
| Just a quick question:
| Is there a unix tool to convert something like this
| Subject: Para =?iso-8859-1?Q?Jos=E9_Carlos_Lavalle_?=
| into this
| Subject: Para José Carlos Lavalle
Procmail can be used
to
local addresses, i.e. mutt user1 instead of mutt [EMAIL PROTECTED].
How can I write the send-hook line for local addresses?
Thanks a lot,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
URL: http://spiegl.de, http://radiomaranon.org.pe
PGP/GPG
Hi David,
I haven't tested it yet, and I don't know how clever the regex engine is
for hooks, but have you tried
send-hook [^@]* ...
yet?
No, I haven't. Great idea... and it worked!
So mutts regex engine is really smart :-)
Thanks,
Andy.
--
Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
Hi,
eh, well I think the subject says it all:
Is there a way to make mutt save my GPG-Mails unencrypted to disk?
I thought I had seen something like that in the mailing list, but now I
can't find it anymore.
Any help is appreciated. Thanks!
Andy.
--
http://peru.spiegl.de Our
Hi Viktor and Rocco,
Viktor wrote:
can't help you with your question, however, I always encrypt messages
with the recipient's key and with my own key.
Yep, that's how I do it, too. :-)
This way, the encrypted messages is stored in my fcc folder, but I'm
still able to read it, because it's
Does anyone know a tool to view the text parts of StarOffice/OpenOffice
documents? I finally convinced my windows buddies to switch from
MickySoft, but now my mutt-setup is incomplete. :-)
Thanks,
Andy.
--
http://peru.spiegl.de Our project
http://radiomaranon.org.pe Radio
> application/pdf; pdftotext --text %s; copiousoutput;
I prefer this actually:
---
application/pdf; pdftotext -layout -nopgbrk -q '%s' - ; copiousoutput;
description=PDF; nametemplate=%s.pdf
application/x-pdf; pdftotext -layout -nopgbrk -q '%s' - ; copiousoutput;
description=PDF;
Hi Cameron,
> Use to send the raw message to a script of your own. Some
> random macros of my own:
...
> macro index,pager V "mail-open-attachments" "extract
> attachments to temp dir and open"
Cool idea!
Would you mind sharing the "mail-open-attachments" with us?
Andy
--
All of the
No mess at all. :-)
see attached pic
Andy
--
Now I know what a statesman is; he's a dead politician. We need more statesmen.
(Bob Edwards)
Hi Kevin,
> isn't defined in the attachment menu, only is.
Oh I see. That's a little confusing. :-)
For now, I helped myself by adding "" to the macro when in the attach
menu.
macro attach V "\
\
set my_old_pipe_decode=\$pipe_decode
my_old_pipe_split=\$pipe_split my_old_wait_key=\$wait_key
Hi Cameron,
> open some-directory-name
Oh, MacOS ! :-)
> Though I suppose that makes it part of my desktop environment. Which
> might be what you intended.
Yes.
> Oh, me too. See the apphelper script :-)
Nice. Tried to get it to run on my Linux machine
but after downloading and adapting
Hi Cameron,
> >Uhm, maybe compatibility issues between different bash versions?
>
> I do not write for bash, I write for /bin/sh, which exists on every UNIX
Sorry, I meant to write sh.
> I can ship you a tarball of my out-of-my-homedir /opt/css tree, which has the
> lot.
True. Works now!
Dear Cameron,
thanks a lot for sharing.
I found all necessary parts on your website - lots of interesting stuff there.
:-)
Just one piece is missing: "open" (used in mail-open-attachments)
Is that part of your windowmanager maybe?
But no problem. I simply replaced it with:
cd "$unpackdir" &&
> macro index,pager V "mail-open-attachments" "extract
> attachments to temp dir and open"
I just noticed an interesting detail - or is it a bug?
When I run in the attachment menu
mutt behaves like and only pipes the selected part.
munpack can't handle that and stops with an error.
What
Cameron,
> Well sure. Great desktop, BSD UNIX underneath. And, frankly, really nice
> hardware.
A few years ago I would have fully agreed with you and only complained
about the price. But lately we're having so many problems with Apple
devices and with every OS upgrade the trouble seems to get
Hi Kevin J. McCarthy,
oh this is embarrasing! You're right of course.
> > PS: I'm using the Ubuntu package: 1.13.2-1ubuntu0.4
Yes, but I also installed mutt 2.0 manually to /usr/local last fall
because there was no deb package yet. Apparently the file mime.types
wasn't installed to
> Use notmuch.
...
> I have integrated it with my mutt like so
BTW, are there any plans to integrate notmuch into mutt? (like neomutt does)
Cheers,
Andy
--
If you see someone without a smile, give 'em one of yours. (anonymous)
Hi,
today I noticed that (after over 20 years of using mutt) pdf attachments
aren't declared as application/pdf anymore but application/octet-stream.
I found that /etc/mime.types seems to be ignored and
it works again if I add "application/pdf pdf" to my $HOME/.mime.types.
However the fine
> However, the manual's misleading:
We agree on that. :-)
> > - Can I group mutt aliases with -addr or just addresses?
> Not sure what you mean here.
Sorry, I meant: does "-addr" also match alias names? I guess not.
> That's because all my groups are computed from my address db.
Same here. I
> > That's because all my groups are computed from my address db.
> Same here. I guess I have to update my script which does that.
Done :-)
Now I'm wondering what cool things I can do with it.
Index coloring, limiting, searching sounds easy but not really necessary
since I'm sorting my mails
We had this discussion about text/html attachments recently.
Now, I was wondering how to deal with "multipart/related"
I get emails like this:
I 1 [multipa/alternativ, 7bit, 1.0M]
I 2 ├─> [text/plain, quoted, utf-8, 29K]
I 3 └─>
Cameron:
> However, there are plenty of platforms which are HTML first and provide
> either very poor plaintext equivalents of empty ones, or ever just stuff
> the raw HTML into both parts.
Yes, exactly! What a PITA. I gave up explaining the issue to the senders
because most of them simply
Hi mutt-lovers,
I just found that there seems to be no such thing as a subject-hook.
I was expecting that this would work:
send-hook '~s "URGENT"''my_hdr X-Priority: 1'
but apparently (acc. to the man page) send-hook only matches the recipients.
Do you know of any other way to
Kevin J. McCarthy wrote:
> For that you'd have to jury-rig something yourself, possibly by modifying
> $mailcap_path, or using the 'test=' flag in mailcap, or altering auto_view
> settings.
Cool ideas. I started with defining a macro like that:
macro index r "\
unset implicit_autoview\
"
Hi, I'd really appreciate help with this:
>
> Cool ideas. I started with defining a macro like that:
>
> macro index r "\
> unset implicit_autoview\
> "
>
> Works! But I don't know how to set it back afterwards, uhm.
> I tried unsuccessfully:
> macro index r "\
> unset
Cameron wrote:
thanks for the detailled explanation. Nice use of cmd variables!
> >I tried unsuccessfully:
> > macro index r "\
> > unset implicit_autoview\
> > \
> > set implicit_autoview"
>
> Does that not work? I would expect it to.
I think the problem why it doesn't work here is that
Hi Kevin,
> There isn't a clean built-in way to do what you want, so you'll have to get
> creative.
Very clever. I like it!
When I read "creative" I remembered mutt's hooks and started playing around
with them. My first idea was:
# Turn off autoview before a reply:
reply-hook ~A 'unset
Hi Oleg,
thanks for your reply.
> Below works for me (displays image until pressing any key):
>
> image/*; viu -t %s && read -n 1
Doesn't work for me. :-(
Actually, it's not ALL black but mixed black and white blocks.
If I maximize the size of the xterm I can vaguely recognize the image.
Hi,
recently I discovered the command line program "viu"
(https://github.com/atanunq/viu)
which very nicely displays images in terminal windows. I added this line to my
.mailcap:
image/*; viu -t -n %s ; copiousoutput
Now mutt calls viu for all attached images.
But only a black rectangle is
Kevin,
> The copiousoutput flag could be making a difference here. That will cause
> Mutt to render the output of the command internally, which by default will
> strip all ansi output.
Even if I set "allow_ansi"?
> If you really want to view it inside Mutt's pager, you could set
> $allow_ansi.
Kevin J. McCarthy wrote:
> With $allow_ansi, Mutt will interpret ansi sequences _it understands_ and
> convert them to curses calls.
Interesting! This explains some of my observations.
> Try setting TERM=xterm-256color, or add "xterm.termName: xterm-256color" to
> your .Xresources file
Wow,
Happy New Year everybody!
Playing around with the sidebar I came up with a few inconsistencies or
most likely misunderstandings. Maybe someone could enlighten me please?
* The sidebar really cannot see a difference between NEW and OLD mails?
So, %N shows the sum of NEW and OLD mails?
But
> Sorry I wasn't clear enough.
Now I understood it. Thank you very much!
> Well, you could try putting the keybindings such as
Sure, but weren't we talking about efficency, i.e. without Muttlisp? :-)
Thanks,
Andy
--
The brain is a wonderful organ; it starts working the moment you get up
Playing around with the sidebar I came up with a few inconsistencies or
most likely misunderstandings. Maybe someone could enlighten me please?
* The sidebar really cannot see a difference between NEW and OLD mails?
So, %N shows the sum of NEW and OLD mails?
But then, how is the value %n
Kevin, thanks a lot!
This was exactly what I was looking for.
> The muttlisp can't be inside quotes, so I removed the outer single
> quotes.
Is this only true for "bind" lines?
Because in the macro the muttlisp code is inside quotes:
> macro index j 'run (if (equal $sidebar_visible "yes") \
>
> Oh, I meant less efficient because the evaluation is done every time the key
> is pressed when using the macro. Plus it's a macro executing a
> which is evaluating MuttLisp.
Oh, of course! You are right.
What was I thinking? Maybe I should stop tweaking my mutt config and go to
bed? :-)
Good evening,
I'm trying to bind the "j" key to the function "sidebar-next" if the sidebar is
visible.
The only doable way seems to be using muttlisp.
I tried to follow the example in the mutt manual but I'm failing to write this
tiny piece of lisp code.
Could someone help me please to correct
Hi Neubienaut,
> I would like to view my various imap accounts in the sidebar with count
> of new messages so I don't have to reopen each account in mutt (with mutt
> -f 'imap config file') to check for new mail.
I'm trying something similar but there are a few problems with the sidebar.
Please
73 matches
Mail list logo