Re: Mailcap selectively applying settings

2022-05-13 Thread Cameron Simpson
ere 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

Re: New to Mutt, unable to send messages in *any* attempted way

2022-05-10 Thread Cameron Simpson
, 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

Re: New to Mutt, unable to send messages in *any* attempted way

2022-05-08 Thread 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 _not_ us

Re: New to Mutt, unable to send messages in *any* attempted way

2022-05-06 Thread Cameron Simpson
f 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 include the username of the user who

Re: New to Mutt, unable to send messages in *any* attempted way

2022-05-05 Thread Cameron Simpson
ass 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, as wanted? How can I tell? Mutt has some debug fl

Re: vs. / vs.

2022-03-23 Thread Cameron Simpson
s. 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

Re: Filter script to remove html, fullquotes and header lines

2022-03-20 Thread Cameron Simpson
l - 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

Re: Slightly OT: I'm looking for a tool to merge maildirs

2022-01-25 Thread 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 using

Re: Slightly OT: I'm looking for a tool to merge maildirs

2022-01-23 Thread Cameron Simpson
folder to your archive folder? Cheers, Cameron Simpson

Re: NeoMutt Opinions

2021-12-22 Thread Cameron Simpson
ptional 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

Re: pretty-print mutt emails

2021-11-30 Thread Cameron Simpson
or this. A simple: /^$/q prevents falling through to the message body. Cheers, Cameron Simpson

Re: pretty-print mutt emails

2021-11-22 Thread Cameron Simpson
pace (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

Re: using mutt with postfix and localhost:25

2021-09-13 Thread Cameron Simpson
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

Re: No Messages in Hotmail Inbox

2021-08-13 Thread Cameron Simpson
es? 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

Re: Can index lines be wrapped?

2021-08-13 Thread 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

Re: Retrieve inbox contents and email body

2021-07-06 Thread Cameron Simpson
, 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

Re: Retrieve inbox contents and email body

2021-07-05 Thread Cameron Simpson
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

Re: {.quotelead} strings in markdown2html messages

2021-06-29 Thread Cameron Simpson
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

Re: Reply from address with +

2021-06-27 Thread Cameron Simpson
sh) so you need a double backslash in the quotes to get a single backslash in the post-quote value. Cheers, Cameron Simpson

Re: Can Bounce command be used from the command line?

2021-06-07 Thread 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 directly

Re: Can Bounce command be used from the command line?

2021-06-07 Thread Cameron Simpson
site 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

Re: connection to dovecot times out about every ten minutes

2021-04-28 Thread Cameron Simpson
k 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 you have? Glad

Re: index color scheme

2021-04-26 Thread Cameron Simpson
ages 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 rule is a

Re: connection to dovecot times out about every ten minutes

2021-04-26 Thread Cameron Simpson
on 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

Re: HTML email?

2021-04-09 Thread Cameron Simpson
nstead (“\\”). 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

Re: Are there any good maildir manipulation utilities out there?

2021-04-08 Thread 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. >> >Yes, that wa

Re: HTML email?

2021-04-08 Thread Cameron Simpson
ways 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

Re: Are there any good maildir manipulation utilities out there?

2021-04-07 Thread Cameron Simpson
pe 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

Re: my weekend project: a streaming POP3 fetcher, replacing fetchmail/getmail

2021-04-07 Thread 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 w

my weekend project: a streaming POP3 fetcher, replacing fetchmail/getmail

2021-04-06 Thread Cameron Simpson
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 PyPI here

Re: Automate standard replies

2021-03-30 Thread Cameron Simpson
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

Re: Automate standard replies

2021-03-29 Thread Cameron Simpson
t, 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 scripting. By the time I want such things

Re: Automate standard replies

2021-03-28 Thread Cameron Simpson
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

Re: Automate standard replies

2021-03-28 Thread Cameron Simpson
1 xv; gui >Thanks - I learned a lot today! Excellent! Anything that's unclear, just ask. Cheers, Cameron Simpson

Re: Automate standard replies

2021-03-27 Thread 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 file

Re: Automate standard replies

