Re: Default save mailbox from a script

2023-07-31 Thread Nicolas George
sily express what you want with a collection of > save hooks in the right order with clever patterns. My main purpose is to group threads in the same mailbox. For that, the external command will have an index of all the message-id in my archives, as people can reply months later. That would be to

Re: Default save mailbox from a script

2023-07-31 Thread Jon LaBadie
On Sun, Jul 30, 2023 at 03:59:57PM +0200, Nicolas George wrote: Hi. I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being chosen from

Re: Default save mailbox from a script

2023-07-30 Thread Cameron Simpson
On 30Jul2023 15:59, Nicolas George wrote: I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being chosen from save-hooks or from

Default save mailbox from a script

2023-07-30 Thread Nicolas George
Hi. I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being chosen from save-hooks or from the author of the mail. What I want

Re: Deleting large number of emails from busy mailbox

2023-04-17 Thread Sam Kuper
On Wed, Mar 15, 2023 at 08:47:44AM +0100, Vegard Svanberg wrote: > Multi-threaded GUI version coming up any time soon? ;-) Let's hope not. That would massively increase Mutt's attack surface and the burden on its maintainer. People who really want to expose themselves to the risk that

Re: Deleting large number of emails from busy mailbox

2023-03-15 Thread Vegard Svanberg
* Kevin J. McCarthy [2023-03-14 19:16]: > > After reading the fine manual, I don't see an immediate way to disable > > trash. Assuming I'll have to move it to IMAP then. Which is fine, just > > wondering if trash could be disabled as I don't really need it. > > $trash starts out empty, so there

Re: Deleting large number of emails from busy mailbox

2023-03-15 Thread Vegard Svanberg
* Patrick Shanahan [2023-03-14 12:56]: > > After reading the fine manual, I don't see an immediate way to disable > > trash. Assuming I'll have to move it to IMAP then. Which is fine, just > > wondering if trash could be disabled as I don't really need it. > > you haven't gone deep enough.

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Kevin J. McCarthy
On Tue, Mar 14, 2023 at 08:40:24AM +0100, Vegard Svanberg wrote: After reading the fine manual, I don't see an immediate way to disable trash. Assuming I'll have to move it to IMAP then. Which is fine, just wondering if trash could be disabled as I don't really need it. $trash starts out

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Patrick Shanahan
* Vegard Svanberg [03-14-23 03:41]: > * Kevin J. McCarthy [2023-03-13 21:07]: > > > Do you mean the 2000 emails you want to delete, or the half-million emails > > in the mailbox? > > The 2000 I want to delete, yes. :-) > > > If it's the first, it sounds as i

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Vegard Svanberg
* Dan Ritter [2023-03-14 00:29]: > You could: > * operate on local storage with mutt -f Maildir/ That's actually slower than letting Dovecot handling it... > or > * build lists with doveadm-search and delete with > doveadm-expunge That's a good idea, I'll look into that. Thanks.

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Vegard Svanberg
* Kevin J. McCarthy [2023-03-13 21:07]: > Do you mean the 2000 emails you want to delete, or the half-million emails > in the mailbox? The 2000 I want to delete, yes. :-) > If it's the first, it sounds as if Mutt thinks the value in $trash is not > the same server as the

Re: Deleting large number of emails from busy mailbox

