I do roughly the same, though I use a wrapper script that lets me choose an
inline (sixel) or external viewer. Sometimes I want to view the image while
walking mutt on to another task, and in that case the wrapper script
handles the lifecycle of the temporary file thus needed.
mailcap:
# -i or -e,
* On 20 Dec 2020, Cameron Simpson wrote:
>
> David, does the comma flavoured version trim whitespace on the results?
> I ask because my mail filing has been using ", " in X-Label in strict
> adherence to nothing whatsoever. OTOH, I can change that.
Yes. :)
--
David Champion • d...@c13.us
ASH(0x5652badff508)".
That looks like something printed from a perl program. Is the program
you're piping to a perl program? Possible that it's doing something
wrong with your input, and just printing an internal value?
--
David Champion • d...@c13.us
Sorry for top-posting, the quoted stuff below is relevant but I don't want
to respond point by point.
As Kevin mentioned, I have some patches that work to resolve this
stuff. They're up to date as of Mutt 2.0, and I hope to work on merging
over the next few weeks (winter break in the US).
A quick
t-to-self-neomutt
> patch-fmemopen-neomutt
> patch-forgotten-attachments-neomutt
> patch-forwref-neomutt
> patch-ifdef-neomutt
> patch-index-color-neomutt
> patch-initials-neomutt
> patch-keywords-neomutt
> patch-kyoto-neomutt
> patch-limit-current-thread-neomutt
> patch-lmdb-neomutt
> patch-lua-neomutt
> patch-multiple-fcc-neomutt
> patch-nested-if-neomutt
> patch-new-mail-neomutt
> patch-nntp-neomutt
> patch-notmuch-neomutt
> patch-progress-neomutt
> patch-quasi-delete-neomutt
> patch-reply-with-xorig-neomutt
> patch-sensible-browser-neomutt
> patch-sidebar-neomutt
> patch-skip-quoted-neomutt
> patch-status-color-neomutt
> patch-timeout-neomutt
> patch-tls-sni-neomutt
> patch-trash-neomutt
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
y to run native windows
commands from within the WSL - even if that's a separate executable you
have to prefix commands with (e.g.: sh -c "exerun MSPaint.exe").
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
* On 31 Jan 2017, Patrick Shanahan wrote:
> * David Champion [01-31-17 19:31]:
> > * On 31 Jan 2017, Andreas Doll wrote:
> > >
> > > I write emails using vim, which provides the handy function gggqG. This
> > > function reformats text such that it doesn'
ot; 0 1 2 3 15
cat >$tmp
cat commands.vim | ex $tmp
Then set display_filter to run that script.
This is all approximate - untested. Some tweaks might be necessary.
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
nsistent and predictable encoding no
matter what oddities appear in the original string.
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
an't see what I
> might have added to my .muttrc to make it work.
It should just work.
What happens when it doesn't work? If I tag-pattern something that isn't
defined -- in this case, "~." -- I get this:
.: invalid pattern modifier
Do you get that error, or doe
* On 14 Sep 2016, Cameron Simpson wrote:
> On 14Sep2016 18:35, David Champion wrote:
>
> Just an aside, now often do you encounter "/" in a Message-ID? It is legal,
> and has long discouraged me from the otherwise obvious and inuitive
> name-a-file-after-the-message-
a directory under /tmp/foo named for the message's
message-id, and store each attachment inside. Filenames are taken
from the MIME or generated sequentially if there is no filename.
--
David Champion • d...@bikeshed.us
#!/usr/bin/env python
#
# TODO: merge into sympafile
#
import o
mtp relay. So mutt really has no interest in validation of an address
beyond the RFC. It never really looks at your addresses beyond that.
At an even higher level, the only method the internet supports to
validate an address is to send it email and see what happens.
--
David Champion • d...@bikeshed.us
on name and a device name to help you
remember where you're using that password, but they're all equivalent.
Google doesn't pick up on what each one is specifically being used from,
although they may track whether passwords are being used at all.
Choose your own granularity.
--
David Champion • d...@bikeshed.us
* On 21 Apr 2016, Jon LaBadie wrote:
>
> Unless it has changed recently, bash runs redirected read
> commands in a sub-process. Thus the variable fn would not
> get set in the main process.
I haven't run into this (that I recall) with regular input redirection.
It does happen with piped input r
ks on STDIN and mutt already piped to STDIN.
You've analyzed it right. Solution: read "$fn"
--
David Champion • d...@bikeshed.us
ot;$@""\c"; };;
*) necho () { echo -n "$@"; };;
esac
Speaking of which, it's taken me until the last year to use $(command)
consistently instead of `command`, and I'm not sure anymore why I was
a stickler. I assume some older shell didn't support $() but I can't
recall which.
--
David Champion • d...@bikeshed.us
to support some of those, believe it or not.
Related:
if [ x = "x$1" ] ...
--
David Champion • d...@bikeshed.us
tually dangerous
to fix when a decent workaround is available. I think the architects of
modernity made a mistake on this one -- although reverting it now would
be a mistake for the same reason.
--
David Champion • d...@bikeshed.us
are no messages to move it moves the first
> > message of
> > the inbox to readmail, disregarding the 2w.
> >
> > Does anyone know a solution to this?
http://www.mutt.org/doc/devel/manual.html#tags
I.e. use instead of , and wrap up with an
.
--
David Champion • d...@bikeshed.us
ent. But if every MTA between mutt and fastmail is running under
TZ=UTZ, that's another knowledge bypass.
--
David Champion • d...@bikeshed.us
he worthwhile developments in any
forks of their projects. As a developer it seems backwards to me, but
if it works for your coding projects, I'm glad for you.
--
David Champion • d...@bikeshed.us
ere mutt-kz is headed, but indicators aren't
positive (cf. converting to another vcs and never posting here).
--
David Champion • d...@bikeshed.us
all that anyone else has ever made that effort either.
So his project is de facto a divergent fork. It has its own
distributions and adherents, and nobody is bringing any efforts in
mutt-kz back to mutt. It divides the mutt user community. And his
decision to convert all his development t
.
mutt-kz keeps the license. It does not work with the greater mutt
community.
--
David Champion • d...@bikeshed.us
D | egrep '^some_variable='
That would tell you very simply whether that variable is in the
configuration.
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
configure option to enable it and kz tracks upstream, then you
should be able to get the --enable option from mutt-v.
Otherwise... you could strings the binary I guess? Or run mutt against a
-F config file containing sidebar config options, and see if it errors
out to test for feature presence
http://dev.mutt.org/doc/manual.html#variables
--
David Champion • d...@bikeshed.us
ttrc.
You can also use "mutt -p" to recall postponed from the command line at
startup. Mutt will exit when you leave postponed mode.
--
David Champion • d...@bikeshed.us
coming mails from foo...@bars.name will have "Foo Bar" in the
> origin field.
But you do need:
set reverse_alias
to get that.
--
David Champion • d...@bikeshed.us
ssion ciphertext. The other way stores these
ciphertexts anonymously -- not indexed by key ID. This is more secure,
but slower because PGP must try each one in turn to find the correct
ciphertext. It's not a problem for a few recipients though -- it's
really only a performance problem with many separate recipients.
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
hinking about this stuff. I'd be interested in a comprehensive
plan that addresses multiple use cases and doesn't break existing
configs. One passing thought that I haven't given much consideration
to: fail-hook, defining what happens when something doesn't complete
as intended. (But the _much_ harder problem is detecting failure in a
consistent and useful way.)
--
David Champion • d...@bikeshed.us
and end of several other definitions, the mind learns to
> ignore them when considering the logic of the macro later.
Yes. I do that pretty often and agree it's appropriate here.
--
David Champion • d...@bikeshed.us
ay to push or save the current wait_key setting so that it
> gets set back to the original value when the macro is complete?
The pattern is:
set my_wait_key=$wait_key
unset wait_key
set wait_key=$my_wait_key
--
David Champion • d...@bikeshed.us
hat compress-hook
was suboptimal, and instead I use dynamic compression and deduplication
at the filesystem layer. It's delightful.
--
David Champion • d...@bikeshed.us
iginal message. Oh well,
> ... maybe I'll see about writing a patch.
I'm not sure there's really any security risk in allow_ansi. (Perhaps
there was once, I don't recall.) Looking quickly at the ANSI-handling
code, it seems to allow only colors and text attributes (bold,
underl
eft as an exercise. But I wouldn't
recommend it really. I find personally that downscoring top-posters is
a pretty poor way to judge content. If it works for you, great, but you
must not exchange email with very many normal people. :)
--
David Champion • d...@bikeshed.us
;
> Any ideas how to implement this as automagically?
Sorry, couldn't resist the top-posting. :)
--
David Champion • d...@bikeshed.us
just taps into that.
--
David Champion • d...@bikeshed.us
uggestions?
>
> Russ
What does your .urlview file look like?
--
David Champion • d...@bikeshed.us
onventionally the only
way around this is to proactively degrade your data security and allow
world (or group) access.
I wonder if this is a strong enough argument to support configurable
POSIX ACLs in mutt, and what exactly that support should consist of.
--
David Champion • d...@bikeshed.u
truth remains that how we quote email is a train that's
been accelerating for decades. Turning it around now means fighting a
lot of inertia, and it's not going to get done on this mailing list.
That was my other point.
--
David Champion • d...@bikeshed.us
is solidly attributed to Tom Fowle by an
Ian> Erik> unbroken fourth '>' ladder, is it not?
Ian>
Ian> Now compare this correct, but horribly complex analysis (can a
Ian> human really do that habitually?) with the SuperCite "nonstandard"
Ian> [1] quoting I use. Which is easier to read, honestly? If it is
Ian> a matter of colorizing in the mutt pager, a simple setting of
Ian> quote_regexp in .muttrc fixes that. (This should count as ob-mutt
Ian> content.)
Are we really going to do this?
--
David Champion • d...@uchicago.edu • University of Chicago
'"
macro index =y1 "set
index_format='INDEX_Y1'macro index Y '=y0'"
push =y0
The "push =y0" is used instead of setting $index_format directly, so as
to queue up the next item in the list.
So if you used this formula in pager, you could have a toggle that puts
the message-id in the status bar, then when pressed again, removes it.
(%i represents the message-id).
--
David Champion • d...@bikeshed.us
he name of the mailbox.
+ ** The `%!' sequence will be expanded to `!' if there is one flagged
message;
+ ** to `!!' if there are two flagged messages; and to `n!' for n flagged
+ ** messages, n>2.
+ */
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
e being, I'm copy pasting
> addresses to achieve this, so it's not very convenient.
>
> Is this possible to do (and easy)?
You can't prescriptively discard the sender from the recipient list. The
easiest approach is to set edit_headers in your muttrc, so you can
manually fix them in the editor.
--
David Champion • d...@bikeshed.us
here's an example for
contrast.
This is the stock/built-in $index_format:
set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
Here's how I would code it differently using attachments:
set index_format="%4C %Z %{%b %d} %-15.15L %?X?{%2X}&%4c? %s"
--
David Champion • d...@bikeshed.us
n how to tell mutt what attachments you're interested
in:
http://dev.mutt.org/doc/manual.html#attachments
--
David Champion • d...@bikeshed.us
a macro would not use push -- it would be redundant. On
the surface, it seems this should do what you want:
macro attach E
"/home/xuwang/Downloads/y" "xu save"
There may be reasons to have a push inside a macro, but it would
be as part of some other command which the macro is executing via
(same as Cameron's ":" above). So then it's a problem
of using push with that command, not of using push with macro.
--
David Champion • d...@bikeshed.us
eal hash, but I think
collisions are already pretty unlikely.
--
David Champion • d...@bikeshed.us
r message-id above: it doesn't match the date
of your message. It's earlier, and I think if you check your old sent
messages you'll find others with the same ID.
You would need a my_hdr in a send-hook, perhaps, to do this.
Also, I'm not offended, but what's lame about the built-in message-id
generation? Does it need to be patched?
--
David Champion • d...@bikeshed.us
s would make a difference with shell metacharacters, such as if the
> "foo" above was "*".
Both use a shell (but not using system()).
--
David Champion • d...@bikeshed.us
ght try a send2-hook to set your $sendmail according to the
profile you're using (the address you're sending from).
--
David Champion • d...@bikeshed.us
* On 11 May 2015, Ian Zimmerman wrote:
>
> > NOTE: You MUST be subscribed to a list in order to post to it. This is
> > not to make your life harder, but to reduce SPAM and/or UCE.
That's new, and not a general principle.
--
David Champion • d...@bikeshed.us
meeting your request. Nobody knows whether you're subscribed but you. :)
--
David Champion • d...@bikeshed.us
alternates". If the
variable is unset, or the address that would be used doesn't match
your "alternates", the From: line will use your address on the current
machine.
Also see the "alternates" command.
--
David Champion • d...@bikeshed.us
signature.asc
Description: PGP signature
. Don't all mail readers with basic PGP support have
the ability to query keyservers for unknown keys automatically?
--
David Champion • d...@bikeshed.us
rote:
>
>set imap_pass = `openssl aes-256-cbc -salt -d -in ~/.mutt/pw.txt`
>set smtp_pass = $imap_pass
Nice! If you have time to add this somewhere in the Mutt wiki, it looks
like a good approach.
--
David Champion • d...@bikeshed.us
from ... fingers on auto-pilot, I guess.)
Yes, I think that's right. I haven't enabled 2FA myself but that's how
it works when you have a Google Apps account using an organizational
SAML login, and you want to use IMAP. :)
--
David Champion • d...@bikeshed.us
have to set up an "application-specific password" to enable 2-factor
for web and the mobile app, while still using IMAP. This isn't
mutt-specific, it's for any IMAP client.
References:
https://productforums.google.com/forum/#!topic/gmail/WUaXHSdI3WM
https://support.google.co
e items shown without patching
the code. Chris's doesn't show q:Quit because he's unbound the Quit
function. Mutt has a static list of things it tries to show, but that's
filtered by which of them is actually bound to a key (so that it can
show which key).
--
David Champion • d...@bikeshed.us
anged but I wouldn't expect
so since this approach (while a bit messier) is more responsive to the
user POV.
--
David Champion • d...@bikeshed.us
gt; overwrote the temporary file with 0s before deleting it. I thought
> it still did, but I don't know for sure.
You're right, it does overwrite (at least for most cases). I don't
think this was always true, but it's been a very long time since I used
mailcap this way, so I'm pretty distant.
So a hard link won't work.
--
David Champion • d...@bikeshed.us
ontrol what "appropriate" means though; see
http://dev.mutt.org/doc/manual.html#advanced-mailcap
Are you seeing something different?
--
David Champion • d...@bikeshed.us
ipt exit.
> Is there some more detailed doc. about defining alternate pagers somewhere?
> All I see in the manual is that you can specify an external pager.
None that I recall, sorry.
--
David Champion • d...@bikeshed.us
uot;firstname lastname"
>
> I suspect this nonconformance is part of the problem and I don't know how to
> get Mutt to scan the header since it could be not a valid header at all.
>
> /jl
>
> --
> ASCII ribbon campaign ( ) Powered by Lemote Fuloong
> agai
* On 10 Dec 2014, John Long wrote:
>
> On Tue, Dec 09, 2014 at 05:08:22PM -0600, David Champion wrote:
> > * On 09 Dec 2014, John Long wrote:
> > > The messages seem to all have message-ids in the form
> > >
> > > bunchofch...@m.something.com
> >
e?
That matches the following:
[text][whitespace]<[text]@[text]>
This is what an email address should look like, but a message ID should
have only the part. (It should not have leading text +
whitespace.)
--
David Champion • d...@bikeshed.us
am filters, but you could use
it instead to add these messages as high-scoring spam. This allows you
to treat all spam in aggregate, distinctly from other scoring.
http://www.mutt.org/doc/devel/manual.html#spam
--
David Champion • d...@bikeshed.us
z"' on my screen.
I haven't tested against an IMAP server, but this shows what I want to see:
:set ?imap_pass
Does your muttrc contain actual unicode smart quotes or are those just
an artifact of pasting into Apple Mail? They could cause unforeseen
results in mutt's parser.
--
David Champion • d...@bikeshed.us
#x27;re not in the mood for deeper debugging (connecting to canonical
SMTP ports with telnet or netcat or openssl s_client and issuing SMTP
commands manually) then try each of the four patterns above, in order,
and note whether and how they fail due to authentication requirements.
Only set smtp_pass after you have everything working otherwise.
As always, compiling mutt with DEBUG and gathering a .muttdebug0 file
will help greatly.
--
David Champion • d...@bikeshed.us
* On 09 Nov 2014, DaleKelly wrote:
> On 11/09/2014 09:37 PM, David Champion wrote:
> >Debug output
> >might help us figure it out.
>
> how can I do this?
You need +DEBUG enabled:
mutt -v | grep DEBUG
This command:
mutt -d4
creates ~/.muttdebug0. If you r
otiate TLS, you might continue trying to
get 465 to work. I think you're having problems with the SASL
authentication here, not with the connectivity itself. Debug output
might help us figure it out.
--
David Champion • d...@bikeshed.us
; set smtp_url=smtps://smtpout.secureserver.net:465
>
> I don't get a prompt for username or password
> when I add
> set stmp_user=
You need EITHER:
set smtp_url=smtps://usern...@smtpout.secureserver.net:465
OR:
set smtp_user=username
I believe you'll be prompted for a password then.
--
David Champion • d...@bikeshed.us
atch. Can someone discuss how they
differ, whether they conflict, whether either causes problems, whether
they can or should be merged, etc? Do they solve the problem raised in
this thread, work around it, are they tangential?
We need this kind of help to move ahead on something.
--
David Champion • d...@bikeshed.us
pgp8SU503HXzn.pgp
Description: PGP signature
#x27;t find it slow at all, once the mailbox is loaded. Is that what
you mean or is there an ongoing performance problem?
--
David Champion • d...@bikeshed.us
* On 18 Sep 2014, Mark Filipak wrote:
> On 2014/9/18 4:27 PM, David Champion wrote:
> > * On 18 Sep 2014, Mark Filipak wrote:
> >> How is mutt with multi-mega-byte mboxes? Have you found that having tens
> >> of thousands of messages in a single box is dan
ight now. I used to keep 50-60k,
but now I turn a new leaf every spring.
--
David Champion • d...@bikeshed.us
> is_from(): parsing: russurquha...@verizon.net Wed Sep 17 08:11:00 2014
>
> is_from(): got return path: russurquha...@verizon.net
>
> is_from(): month=8, day=17, hr=8, min=11, sec=0, yr=114.
>
> parse_parameters: `charset=us-ascii'
>
> parse_parameter: `charset' = `us-ascii'
>
> read_rfc822_header(): no date found, using received time from msg separator
>
> mutt_index_menu[605]: Got op 145
>
--
David Champion • d...@bikeshed.us
ER
"keystrokes" to accept the default values, and assign this macro to your
usual reply key.
If you need help with this, please provide your "mutt -D" output
(stripped of any sensitive information). The macro will depend on your
exact prompt settings.
--
David Champion • d...@bikeshed.us
; Thu, May 22, 2014 at 07:22:07PM EDT Cameron Simpson └─>
> Thu, May 22, 2014 at 08:54:23PM EDT To mutt-users@mutt.o └─>
> Thu, May 22, 2014 at 09:37:48PM EDT Cameron Simpson └─>
> Fri, May 23, 2014 at 08:19:11AM EDT To mutt-user
"newer" mean "more recently updated."
Sort_aux=last-date-received will put the threads in chronological order,
with the most recently updated threads (i.e. those with the newest
messages in the thread) later in the sort.
--
David Champion • d...@bikeshed.us
* On 15 May 2014, Saptarshi Guha wrote:
> Hello,
>
> Every 5-10 seconds i get the prompt Exit Mutt ([yes]/no): ...
> I have no idea why. I'm not pressing any key by accident - i can come
> back after 5 mins and see this.
It sounds like some process is delivering a SIGINT
> >on your system and they REALLY want to get shell access, they probably
> >will.
> >
> >You have to trust your users, and if you can't you've basically
> >already lost the battle. If you do, then there's no point in
> >confining them to your idea of what's safe.
> >
--
David Champion • d...@bikeshed.us
ed" mode that does all this
automatically.
--
David Champion • d...@bikeshed.us
: if you
change that (to anything else, pretty much) and open up ~/mail directly,
you'll see it as intended. Since $folder is the directory in which
mailboxes are expected to be located -- i.e. there should be maildirs
*within* ~/mail -- mutt is searching it for mailboxes and unable
r? 2. How are you
referring to the mailbox?
You might running in debug mode: mutt -d3 -f /path/to/mailbox
--
David Champion • d...@bikeshed.us
).
I don't know whether the sidebar patch supports that, but I suspect not.
It's an interesting feature idea, but not sure how useful it is without
the sidebar.
--
David Champion • d...@bikeshed.us
t; other sorting method I initialized) but always keeps my flagged as
> important mails(by ^F) pinned to the top of the screen.
You would need to use scoring for this, and to sort by score.
--
David Champion • d...@bikeshed.us
t when scrolling down, Harry is on line/number 128
This is a long shot, but do you have reverse_alias set, and do you have
an alias for Harry? Possibly you see Harry because it's in an alias,
but is not actually in the message as part of the To: address.
--
David Champion • d...@bikeshed.us
hard as it looks on paper. Usually I do this when I find
I've written a trmendously long message and I want to split it into
two messages. In that case, after editing the message I exit without
syncing in order to preserve both copies of the original, then I recall
and send each copy.)
--
David Champion • d...@bikeshed.us
ns of any
autoreply mechanism to detect and prevent mail loops. Most of my HTML
mail comes from automated retail systems and such, whose mailboxes are
unattended and which will autoreply to me if I autoreply to them.
--
David Champion • d...@bikeshed.us
* On 01 Dec 2013, Dave Dodge wrote:
> On Fri, Nov 29, 2013 at 11:10:11AM -0600, David Champion wrote:
> > * On 29 Nov 2013, Martin Vegter wrote:
> > > On 2013-11-29 12:40, LEVAI Daniel wrote:
> > > >On p, nov 29, 2013 at 12:24:33 +0100, Martin Vegter wrote:
> &
mouse. So I was hoping for similar command line option for mutt.
Midnight Commander has support for mouse input events, so they can be
disabled. Mutt does not read mouse events. What you see is probably
your terminal emulator's scrollback buffer (the scrollbar). Mutt has
no influence on this -- you need to disable it in your term emulator.
--
David Champion • d...@bikeshed.us
rmalink.gmane.org/gmane.mail.mutt.devel/21157
(For anyone familiar with the unbind saga and its intricacies, this
patch finally does a real unbind, not a bind to noop.)
--
David Champion • d...@bikeshed.us
d the --enable-smtp option to ./configure for this
muttrc. If there's an SRPM available for the yum repo you installed
from, you might try just using its spec file, but adding --enable-debug.
--
David Champion • d...@bikeshed.us
r
granted, but I don't find it very compelling in general and especially
not in this case, where almost all the code necessary is already there
in some fashion.)
--
David Champion • d...@bikeshed.us
ds complex??
I have home VoIP service, and the provider (Megapath, formerly known
as Speakeasy) has this as a built-in option. I think you can do it
using Google Voice (as a wrapper around your home/mobile) as well, but I
haven't tried it.
--
David Champion • d...@bikeshed.us
eceive voice mail as wav attachments, but I
don't "view" them through mutt. I have a procmail rule that sends
voicemail messages to a python script (attached). This script saves all
audio/* attachments to a designated location with a unique filename. It
could easily be ada
macros
to use keybinding names, not keystrokes. That means putting each and
every interaction EXCEPT for prompt input into angle brackets using the
binding's name. If you can do that before posting, more people will
understand what you're trying to do up front.
No criticism meant -- just a utilitarian perspective. ;)
--
David Champion • d...@bikeshed.us
1 - 100 of 636 matches
Mail list logo