2021-03-27 Thread Cameron Simpson
>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

Re: Automate standard replies

2021-03-25 Thread 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/bro

Re: Automate standard replies

2021-03-21 Thread Cameron Simpson
quot; "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

Re: group and alias

2021-03-01 Thread Cameron Simpson
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

Re: group and alias

2021-02-28 Thread Cameron Simpson
ame \ address, \ ... etc ... where in fact group_name and alias_name are the same name. Cheers, Cameron Simpson

Re: Choose 'From:' address based on 'To: address

2021-02-25 Thread Cameron Simpson
ch, setting from etc based on the target address of the message you're composing. Cheers, Cameron Simpson

Re: not to set message id in outgoing email

2021-02-16 Thread Cameron Simpson
On 16Feb2021 09:37, Shehu Dikko wrote: >* Cameron Simpson [20210216 09:02:36]: >>On 15Feb2021 21:53, Shehu Dikko wrote: >>>* Peng Yu [20210203 20:23:18]: >>>>I want the first MTA add one, instead of using the one generated by >>>>mutt. >>&

Re: Marking as unread when moving mail to another folder

2021-02-16 Thread Cameron Simpson
et $my_option=$option set option=whatever ... do stuff set option=$my_option shuffle embedded in the macro. If you set wait_key=no during the macro you can drop the "y" you have embedded after the save. Cheers, Cameron Simpson

Re: Deleting old maildir messages, is what I'm doing OK?

2021-02-15 Thread Cameron Simpson
On 16Feb2021 09:05, Cameron Simpson wrote: >On 15Feb2021 17:07, Chris Green wrote: >>Does no one else ever delete mail messges? :-) > >Hmm: >[~/mail]fleet2*1> ls -ldh spam* >-rw-rw-r-- 1 cameron cameron 1.7G 16 Feb 08:43 spam >-rw-rw-r-- 1 cameron

Re: Deleting old maildir messages, is what I'm doing OK?

2021-02-15 Thread Cameron Simpson
mairix to not index the Junk folders? Cheers, Cameron Simpson

Re: not to set message id in outgoing email

2021-02-15 Thread Cameron Simpson
t esmtp from _adding on if missing_. Peng Yu is trying to stop mutt adding a message id. Maybe the objective can be achieved by stripping the mutt-provided message-id in the sendmail setting before it reaches the MTA? Untested: set sendmail="sed '1,/^\$/{/^Message-ID:/d'}' | /usr/bins/sendmail" (The backslash if for mutt, not sed or the shell.) Cheers, Cameron Simpson

Re: Quoting character when replying

2021-02-15 Thread Cameron Simpson
On 15Feb2021 05:56, Angel M Alganza wrote: >On Mon, Feb 15, 2021 at 03:40:16PM +1100, Cameron Simpson wrote: >>Aye. I use format=flowed all the time; there's stuff in the wiki about >>settings to go with it, for example to make composition easy. > >I see. :-) Oddly en

Re: Quoting character when replying

2021-02-14 Thread Cameron Simpson
t, for example to make composition easy. The specification itself is here: https://tools.ietf.org/rfcmarkup?doc=3676 I might stick in a PR to add that link to the manual. It is quite conservations, to minimise the implementation burden. And that frugality is likely where the inflexibility about ">" comes from. Cheers, Cameron Simpson

Re: Quoting character when replying

2021-02-14 Thread Cameron Simpson
ication requires a plain ">" _in the message body text itself_, you might want to set $reflow_space_quotes=yes for presentation purposes. Cheers, Cameron Simpson

Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]

2021-02-13 Thread Cameron Simpson
hing basic. Modify it to better fit what you actually desire as its shortcomings become apparent. That's what I do. I've just been doing it a bit longer. For example, your own "alert" script might just directly invoke notify-send and do nothing else. Mine started by writing coloured alerts to a text file, nothing else. Then stick your own "alert" in your rules, and modify alert separately without needing to hack outside the script. Cheers, Cameron Simpson

Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]

