inverse:
color index white default "((~P|(%f polyname ~f 'cameron simpson'))) | (~v
~((~P|(%f polyname ~f 'cameron simpson'"
This highlights messages (or collapsed threads) where I've participated.
So not things addressed to me, but things from me. This
On 09Apr2024 07:11, Michael Kjörling wrote:
On 9 Apr 2024 07:32 +1000, from c...@cskk.id.au (Cameron Simpson):
_Or_ you could "set sendmail=" to a script of your own to add a
message-id
header - that is what mutt uses to deliver the message to a mail system -
you could add a header
itor startup make one?
_Or_ you could "set sendmail=" to a script of your own to add a
message-id header - that is what mutt uses to deliver the message to a
mail system - you could add a header there then pass the message on to
whatever you had mutt using before.
--
Cameron Sim
On 07Apr2024 18:23, Anton Sharonov wrote:
On Sun, Apr 07, 2024 at 09:23:07AM -0600, Charles Cazabon via Mutt-users wrote:
There's a good reason for that; it help to ensure uniqueness, which
prevents
problems with threading. By limiting itself to only digits, Yandex's IDs are
much more likely
f the time.
Ugly suggestion: an "l" macro to invoke "" and rebind "q" to a
macro which runs "." and unbinds "q"?
Cheers,
Cameron Simpson
~/var/mutt/save-folder`
All on one line. And the whole macro should be quoted of course, as it
includes special chars (the backticks):
macro s "..." "save message with special
sauce"
Note the macro description as the fourth string - it shows in the "?"
menu.
Something along those lines, anyway.
Cheers,
Cameron Simpson
o-inc.com | ~f @outlook.com
| ~f live.com | ~f @facebookmail.com' 'unalternative_order *; alternative_order
text/html text/plain'
Cheers,
Cameron Simpson
uot;X-Mailer: Apple Mail" ~X 1-' 'unalternative_order *;
alternative_order text/html multipart/mixed text/plain'
message-hook '%f htmlers | ~f @no-re...@cc.yahoo-inc.com | ~f @outlook.com
| ~f live.com | ~f @facebookmail.com' 'unalternative_order *; alternat
because I once read somewhere
that only one mutt gets to use the hcache and I sometimes have a few
mutts around, sometimes on the same folder but usually different
folders.
Cheers,
Cameron Simpson
r me. My
"python" folder has 157000 messages in it and opening mutt on it and
then closing it just took about 20 seconds including eyeballing the top
line to read the message count. This mutt was built with tokyocabinet,
which I expect is used for the hache (nothing else would have any use
for it).
Cheers,
Cameron Simpson
before.
Mutt knows the message-ids of messages in the current mailbox. Skip
those message-ids.
Cheers,
Cameron Simpson
disabled pair:
#macro index,pager ,x "mailunpack -d ~/"
#macro attach ,x q,x
or this:
macro index ,D ":set
auto_tag=no~T~=~T:set
auto_tag=yes"
macro pager ,D "q,D"
or this:
macro pager ";" "q;"
Cheers,
Cameron Simpson
x27;t be a linear scale, you
might use some fine grained low (or high?) values for recent messages
and a coarser scale for older messages (ag a day, a week, a month etc).
There are relative time criteria in the PATTERNS section of the manual
which you could use here for the scoring.
Cheers,
Cameron Simpson
the recent messages, then >1d, >7d, etc.
Cheers,
Cameron Simpson
;push
"~P~NN~T"'
which marks all "NEW" messages from me as not new.
Cheers,
Cameron Simpson
On 19Nov2022 09:21, Kevin J. McCarthy wrote:
On Sat, Nov 19, 2022 at 02:32:25PM +1100, Cameron Simpson wrote:
Maybe the docs should have a small mention around `~h` that it
cannot utilise the header cache.
There is a note, "***)", next to ~b, ~B, ~h, ~M, and ~X that mentions
t
On 19Nov2022 09:16, Kevin J. McCarthy wrote:
On Sat, Nov 19, 2022 at 02:15:05PM +1100, Cameron Simpson wrote:
On 18Nov2022 18:33, Kevin J. McCarthy wrote:
The headers are colored as they are displayed, but also when any
flags are updated.
If it's only colouring the visible index li
On 18Nov2022 23:08, Kurt Hackenberg wrote:
On Sat, Nov 19, 2022 at 02:25:50PM +1100, Cameron Simpson wrote:
from https://www.rfc-wiki.org/wiki/RFC2822. Is there a better RFC 2822
page? I used to use a nicely formatted tools.ietf.org URL, but that now
redirects to some RFC author editing
On 19Nov2022 14:25, Cameron Simpson wrote:
Anyway, I'll try plain `~f "cameron simnpson"` and see how it goes.
This is nice and fast:
color index white default "((~P|(%f polyname ~f 'cameron simpson'))) | (~v
~((~P|(%f polyname ~f 'cameron simpson
On 18Nov2022 18:33, Kevin J. McCarthy wrote:
On Sat, Nov 19, 2022 at 08:32:39AM +1100, Cameron Simpson wrote:
It sure looks like it is being applied to the entire folder
contents, instead of only the lines being displayed. That is a
massive performance hit for a big folder. Is that the case
On 18Nov2022 18:48, Kevin J. McCarthy wrote:
On Sat, Nov 19, 2022 at 01:16:47PM +1100, Cameron Simpson wrote:
On 19Nov2022 08:32, Cameron Simpson wrote:
The issue is my index colouring, specificly this line:
color index white default "((~P|%f polyname ~h '^from:.*cameron simpso
On 18Nov2022 18:33, Kevin J. McCarthy wrote:
On Sat, Nov 19, 2022 at 08:32:39AM +1100, Cameron Simpson wrote:
It sure looks like it is being applied to the entire folder
contents, instead of only the lines being displayed. That is a
massive performance hit for a big folder. Is that the case
On 19Nov2022 08:32, Cameron Simpson wrote:
The issue is my index colouring, specificly this line:
color index white default "((~P|%f polyname ~h '^from:.*cameron simpson')) | (~v
~((~P|%f polyname ~h '^from:.*cameron simpson')))"
This colours messages as wh
On 19Nov2022 07:55, Cameron Simpson wrote:
On 18Nov2022 09:38, Kevin J. McCarthy wrote:
source ~/rc/mutt/aliases-auto
8407 aliases, nearly 2MB in size :-)
Yes, Mutt's internal structures used for aliases are not designed for
that many.
It's not the number of aliases. I'v
many. It could lead to quite a slowdown in some circumstances.
Do you have $reverse_alias set in your config?
Yes, but it doesn't seem to affect things in terms of loading the
folder.
Cheers,
Cameron Simpson
lf doesn't seem to slow; it seems
to be some interaction with the folder.
Cheers,
Cameron Simpson
essages.
Thoughts?
I append the output of `mutt -v` below.
Cheers,
Cameron Simpson
Mutt 2.2.7 (2022-08-07)
Copyright (C) 1996-2022 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 redist
in the macro) is the
archive folder for my current folder.
It seems like an odd distinction to separate "purging" from "moving to
trash folder."
Persoanlly, I do not have a trash folder; I just "archive" messages. A
bit like the GMail model is (or was? dunno any more).
Cheers,
Cameron Simpson
server runs outbound mail for some/all
things through the ISP smart host.
And, regrettably, our phones kind of inherently use their telco/ISP
smart host. (Hmm, maybe wireguard would let us securely use the AWS
host as a smart host).
Cheers,
Cameron Simpson
g them, so this may well not help me.
But I was unaware of "include" before now.
Cheers,
Cameron Simpson
hat constrained container?
I've got $TMPDIR set to ~/tmp, so i probably haven't been bitten by this
Firefox check, and I am a Firefox user.
Cheers,
Cameron Simpson
n" command is rather different.
Anyway, experiment by hand rather than indirectly through the mailcap.
Cheers,
Cameron Simpson
ach V "qVv" "extract attachments to temp dir and open"
and the associated script is here:
https://github.com/cameron-simpson/css/blob/main/bin/mail-open-attachments
Like Chris' script, it makes a copy.
It unpacks everything in the message into a directory, t
ext, what's in that break? eg if you paste into an editor,
what gets inserted there?
Just curious, not sure this information would lead to a fix/workaround.
Cheers,
Cameron Simpson
stuff I haven't subcategorised. The
"private/rc/mutt/personal" file has stuff like this:
set my_cs='c...@cskk.id.au'
set my_CS='Cameron Simpson (formerly c...@zip.com.au)'
set my_cs_gmail='cameron.simp...@gmail.com'
set my_CS_gm
whole IP
block, but I am too lazy to ask the provider to fix or change provider
altogether.
I've been bitten by that kind of thing sometimes. I usually just run
email for those domains via my ISP's SMTP service instead of the VM's
SMTP service.
Cheers,
Cameron Simpson
set status_format="$my_account_email .."
because I've parameterised the email address, since it gets used in a
few places.
Cheers,
Cameron Simpson
On 05Sep2022 12:56, Kurt Hackenberg wrote:
On Mon, Sep 05, 2022 at 07:40:54PM +1000, Cameron Simpson wrote:
It seems a little conceptually cleaner to have the editor do the
whole job, rather than divide it between the editor and Mutt. But
another complication is that you can edit a message
On 05Sep2022 01:52, Kurt Hackenberg wrote:
On Mon, Sep 05, 2022 at 08:36:54AM +1000, Cameron Simpson wrote:
But not space-stuffing, right?
Aye. I avoid lines commencing with a ">" just because they look quoted
to my eye anyway, so that aside "live" space stuffing in
\(.*<\/code><\/pre>\)$/\1\2/
t post_pre_code
/^/,/<\/code><\/pre>$/{
s/^//
s/^\(\)/\1/
s/^\(<\/code><\/pre>\)/\1/
}
:post_pre_code
'
Ah, right. Thanks.
Cheers,
Cameron Simpson
On 05Sep2022 08:24, Cameron Simpson wrote:
On 04Sep2022 11:33, Kurt Hackenberg wrote:
But not space-stuffing, right?
I just reread https://www.rfc-editor.org/rfc/rfc3676#section-4.4 to
refresh my brain. Yeah, I don't think I'd want that when writing a
message.
Which I guess i
On 04Sep2022 11:33, Kurt Hackenberg wrote:
On 2022/09/04 06:37, Cameron Simpson wrote:
Vim can do 99% of it for you on the fly :-)
But not space-stuffing, right? Which I guess is why Mutt space-stuffs
the format=flowed that it gets back from the editor.
I imagine it could be told to space
On 04Sep2022 15:34, raf via Mutt-users wrote:
On Sun, Sep 04, 2022 at 01:51:25PM +1000, Cameron Simpson
wrote:
[...]
So I've revisited the manual and found the
`$send_multipart_alternative`
option and its friend `$send_multipart_alternative_filter`. They work well!
So now I h
o indent the code blocks, which `pandoc`'s HTML
does not please my eye. It's here:
https://github.com/cameron-simpson/css/blob/main/bin-cs/md2html
if anyone wants a starting point.
I'm probably going to bind a key to turn this mode on at some point.
Cheers,
Cameron Simpson
On 02Sep2022 15:27, Cameron Simpson wrote:
On 01Sep2022 20:18, Kevin J. McCarthy wrote:
I'm not sure if it helps at this point, but I can report that I've
taken your template above and passed it to 'mutt -H' and the resulting
sent file has format=flowed in its content-ty
On 01Sep2022 20:18, Kevin J. McCarthy wrote:
>On Fri, Sep 02, 2022 at 08:28:01AM +1000, Cameron Simpson wrote:
>>and the file ~/var/mutt/mutt-fleet2-501-83365-16591433053586932493
>>passwd to "mutt -H" is already gone. Does mutt remove it?
>>
>>Ah, mutt mig
On 02Sep2022 08:15, Cameron Simpson wrote:
>Trying that with this reply.
Well, that tossed my Content-Type header and sent with:
Content-Type: text/plain; charset=us-ascii
I'm trying again here, for thoroughness. The source file starts like
this:
Content-Type: text/plain; cha
wasn't great: you *should* add a charset parameter set to
>your system charset (I'm assuming that's utf-8).
Trying that with this reply.
Cheers,
Cameron Simpson
On 01Sep2022 08:50, Cameron Simpson wrote:
>>If you haven't played with it before, you might also look into
>>background editing and the contrib/bgedit-screen-tmux.sh script. See
>><http://www.mutt.org/doc/manual/#bgedit>.
>
>I will; the background editing
On 31Aug2022 15:37, Kevin J. McCarthy wrote:
>On Thu, Sep 01, 2022 at 08:11:50AM +1000, Cameron Simpson wrote:
>>The essential problem is that I run a separate mutt instance using "mutt
>>-H" on a copy of my message template. The manual does say that
>>$text_flowed
e, but would be a breaking change to fix now.
Aye.
>Anyway, a workaround would be to put a '\' in front of the semicolons:
> my_hdr X-Foo: bar\; baz
Thank you!
Cheers,
Cameron Simpson
the separate
mutt; I'll see if that works.
Cheers,
Cameron Simpson
colon in my_hdr?
Not that it would help me, since mutt seems to eat that header anyway :-(
Cheers,
Cameron Simpson
On 01Sep2022 07:58, Cameron Simpson wrote:
>I've put a format=flowed into this message by hand, and I'll see if it
>survives.
It did not. The message sent by mutt discarded my Content-Type header
and used:
Content-Type: text/plain; charset=us-ascii
So I've actua
ntent-Type" header. I also
think such a fix might break the send_charset magic, unless mutt picks
up an existing Content-Type header, parses it, and fills in the
parameters if missing.
I've put a format=flowed into this message by hand, and I'll see if it
survives.
Thoughts?
Cameron Simpson
k-yes.
>
>http://www.mutt.org/doc/manual/#delete
Aye, what todd said.
As a comparison, my own settings have these:
set delete=yes
set delete_untag=yes
Cheers,
Cameron Simpson
my_pop_wait_key"
and then I've got some mac ros to run the toggle:
macro index \Cx "$my_toggle_rot13" 'toggle MUTT_ROT13'
macro pager \Cx "$my_toggle_rot13" 'toggle
MUTT_ROT13'
The mechanics don't really matter, just the shuffle of the original into
and out of $my_prior_wait_key. You should be able to do the same with
$implicit_autoview.
Cheers,
Cameron Simpson
more portable and works well).
I've been using img2sixel (not yet in mutt); "viu" has a sixel mode,
also. I imagine it falls back to some rust flavour of libaa otherwise.
Cheers,
Cameron Simpson
provided by screen (which will be describing
the terminal capabilities of screen itself)
- switch from screen to tmux
Cheers,
Cameron Simpson
amme.
>What the heck is going on? Where can I learn how to fix it?
Give the MIME section of the manual a read - it has a lot of detail on
what you can put in the mailcap entry, including an example of multiple
entries for a type in the "3.3.2. Search Order" part.
Cheers,
Cameron Simpson
has been replied to, it checks the mailbox specified by the
>record variable - so if that variable is empty, Mutt has no way of
>checking.
I thought it just set a flag on the message.
I forget, is XTec using a local or IMAP mail folder?
Cheers,
Cameron Simpson
On 07May2022 11:11, X Tec wrote:
>On 2022-05-07 08:45:35, Cameron Simpson wrote:
>> Probably not? If you've been debugging the $smtp* variables (in
>> particular, having to debug the password) then it sounds like mutt is
>> actually sending directly with SMTP and _no
the message off to
the sendmail command and doesn't say anything about delivery - that is
sendmail's job.
>On Thu, May 05, 2022 at 19:19:45 -0500, Cameron Simpson wrote:
>>Might be. It won't be a "real" Message-ID line as it looks like the log
>>tries to includ
ous.
>---Without smtp_url and smtp_pass fields, where does email go?
>recei...@domain.tld doesn't receive it...
Probably delivered to the local mail system. If that can already deliver
email, it will be doing the outbound SMTP for you.
>---Is email really being sent with STARTTLS,
are identical. At
>least they produce identical results.
The name distinction might be historic, one being from the top level
(index) and one being from the attachment menu? Just guessing.
Cheers,
Cameron Simpson
he original - you don't want to accidentally shred your
archive).
I'd do this in Python myself - it has a good email library and you can
do all the things you describe fairly easily with it.
Cheers,
Cameron Simpson
On 24Jan2022 08:55, Chris Green wrote:
>On Mon, Jan 24, 2022 at 10:24:41AM +1100, Cameron Simpson wrote:
>> On 23Jan2022 10:46, Chris Green wrote:
>> >This is a bit off topic for mutt specifically but it's about doing
>> >things to the mail I read u
a mail folder to your archive folder?
Cheers,
Cameron Simpson
viously existed as optional patches
and done a huge amount of additional work as well.
I'd stay with mutt unless there's some specific feature you eally want.
Cheers,
Cameron Simpson
sed for this. A simple:
/^$/q
prevents falling through to the message body.
Cheers,
Cameron Simpson
hitespace (and in any case, IIRC, POSIX does not
guarrentee to handle more than one argument after the command in a
shebang ("#!") line).
You probably want to strip all the trailing carriage returns from this
script.
Cheers,
Cameron Simpson
er ISP. My 127.0.0.2 is
part of my local setup: I've got haproxy running there, to deliver to
whatever upstream ISP is available - in my case the home server or an
ssh tunnel to our cloud VM, both of which have their own postfix setups.
Cheers,
Cameron Simpson
essages? Just guessing vaguely here.
>Also when I run mbsync -a , it says,
>C: 3/3 B: 52/52 F: +2/2 *2/2 #0/0 N: +8/8 *0/0 #0/0an INBOX?
That seems like a similar symptom.
Cheers,
Cameron Simpson
On 13Aug2021 08:17, Chris Green wrote:
>On Fri, Aug 13, 2021 at 08:15:26AM +0200, Alexander Dahl wrote:
>> On Thu, Aug 12, 2021 at 08:30:11AM +0100, Chris Green wrote:
>> > I read my mail (via ssh) on quite a variety of devices, one is an
>> > Android phone running termux which has rather short li
, so something like this:
mutt -e 'set wait_key=no; push
".cat"' -f YOUR_MBOX
seems to work. Open mailbox, tag every message (or whatever subset you
want), pipe through "cat", quit.
This is all a bit of a hack - mutt is inherently an interactive
programme and the above works my pushing keystrokes onto the input
stream.
Cheers,
Cameron Simpson
he
desired message.
More context? There are probably already tools to do things like what
you suggest, even if they are not exact matches for what you ask for.
Cheers,
Cameron Simpson
CSS, but the generated text just puts:
{.quotelead}stripped-line-of-text
into the message. So no match.
Try hacking the script to change this:
ret.append(f'{{.quotelead}}{cur.strip()}')
ret.append(f'{{.quotelead}}{cur.strip()}')
That might make for ugly HTML rendering, but would at least the litter
will be gone.
Cheers,
Cameron Simpson
course \\ to mean a backslash) so you need a double
backslash in the quotes to get a single backslash in the post-quote
value.
Cheers,
Cameron Simpson
On 08Jun2021 09:06, Cameron Simpson wrote:
>The usual approach is to "push" the requisite keystrokes, which then
>get played.
Example from one of my scripts:
mutt -f "$folder" -e "push '$pattern'"
I still recommend just using sendmail
the requisite keystrokes, which then get
played.
However, to "bounce" a message from the command line it is far more
expedient to just go:
sendmail -oi addr addr addr ... < message
which is all mutt will be doing. Drops the same messages straight into
the local mail system for deliver to the specified addrs.
Cheers,
Cameron Simpson
, I cannot check it right now because I am not at
>home, but it is working, so whatever it does, it is OK.
Q: How many user support people does it take to change a light bulb?
A: We have an exact copy of the light bulb here and it seems to be
working fine. Can you tell me what kind of system
messages that are deleted, but has no affect on New
>messages. They stay the same "New message" color when deleted.
>
>Probably I'm missing something basic and simple.
The color rules are applied in order. Can you show us your rules?
I would guess that your new message
ts that the connection is gone (thus letting each end
see this in a timely fashion, rather than just "next time they try to
send traffic").
Maybe your previous modem's timeout for that was 10 minutes? And the new
one is more generous (or even does not timeout connection states)?
Just guessing.
Cheers,
Cameron Simpson
expression, you will need to use two backslashes instead (“\\”).
So your regexps above need backslash doubling. Or maybe quoting :-)
>Do you happen to know where to find more about it? (my last resort
>would be the source code)
The source, alas.
I don't use regexps for address matching (if I can help it); they're a
lousy tool for matching addresses.
Cheers,
Cameron Simpson
On 08Apr2021 08:40, Chris Green wrote:
>On Thu, Apr 08, 2021 at 08:43:48AM +1000, Cameron Simpson wrote:
>> It's also not particularly well suited
>> to Chris' requirement, which includes preserving the source tree shape
>> in the archiving process.
>>
>Ye
that they shift a plaintext version and the plaintext
is always rubbish.
That last criterion is email from outlook.com, live.com, facebook.com,
yahoo's PR/info people, and whomever I have explicitly added to my mutt
"htmlers" group.
Cheers,
Cameron Simpson
preserving the source tree shape
in the archiving process.
I suspect Chris may need to roll his own. I'd imagine something like:
find message paths using mairix \
| move message files sideways, making sure there's no conflicts
Cheers,
Cameron Simpson
On 06Apr2021 23:12, Kurt Hackenberg wrote:
>On Wed, Apr 07, 2021 at 09:43:36AM +1000, Cameron Simpson wrote:
>>My new tool streams the fetches: it issues RETRs for every message up
>>front at maximum network speed - fully buffered and with no waits. A
>>parallel worke
lects the messages as they come in at full
speed (the upstream server likely also gets to fully buffer); it issues
DELEtes as each message is saved, also fully buffered.
The code's here:
https://hg.sr.ht/~cameron-simpson/css/browse/lib/python/cs/pop3.py?rev=tip
The cs.pop3 modules on
y-homedir /opt/css tree, which has
>> the lot.
>True. Works now! Even inside my zsh, it seems. :-)
My login shell is zsh also.
>Gotta go back to bed. Covid-19 started to bug me since last night -
>after 1 week with hardly any symptoms.
I'm sorry to hear that. Good luck.
Cheers,
Cameron Simpson
my
"readline" script, whose sole purpose is to prompt for an input using
bash's readline support (file completion etc).
https://hg.sr.ht/~cameron-simpson/css/browse/bin/readline
Bash itself is nonportable, not universally present, and provides few
features of use in scripti
On 29Mar2021 10:10, Cameron Simpson wrote:
>On 28Mar2021 14:04, Andy Spiegl wrote:
>>> open some-directory-name
>>Oh, MacOS ! :-)
>
>Well sure. Great desktop, BSD UNIX underneath. And, frankly, really nice
>hardware.
Not to mention iterm, IMO the best termina
%s -1 xv; gui
>Thanks - I learned a lot today!
Excellent! Anything that's unclear, just ask.
Cheers,
Cameron Simpson
On 28Mar2021 08:35, Cameron Simpson wrote:
>On 27Mar2021 18:18, Andy Spiegl wrote:
>>Just one piece is missing: "open" (used in mail-open-attachments)
>>Is that part of your windowmanager maybe?
>
>No, it's a standard MacOS command. It opens files (and
ing else.
>But no problem. I simply replaced it with:
> cd "$unpackdir" && xterm
>I'm a command line freak anyway. (c;
Oh, me too. See the apphelper script :-)
Cheers,
Cameron Simpson
>
>Cool idea!
>Would you mind sharing the "mail-open-attachments" with us?
The main trickiness of is that you have the raw message -
you need to extract the body part or whatever other bits you want.
mail-open-attachments is here:
https://hg.sr.ht/~cameron-simpson/css/browse/
t -u|less" "list URLs"
BTW, I've got "set autoedit=yes" and "set edit_headers=yes", drops you
straight into an editor on reply etc.
Cheers,
Cameron Simpson
less text/plain sections
# or just badly badly formatted plain text, such as live.com etc
message-hook '%f htmlers | ~f @no-re...@cc.yahoo-inc.com | ~f @outlook.com
| ~f live.com | ~f @facebookmail.com' 'unalternative_order *; alternative_order
text/html text/plain'
Cheers,
Cameron Simpson
me alias_name \
address, \
... etc ...
where in fact group_name and alias_name are the same name.
Cheers,
Cameron Simpson
o/cc to
the from of the reply.
You want Jon's send-hook based approach, setting from etc based on the
target address of the message you're composing.
Cheers,
Cameron Simpson
1 - 100 of 815 matches
Mail list logo