2023-03-13 Thread Kevin J. McCarthy
On Mon, Mar 13, 2023 at 08:47:14AM +0100, Vegard Svanberg wrote: Latest mutt on local IMAP (Dovecot). My mailbox is rather busy (and contains around half a million emails). Say I want to delete 2000 emails. I tag them, ;d and press X to expunge. Mutt starts fetching every email (not sure why

Re: Deleting large number of emails from busy mailbox

2023-03-13 Thread Kira Oakley
On 03/13 08:47, Vegard Svanberg wrote: > Hi, > > Latest mutt on local IMAP (Dovecot). > > My mailbox is rather busy (and contains around half a million emails). > > Say I want to delete 2000 emails. > > I tag them, ;d and press X to expunge. Mutt starts fetching

Deleting large number of emails from busy mailbox

2023-03-13 Thread Vegard Svanberg
Hi, Latest mutt on local IMAP (Dovecot). My mailbox is rather busy (and contains around half a million emails). Say I want to delete 2000 emails. I tag them, ;d and press X to expunge. Mutt starts fetching every email (not sure why that is - does it have to?), then would normally remove them

Re: macro does not work when mailbox opened read-only

2022-08-11 Thread Fourhundred Thecat
> On 2022-08-11 02:22, Cameron Simpson wrote: On 10Aug2022 11:10, todd zullinger wrote: Fourhundred Thecat wrote: When I delete my custom macro, and revert "q" to its default action, then I get this message when exiting from mutt (case 2): Purge 1 deleted message? ([yes]/no): Aye, what

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Cameron Simpson
On 10Aug2022 11:10, todd zullinger wrote: >Fourhundred Thecat wrote: >> When I delete my custom macro, and revert "q" to its default action, >> then I get this message when exiting from mutt (case 2): >> >> Purge 1 deleted message? ([yes]/no): >> >> When I create custom macro to sync

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Todd Zullinger
Fourhundred Thecat wrote: > I am using mutt in 2 modes: > > 1) mutt -R -f folder > 2) mutt-f folder > > In case 1), pressing "q" should simply exit. This is read-only mode and > there are no messages to be deleted. > > In case 2), pressing "q" should exit while also automatically

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Fourhundred Thecat
On 2022-08-08 22:15, Derek Martin wrote: On Fri, Jul 29, 2022 at 08:15:31AM +0200, Fourhundred Thecat wrote: Hello, I have custom macro "q" for exit: macro index q ";" but when I open mailbox read-only, I am not able to exit from mutt: AFAICT this macro does nothin

Re: macro does not work when mailbox opened read-only

2022-08-08 Thread Derek Martin
On Fri, Jul 29, 2022 at 08:15:31AM +0200, Fourhundred Thecat wrote: > Hello, > > I have custom macro "q" for exit: > > macro index q ";" > > but when I open mailbox read-only, I am not able to exit from mutt: AFAICT this macro does nothing usef

macro does not work when mailbox opened read-only

2022-07-29 Thread Fourhundred Thecat
Hello, I have custom macro "q" for exit: macro index q ";" but when I open mailbox read-only, I am not able to exit from mutt: Mailbox is read-only. the key "q' does not work. is there any workaround to solve this?

Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Kevin J. McCarthy
On Fri, Jun 03, 2022 at 05:48:55AM +, Sam Lee via Mutt-users wrote: Is there some kind of setting similar to "set sidebar_use_mailbox_shortcuts=no", but for the mailbox browser? 'unset browser_abbreviate_mailboxes' might work for you. -- Kevin J. McCarthy GPG Fingerprint: 8975

Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Sam Lee via Mutt-users
On 2022-06-03 05:48 +, Sam Lee via Mutt-users wrote: > In the sidebar, my mailbox is displayed in a format like > "imaps://john-...@example.com/INBOX". However, in the mailbox browser > (accessed using keybinding 'y' or :exec browse-mailboxes), it is > displayed as &q