2021-02-13 Thread Cameron Simpson
On 13Feb2021 19:29, Bhaskar Chowdhury wrote: >On 07:40 Sat 13 Feb 2021, Cameron Simpson wrote: >>On 12Feb2021 09:36, Kevin J. McCarthy wrote: >>>On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: >>>>The problem it pops up for every new

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-13 Thread Cameron Simpson
EAD Ah, I missed that. Nice. Though I still like a local system MTA so that scripts and cron etc etc can also send email natively. Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-13 Thread Cameron Simpson
On 12Feb2021 23:25, boB Stepp wrote: >On 21/02/13 08:01AM, Cameron Simpson wrote: >>I pull everything from my c...@cskk.id.au inbox, deleting it. But my >>mail >>filing forwards a suite of messages to a separate account which is for >>my phone. So anything impo

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-13 Thread Cameron Simpson
emoved until you sync; that lets you under the "delete" part of the "move" if you want. If you wanted the sync immediate, include "" in the macro? It is a whole mail folder sync of course. Personally, my (d)elete macro just archives :-) Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-13 Thread Cameron Simpson
On 12Feb2021 23:20, boB Stepp wrote: >Yeah, I think you have. I have kept those earlier emails from you >nicely >flagged in my inbox for reference. Currently I am trying to see if I can get >something I like working with notmuch. I wish I could use notmuch's tagging >capabilities from within

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-13 Thread Cameron Simpson
On 12Feb2021 22:53, boB Stepp wrote: >On 21/02/13 08:11AM, Cameron Simpson wrote: >>I would guess your PC does not have a mail system installed. So cron >>cannot deliver the cron job output by email. > >I was aware that a cron job could email its output, but I thought I woul

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-12 Thread Cameron Simpson
didn't leave my box the "mailq" command shows it. Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-12 Thread Cameron Simpson
en offline - it will just queue. >One concern based on earlier discussion in this thread. I am now using >msmtp as my MTA client. What will happen if I send an email when, for >whatever reason, Gmail connectivity is broken? Will it get resent? I don't know. What does its manual say? Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-12 Thread Cameron Simpson
ds a copy back out to the cloud. Well, a personal external server. Um, in the cloud :-( Likewise, any email I reply to sends the source message and the reply to that account. In this way my phone has access to a copy of the critical stuff and also any ongoing email discussions. Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-02-12 Thread Cameron Simpson
n my local network. I guess this would be >facilitated by a sensible organization of my PC's email storage? Yes. Though I keep all my email in a large "mail" directory (with many Maildir subdirectories). I back up that whole directory to local another server every so often. I do that with an external shell script, as I also back up other stuff. Cheers, Cameron Simpson

Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]

2021-02-12 Thread Cameron Simpson
otifications happen from my mail filer, not from mutt. This has the advantage that they still happen when mutt is closed (if you can call that an advantage). Cheers, Cameron Simpson

Re: How to use/integrate "notmuch" with Mutt

2021-02-08 Thread Cameron Simpson
p with "notmuch setup" and keep it up to date with the "notmuch new" command. (See "man notmuch-setup" and "man notmuch-new".) I've a script for performing a notmuch search and building a result Maildir containing the search results, and popping up that

Re: trouble making my "messages needing a reply" pattern

2021-02-08 Thread Cameron Simpson
On 07Feb2021 19:04, Kevin J. McCarthy wrote: >On Mon, Feb 08, 2021 at 12:49:32PM +1100, Cameron Simpson wrote: >>I've winnowed my failing pattern down to >> ~( !~>(~P) ) >>which is not accepted. > >I think this is from a small bug with trailing whitespace inside

trouble making my "messages needing a reply" pattern

2021-02-07 Thread Cameron Simpson
tle like a hack. (My replies spin off an editor in tmux so that they can be detached, and the spawned mutt doesn't know about the source message directly, so it cannot tie setting the flag to actually dispatching the message later.) Cheers, Cameron Simpson

Re: My experiences with Mutt to date: Suggestions for overcoming some issues

2021-01-25 Thread Cameron Simpson
. There's also pandoc; you could use "pandoc -f html -t plain" and see what sort of rendering it does. Cheers, Cameron Simpson

Re: Is there an easy way to remove empty maildir directories?

2021-01-09 Thread Cameron Simpson
On 09Jan2021 12:00, Chris Green wrote: >I know that save_empty doesn't work for maildir but I was wondering if >there's a (relatively) easy way to do it? I do this: https://hg.sr.ht/~cameron-simpson/css/browse/bin/rm0maildir?rev=tip Relies on ismaildir and maildir from the same

Re: textwidth/linewrap

2021-01-07 Thread Cameron Simpson
$@"} My vim settings also include textwidth=72. My muttrc has: set reflow_text=yes set reflow_wrap=-4 set text_flowed=yes Cheers, Cameron Simpson

Re: Assigning multiple labels (X-Label) to a message

2020-12-20 Thread Cameron Simpson
herence to nothing whatsoever. OTOH, I can change that. Cheers, Cameron Simpson

Re: Macro question

2020-12-11 Thread Cameron Simpson
On 11Dec2020 07:27, Tom Tunguz wrote: >Suppose I'd like to move the address in the to field to the bcc field. >How do I do that? With a macro. Not sure it is possible. I have: set edit_headers=yes in my config and do all of that when editing the message. Cheers, Cameron Simpson

Re: Best way to move large Maildir to another machine?

2020-11-25 Thread Cameron Simpson
etmail+procmail on >it? That will not be a problem. The hostname is just one of the values used to make a unique nonconflicting filename. It has no meaning afterwards. >Renaming all the files is possible I guess, but would be a task. And unnecessary. Cheers, Cameron Simpson

Re: mutt seems laggy to resume on v.2.x

2020-11-25 Thread Cameron Simpson
On 25Nov2020 22:33, tech-lists wrote: >On Thu, Nov 26, 2020 at 09:01:03AM +1100, Cameron Simpson wrote: >>A way to check this would be to have another window open running: >> >> strace -p pid-of-idle-mutt-process >> >>Get that ready. Wait for idle

Re: mutt seems laggy to resume on v.2.x

2020-11-25 Thread Cameron Simpson
to? It doesn't. FreeBSD is not a Linux based system, so its kernel version will bear no relationship to your system. I uses to use truss on Solaris and maybe dtrace will help on FreeBSD. I'll look around... Cheers, Cameron Simpson

Re: mutt seems laggy to resume on v.2.x

2020-11-25 Thread Cameron Simpson
resume and then scroll back looking for the stall in the timestamps. Cheers, Cameron Simpson

Re: Can I fix this groups.io problem with a send hook or something

2020-11-24 Thread Cameron Simpson
mething with procmail like this. See the "formail" command. If formail won't do it, a sed script probably will. Note that this of course mangles the headers, a price I've been willing to pay for sanity. Cheers, Cameron Simpson # undo Yahoo Groups DKIM/DMARC mangling # if we eve

Re: Sending all mail in IMAP folder from command line

2020-11-22 Thread Cameron Simpson
On 21Nov2020 23:42, Kurt Hackenberg wrote: >On 2020-11-21 21:31, Cameron Simpson wrote: >> The draft file is expected to contain just an RFC822 email: >> headers and a body. Although it is not an mbox file, if an mbox "From >> " line is present, it will

Re: Sending all mail in IMAP folder from command line

2020-11-21 Thread Cameron Simpson
On 21Nov2020 16:37, Kurt Hackenberg wrote: >On 2020-11-21 00:10, Cameron Simpson wrote: >>How about: >> >>The draft file is expected to contain just an RFC822 email: >>headers and a body. Although it is not an mbox file, if an mbox "From

Re: Sending all mail in IMAP folder from command line

2020-11-20 Thread Cameron Simpson
On 21Nov2020 13:07, raf wrote: >On Sat, Nov 21, 2020 at 10:32:03AM +1100, Cameron Simpson >wrote: >> New ticket for amending the manual entry here: >> https://gitlab.com/muttmua/mutt/-/issues/302 >> Comments on wording/clarity welcome. > >In general, I

Re: Sending all mail in IMAP folder from command line

2020-11-20 Thread Cameron Simpson
clarity welcome. Cheers, Cameron Simpson

Re: Sending all mail in IMAP folder from command line

2020-11-19 Thread Cameron Simpson
On 19Nov2020 14:14, raf wrote: >On Thu, Nov 19, 2020 at 10:40:43AM +1100, Cameron Simpson >wrote: >> The man page says: >> >>‐H draft Specify a draft file which contains header and body >> to use to send a message. >> >> A

Re: Sending all mail in IMAP folder from command line

2020-11-18 Thread Cameron Simpson
ncludes headers, what else would you like it to have said? To me that says "a full message with headers". I'm not sure what else would be useful to know. Cheers, Cameron Simpson

Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread Cameron Simpson
y trying to minimize amount of code I’ll need >to maintain.) Is this once off or to happen regularly? You could for this: - save all the messages to a local filesystem maildir folder - write a short shell loop to run mutt -H for each message file in the maildir Cheers, Cameron Simpson