How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Sam Lee via Mutt-users
In the sidebar, my mailbox is displayed in a format like "imaps://john-...@example.com/INBOX". However, in the mailbox browser (accessed using keybinding 'y' or :exec browse-mailboxes), it is displayed as "=INBOX". In the mailbox browser, how do I make Mutt display

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
On Thu, Jan 27, 2022 at 10:46:53PM +0300, Oleg A. Mamontov wrote: > I successfully use the below approach for syncing current folder with > the same on IMAP: > --- > folder-hook . "source ~/.mutt/on-folder-change.muttrc" > --- > > where on-folder-change.muttrc is: > --- > set record = ^ > set

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Oleg A. Mamontov
:01PM +, Chris Green wrote: > Is there a way of accessing the current mailbox name (i.e. for maildir > the directory name) in mutt? IIRC, the caret symbol (^) can be used as a shortcut for the current mailbox. Possibly relevant sections of the manual: http://www.mutt.org/doc/manual/#short

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
On Thu, Jan 27, 2022 at 06:07:39PM +, Sam Kuper wrote: > On Thu, Jan 27, 2022 at 05:31:01PM +, Chris Green wrote: > > Is there a way of accessing the current mailbox name (i.e. for maildir > > the directory name) in mutt? > > IIRC, the caret symbol (^) can

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Sam Kuper
On Thu, Jan 27, 2022 at 05:31:01PM +, Chris Green wrote: > Is there a way of accessing the current mailbox name (i.e. for maildir > the directory name) in mutt? IIRC, the caret symbol (^) can be used as a shortcut for the current mailbox. Possibly relevant sections of the manual:

Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
Is there a way of accessing the current mailbox name (i.e. for maildir the directory name) in mutt? This is so I can put it in things like a 'set editor=' command to pass to the 'editor'. -- Chris Green

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
Well I have now and it doesn't appear to work. > > > > I have put the following in my muttrc file:- > > > > folder-hook . set mbox_type=maildir > > folder-hook 'folder/.*' set mbox_type=mbox > > > > ... and when I save mail in the folder hierarchy it's still in maildir > > format. > > > ... and I have also tried:- > > folder-hook . set mbox_type=maildir > folder-hook '~/mail/folder/.*' set mbox_type=mbox > > It still doesn't work. > On thinking about it this isn't likely to work as folder-hook gets actioned when reading the mailbox. I'm not reading the mailbox, I'm saving to it. What I want is a save-hook that allows me to set the mbox_type. -- Chris Green

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 09:15:06PM +0100, Chris Green wrote: > On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > > * Chris Green [06-24-21 12:16]: > > > It's a bit difficult to explain this. > > > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > >

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > * Chris Green [06-24-21 12:16]: > > It's a bit difficult to explain this. > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > sub-directory? > > > > E.g. can one produce an RE for all the

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > * Chris Green [06-24-21 12:16]: > > It's a bit difficult to explain this. > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > sub-directory? > > > > E.g. can one produce an RE for all the

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Patrick Shanahan
* Chris Green [06-24-21 12:16]: > It's a bit difficult to explain this. > > Is it possible for a folder-hook RE to apply to all mailboxes in a > sub-directory? > > E.g. can one produce an RE for all the sub-directories of ~/mail/folder? > All my actual mailboxes are two levels further down:- >

Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
It's a bit difficult to explain this. Is it possible for a folder-hook RE to apply to all mailboxes in a sub-directory? E.g. can one produce an RE for all the sub-directories of ~/mail/folder? All my actual mailboxes are two levels further down:- ./folder/france ./folder/france/jobs

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 07:13:05PM +0100, Genética wrote: On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 01:14:31AM +0300, Oleg A. Mamontov wrote: 'full' is the name of my mbsync channel defined in ~/.mbsynrc: --- # full set of mailboxes Channel full ... --- It was just an example that you need to correct according to your mbsync setup. I see. I group different channels

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 01:02:38AM +0300, Oleg A. Mamontov wrote: I guess your folder names differ from mine. You can debug step by step, start from keeping only the first assignment: --- set record = ^ --- Launch mutt and check the result pressing :echo $record Then, you can adjust the sed

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:58:22PM +0100, Angel M Alganza wrote: On Mon, Feb 15, 2021 at 10:40:18PM +0100, Genética wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is.

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:40:18PM +0100, Angel M Alganza wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 10:40:18PM +0100, Genética wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro index,pager o

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro index,pager o "mbsync full:$record" Nice. It shows that: Shell

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:16:33PM +0100, Angel M Alganza wrote: On Tue, Feb 16, 2021 at 12:00:35AM +0300, Oleg A. Mamontov wrote: The below approach works for me, probably it can be helpful somehow: .muttrc --- # the very first folder-hook folder-hook . "source

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 12:00:35AM +0300, Oleg A. Mamontov wrote: The below approach works for me, probably it can be helpful somehow: .muttrc --- # the very first folder-hook folder-hook . "source ~/.mutt/on-folder-change.muttrc" --- # .mutt/on-folder-change.muttrc --- set record = ^ set

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 07:13:05PM +0100, Angel M Alganza wrote: On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set folder="XXX";set visual=^' folder-hook . 'setenv