Re: Always CC specific messages to some people (send-hook and my_hdr)

2020-11-12 Thread Cameron Simpson
for the other flavour of my shared address For clarity, $my_shared is our shared address (both-of-us@our-domain) and $my_SHARED is "My Name and Her Name ". I'd be a little leery of automatic CCs, some email is genuinely personal and you're kind of making your reply public. Provided you get to manually vet that before sending you're probably fine. Cheers, Cameron Simpson

Re: Managing identities without suspending Mutt

2020-11-12 Thread Cameron Simpson
identity setup file. Cheers, Cameron Simpson

Re: is there no difference between \CN and \Cn for use in the sidebar?

2020-11-10 Thread Cameron Simpson
those bytes with values 0-31. When you type ctrl-n, that corresponds to ord('n') % 32, i.e. a value from 0-31. Regardless of "n" or "N". There's no indication to mutt of the physical keys being operated, just bytes coming down the "serial" line from the terminal. So \Cn and \CN deliver the same byte value. Cheers, Cameron Simpson

Re: mutt 2.0.0 released

2020-11-07 Thread Cameron Simpson
yet functional thing to choose to embed for programmability. I also love now neatly using Lisp's bracketed syntax inserted into mutt lines as a clean escape into Lisp. For everyone's amusement: https://www.netfunny.com/rhf/jokes/90q2/lispcode.html Many thanks! Cameron Simpson , a primar

Re: set up folder-specifc send mail options

2020-10-29 Thread Cameron Simpson
g=default_value" folder hook =mutt "set setting=the_mutt_value" and so on. All the matching hooks fire. So this chooses the default value, then overrides it if the folder is "=mutt". If you did it the other way around the default would always fire last, undering any per-folder settings. Cheers, Cameron Simpson

Re: is it possible to go to the folders via the sidebar?

2020-10-29 Thread Cameron Simpson
On 29Oct2020 05:38, Globe Trotter via Mutt-users wrote: >On Thursday, October 29, 2020, 12:21:52 AM CDT, Cameron Simpson > wrote: >>  Might I suggest you put this shell command in a distinct shell >>script so that your muttrc has this: >    mailboxes `mutt-mailboxes` >

Re: is it possible to go to the folders via the sidebar?

2020-10-28 Thread Cameron Simpson
On 29Oct2020 16:21, Cameron Simpson wrote: >Also, being a shell script makes it easier to clean up the paths too: > >#!/bin/sh >cd "$HOME/Maildir" >find * -type d \( \( -name tmp -o -name new -o -name cur \) -prune \) -o > -exec ismaildir {} ';' -pr

Re: is it possible to go to the folders via the sidebar?

2020-10-28 Thread Cameron Simpson
ipping, just cd to the top directory and print relative paths. "ismaildir" is a script of my own: https://hg.sr.ht/~cameron-simpson/css/browse/bin/ismaildir?rev=tip but it is very simple - it just checks for directoriness and the presence if the 3 required subdirectories. Cheers, Cameron Simpson

Re: is it possible to go to the folders via the sidebar?