Re: Macro to apply on current mailbox

2021-02-15 Thread Kevin J. McCarthy
On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set folder="XXX";set visual=^' folder-hook . 'setenv MYSYNCFOLDER $visual' folder-hook . 'set folder=$my_folder'

Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
Hello: I am trying to build a macro to apply a function to the current maildir, but I can't find the way to capture the current maildir into a variable. The idea is as follows: I synch my mail with mbsync, which I run from a crontab entry at different time intervals for different mail

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Cameron Simpson
H, if work and personal just forward to some common mail address then you're in split up the premixed stream, and back into rules of the form you're already using. In my case, I pull from a work mailbox into a distinct spool, and process that spool as "from work" using the "work rules&

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Kevin J. McCarthy
On Fri, Jun 05, 2020 at 04:15:10PM +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. I have a couple suggestions. The

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Ben Boeckel
On Fri, Jun 05, 2020 at 07:33:04 -0700, Felix Finch wrote: > Out of curiosity, could you show your offlineimap usage? I have a > manually generated list of mboxes. It doesn't change often, but it > would be nice to do it "properly". I looked at offlineimap some time > ago, and again just now,

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Felix Finch
On 20200605, Ben Boeckel wrote: On Fri, Jun 05, 2020 at 16:15:10 +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. See

Re: Using Maildir format, changing mailbox

2020-06-05 Thread José María Mateos
On Fri, Jun 05, 2020 at 04:15:10PM +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. I also use the Maildir format and I

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Ben Boeckel
On Fri, Jun 05, 2020 at 16:15:10 +0200, mutt...@mail.com wrote: > What I'd like is that when I press '?' I get a list of *mailboxes* > rather than directories, because, as a user, I'm really not interested > in directories, I only want to know about mailboxes. See the `mailboxes` command.

Using Maildir format, changing mailbox

2020-06-05 Thread mutt-ml
^(From|Cc|To).*someb...@example.org Play/ # rest :0 Mail/ When I open Mutt it starts in the Mail mailbox. Okay, fair enough, it has to start somewhere. But then I press 'c' to change mailbox and, if I can't remember what mailboxes I have (seriously, I have a *lot*), can press '?' to find them. Exce

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Patrick Shanahan
; > Marty > > On 01/21/20 11:14 -0500, Patrick Shanahan wrote: > > * Patrick Shanahan [01-21-20 11:09]: > > > * Fred Smith [01-21-20 10:59]: > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > > > don't want to del

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Fred Smith
On Tue, Jan 21, 2020 at 11:08:21AM -0500, Patrick Shanahan wrote: > * Fred Smith [01-21-20 10:59]: > > Hi! > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > don't want to delete. All those now have a status flag of "O"

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Fred Smith
* Patrick Shanahan [01-21-20 11:09]: > >>* Fred Smith [01-21-20 10:59]: > >>>I've got a mailbox with quite a few msgs in it, some I've never read but > >>>don't want to delete. All those now have a status flag of "O", so if I > >>>enter that

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Marty Buchaus
11:09]: * Fred Smith [01-21-20 10:59]: I've got a mailbox with quite a few msgs in it, some I've never read but don't want to delete. All those now have a status flag of "O", so if I enter that mailbox when there are no "N" messages in it, mutt goes to the first "O&q

Re: clearing flags on all mails in a mailbox?

2020-01-21 Thread Patrick Shanahan
* Patrick Shanahan [01-21-20 11:09]: > * Fred Smith [01-21-20 10:59]: > > Hi! > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > don't want to delete. All those now have a status flag of "O", so if I > > enter

Re: clearing flags on all mails in a mailbox?

2020-01-21 Thread Patrick Shanahan
* Fred Smith [01-21-20 10:59]: > Hi! > > I've got a mailbox with quite a few msgs in it, some I've never read but > don't want to delete. All those now have a status flag of "O", so if I > enter that mailbox when there are no "N" messages in it, mutt goes to t

clearing flags on all mails in a mailbox?

2020-01-21 Thread Fred Smith
Hi! I've got a mailbox with quite a few msgs in it, some I've never read but don't want to delete. All those now have a status flag of "O", so if I enter that mailbox when there are no "N" messages in it, mutt goes to the first "O" mail. One way I can think of

Re: mailbox shortcut '^' is unset

2019-08-11 Thread Oliver Graute
On 10/08/19, Kevin J. McCarthy wrote: > On Sat, Aug 10, 2019 at 02:20:32PM +0200, Oliver Graute wrote: > >folder-hook ^pop 'set read_inc=1' > > See <http://www.mutt.org/doc/manual/#mailbox-hook> > > The ^ is being interpreted as a mailbox shortcut, not "beginni

Re: mailbox shortcut '^' is unset

2019-08-10 Thread Kevin J. McCarthy
On Sat, Aug 10, 2019 at 02:20:32PM +0200, Oliver Graute wrote: folder-hook ^pop 'set read_inc=1' See <http://www.mutt.org/doc/manual/#mailbox-hook> The ^ is being interpreted as a mailbox shortcut, not "beginning of string". Instead you can try enclosing the regexp in parent

mailbox shortcut '^' is unset

2019-08-10 Thread Oliver Graute
=1' Since a Ubuntu update from 14.04 to 16.04. It's causing the following error on mutt startup: Fehler in /home/oliver/.muttrc, Zeile 11: current mailbox shortcut '^' is unset Fehler in /home/oliver/.muttrc, Zeile 13: current mailbox shortcut '^' is unset source

Re: Confirm on new mailbox creation

2019-07-03 Thread Hokan
Thank you! On Wed, Jul 03, 2019 at 12:05:20PM -0700, Kevin J. McCarthy wrote: > On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: > >How can I suppress the mailbox creation prompt? > > Try 'unset confirmcreate' -- Hokan Bicyclist Sysadmin

Re: Confirm on new mailbox creation

2019-07-03 Thread Kevin J. McCarthy
On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: How can I suppress the mailbox creation prompt? Try 'unset confirmcreate' -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature

Confirm on new mailbox creation