2020-10-28 Thread Cameron Simpson
On 26Oct2020 23:09, Globe Trotter via Mutt-users wrote: >On Monday, October 26, 2020, 5:19:58 PM CDT, Cameron Simpson >wrote: >>On 25Oct2020 23:43, Globe Trotter via Mutt-users >>wrote: >>>> I highlight on the folder user1 and I get: /home/gt/user1  is not a

Re: is it possible to go to the folders via the sidebar?

2020-10-26 Thread Cameron Simpson
On 27Oct2020 08:56, Cameron Simpson wrote: >On 25Oct2020 23:43, Globe Trotter via Mutt-users wrote: >>> I highlight on the folder user1 and I get: /home/maitra/gt/user1  is not a >>> mailbox. > >Hmm, me too. I withdraw this - I had a nonexistent name in my mailb

Re: is it possible to go to the folders via the sidebar?

2020-10-26 Thread Cameron Simpson
). The $mbox_type is only relevant when crreating a new folder. Mutt should existing autorecognise mbox, Maildir, MH. Cheers, Cameron Simpson (formerly c...@zip.com.au)

Re: is it possible to have two options for viewing html mail?

2020-10-24 Thread Cameron Simpson
d the file to firefox instead of (or as well as) w3m. Here's my code: https://hg.sr.ht/~cameron-simpson/css/browse/bin/unhtml?rev=tip It consults some flags to decide what to run - you can see it will use w3m or lynx depending on my mood. You could use a similar approach to display via firefox de

Re: bypassing $reverse_alias in $index_format

2020-10-21 Thread Cameron Simpson
On 22Oct2020 13:08, Cameron Simpson wrote: >On 29Jul2020 09:13, Cameron Simpson wrote: >>On 28Jul2020 13:27, Kevin J. McCarthy wrote: >>>I don't know if this helps, but have you tried a format pipe *just* in >>>one of the index-format-hook with %f and using the sc

Re: bypassing $reverse_alias in $index_format

2020-10-21 Thread Cameron Simpson
On 29Jul2020 09:13, Cameron Simpson wrote: >On 28Jul2020 13:27, Kevin J. McCarthy wrote: >>On Tue, Jul 28, 2020 at 12:52:02PM +1000, Cameron Simpson wrote: >>>What I would rather do is keep the full name in my alias, but have some >>>kind of $index_format format str

Re: Getting more useful information in file browser - possible with maildir?

2020-10-03 Thread Cameron Simpson
On 03Oct2020 08:51, Chris Green wrote: >On Sat, Oct 03, 2020 at 02:47:46PM +1000, Cameron Simpson wrote: >> >Even *copying* the whole of my 1.5Gb mail hierarchy takes only 8 >> >seconds. >> >> Looks like your filesystem is superior to mine. Mine's MacOS apfs, I &g

Re: Getting more useful information in file browser - possible with maildir?

2020-10-02 Thread Cameron Simpson
very relevant (other than being an SSD, that is). Cheers, Cameron Simpson

Re: Can mutt be persuaded to use a sensible maildir hierarchy?

2020-09-30 Thread Cameron Simpson
ranch names. I've got a script hg-gitup which will push your branch names up instead (still uses the hg-git extension for maintaining the git state, but pushes with git to avoid the naming issue): https://hg.sr.ht/~cameron-simpson/css/browse/bin/hg-gitup?rev=tip Cheers, Cameron Simpson

Re: Can mutt be persuaded to use a sensible maildir hierarchy?

2020-09-29 Thread Cameron Simpson
On 30Sep2020 12:44, raf wrote: >On Wed, Sep 30, 2020 at 11:38:06AM +1000, Cameron Simpson >wrote: >> I dropped procmail years ago too, [...] > >I didn't drop procmail. I wrote a program to >generate procmail code from a set of prettier >config files. :-) Oh, so did I.

Re: Can mutt be persuaded to use a sensible maildir hierarchy?

2020-09-29 Thread Cameron Simpson
r name it matches the to/cc/bcc on the "address" part (the bit between the <> after a parse). Cheers, Cameron Simpson

  1   2   3   4   5   6   7   8   >