2019-07-03 Thread Hokan
Hello Mutt users, I'm getting a mailbox creation prompt that I don't want. I have a couple of muttrc lines that help me auto-organize my sent and deleted mail: set record="+sent-mutt/`date +%Y/%Y-%m`-sent-mail" set trash="+deleted-mutt/`date +%Y/%Y-%m`-deleted-mail"

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
Well I'm still flummoxed a bit as I'm almost 100% sure nothing has changed since Mutt was working and now when it doesn't. That said, I tend to feel it has something to do with Gmail organizing messages into the tabs. Like maybe Google moving messages somehow seems like a deletion to Mutt?

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 10:47:59AM -0700, Kevin J. McCarthy wrote: However, I apologize: you are right. Mutt doesn't stop checking for new mail, but it looks like it may be discarding the previous notification. I will take a look at this. I've added a fix for this in commit e3f66d7e, which

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
ah right. I wasn't thinking – it bounced because of attachment. It was just a picture of mutt displaying "mailbox unchanged" and Chrome displaying 4 new messages. thanks! On Wed, Jun 5, 2019 at 1:48 PM Kevin J. McCarthy wrote: > On Wed, Jun 05, 2019 at 09:57:18AM -0700, Kevi

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 09:57:18AM -0700, Kevin J. McCarthy wrote: On Wed, Jun 05, 2019 at 12:15:10PM -0400, Ben Gold wrote: And what happens is Mutt ends up giving me this error and then I can't receive any new mail without quitting and restarting it. I can't answer what has changed in your

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 12:15:10PM -0400, Ben Gold wrote: And what happens is Mutt ends up giving me this error and then I can't receive any new mail without quitting and restarting it. I can't answer what has changed in your environment, but this is not true. Mutt doesn't enter a state

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
e whenever I get an email, instead of showing > >an unread message I just get this error: > >"mailbox externally modified. flags may be wrong" > >I haven't changed anything (that I'm aware of) in mutt or in my email > >habits. > >What does

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Hokan
On Wed, Jun 05, 2019 at 10:18:10AM -0400, Ben Gold wrote: >Mutt was working for me (to check my gmail account) for about a >month.? Now it seems like whenever I get an email, instead of showing >an unread message I just get this error: >"mailbox externally mo

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread hymie!
that something happened, and that it knows it may no longer be an authoritative indication of what your mailbox looks like. --hymie! On Wed, Jun 05, 2019 at 10:18:10AM -0400, Ben Gold wrote: > Mutt was working for me (to check my gmail account) for about a month. Now > it seems like whenever I get an

"mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
Mutt was working for me (to check my gmail account) for about a month. Now it seems like whenever I get an email, instead of showing an unread message I just get this error: "mailbox externally modified. flags may be wrong" I haven't changed anything (that I'm aware of) in mutt or i

Re: save and select from mailbox list

2018-12-08 Thread Cameron Simpson
gt; my first attempt was a macro with "?", but of > course I can't get past without first entering a folder at the > prompt. I had the cursor on your message, in the index, and hit 's' -- it prompted me for the mailbox name, '?' brought up the full list. What am I missing? A

Re: save and select from mailbox list

2018-11-30 Thread benfitzg
t; > my first attempt was a macro with "?", but of > > course I can't get past without first entering a folder at > > the > > prompt. > > I had the cursor on your message, in the index, and hit 's' -- it prompted me > for the mailbox name, '?' brought up the fu

Re: save and select from mailbox list

2018-11-30 Thread Felix Finch
hout first entering a folder at the > prompt. I had the cursor on your message, in the index, and hit 's' -- it prompted me for the mailbox name, '?' brought up the full list. What am I missing? That sounds like what you want. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. F

save and select from mailbox list

2018-11-30 Thread benfitzg
Hi if i have a mail selected in the index and want to save and then be prompted to select one of my mailboxes, how can this be done? my first attempt was a macro with "?", but of course I can't get past without first entering a folder at the prompt. thanks, -- Ben Fitzgerald

Re: Question about saving sent mail to current mailbox

2018-04-25 Thread David J. Weller-Fahy
* David J. Weller-Fahy [2018-04-25 21:38 -0400]: I've been dealing with an error whenever mutt starts for a few years now, and finally decided to ask how others have fixed the issue. #v+ folder-hook . "set record=^" #v- Sigh... apparently inspiration required

Question about saving sent mail to current mailbox

2018-04-25 Thread David J. Weller-Fahy
I've been dealing with an error whenever mutt starts for a few years now, and finally decided to ask how others have fixed the issue. I have all my sent email saved in the current mailbox. I do this using the following setting in my muttrc (per https://gitlab.com/muttmua/mutt/wikis/MuttFaq

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-20 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 09:12:36AM -0500, Ben Boeckel wrote: > On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbox. But can we apply this t

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ben Boeckel
On Thu, Jan 18, 2018 at 13:19:22 -0500, Patrick Shanahan wrote: > the OP has mbox which notmuch doesn't support OP said that it's maildir: On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Oh, I am using Maildir. So maybe some standalone script will help? --Ben

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Patrick Shanahan
* Ben Boeckel <maths...@gmail.com> [01-18-18 11:40]: > On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbox. But can we apply this to > >

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ben Boeckel
On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched messages in all

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ulrich Lauther
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Hi, > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Darac Marjal
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: Hi, I know one can hit / or l (i.e., limit) and then apply a search pattern to search for messages in the current mailbox. But can we apply this to multiple mailboxes? I would like to search for matched messages in all mailboxes

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Patrick Shanahan
* Yubin Ruan <ablacktsh...@gmail.com> [01-18-18 04:31]: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched message

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Jörg Sommer
Hi Yubin, Yubin Ruan hat am Thu 18. Jan, 17:49 (+0800) geschrieben: > On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > > Hi, > > > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the curren

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 12:27:35PM +0100, Ulrich Lauther wrote: > On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > > Hi, > > > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the curren

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Hi, > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched

find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
Hi, I know one can hit / or l (i.e., limit) and then apply a search pattern to search for messages in the current mailbox. But can we apply this to multiple mailboxes? I would like to search for matched messages in all mailboxes and then put them into a separate mailbox. For example, I have 10

Re: Long delays when mailbox gets modified externally

2017-02-02 Thread Greg Hurrell
ar format is definitely useful, but I am going to see how I go without `$mail_check_stats` and keeping `%N`; this will make the counts stale (or missing) until I synchronize a given mailbox. If this gets too annoying I'll remove `%N`, I guess. If this cures the hangs though I think it will be worth it. Thanks for the advice! -Greg

Re: Long delays when mailbox gets modified externally

2017-02-02 Thread Kevin J. McCarthy
On Wed, Feb 01, 2017 at 02:53:46PM -0800, Greg Hurrell wrote: > set mail_check = 60 > set mail_check_stats = yes > set mail_check_stats_interval = 300 > set sleep_time = 0 > set time_inc = 250 > set timeout = 0 > > Of these, I'm most suspicious of `mail_check_stats`. It

Long delays when mailbox gets modified externally

2017-02-01 Thread Greg Hurrell
is frozen: "Mailbox was externally modified. Flags may be wrong." Is there anyway I can suppress or reduce this delay? These are the timing-related settings I have in my config file: set mail_check = 60 set mail_check_stats = yes set mail_check_stats_interval = 300 set slee

Re: Mailbox closed with gmail account

2016-10-07 Thread Grant Edwards
uot;~/.mutt/certificates" > > set move = no > set smtp_authenticators = 'gssapi:login' > set imap_keepalive = 120 > set imap_idle=yes > set mail_check = 1 > The problem is that after a couple of minutes of inactivity, it > disconnects and it displays the message "Ma

Re: Mailbox closed with gmail account

2016-10-07 Thread lists
On Fri, Oct 07, 2016 at 11:13:05AM +0200, tristero tristero wrote: > Hello, > The problem is that after a couple of minutes of inactivity, it > disconnects and it displays the message "Mailbox closed". I've already > looked around for a solution and as you can see at the end

Mailbox closed with gmail account

2016-10-07 Thread tristero tristero
header_cache = "~/.mutt/cache/headers" set message_cachedir = "~/.mutt/cache/bodies" set certificate_file = "~/.mutt/certificates" set move = no set smtp_authenticators = 'gssapi:login' set imap_keepalive = 120 set imap_idle=yes set mail_check = 1 The problem is that af

Re: Timeout surpassed, mailbox closed on sync

2016-01-28 Thread Chris Bannister
On Tue, Jan 26, 2016 at 03:01:09PM -0500, Nathan Lee wrote: > Greetings. This is my first post on the list, and I'm new to Mutt. > I've searched the mailing list, and didn't see anything quite like > this. Maybe someone can tell what's happening. Just as an aside, you might want to set the

  1   2   3   4   5   6   7   8   9   10   >