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

2020-11-25 Thread Dave Woodfall
Thanks for the replies. On 26/11/20 10:38, Cameron Simpson put forth the proposition: > I'd expect rsync to be faster than scp, and personally I'd use "cd > the-mailddir; tar cf > - . | ssh remote 'cd remote-maildir; tar xf -'" which should be much > faster than either. Very interesting idea..

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

2020-11-25 Thread raf
On Wed, Nov 25, 2020 at 10:30:54PM +, Dave Woodfall wrote: > Hello all, > > I have a Maildir folder which I want to move to another machine: > about 830M with 29000 messages. > > Would just rsync'ing or scp'ing be OK? > > I'm asking because I noticed that either procmail or getmail puts th

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

2020-11-25 Thread tech-lists
On Thu, Nov 26, 2020 at 10:34:30AM +1100, Cameron Simpson wrote: Probably. I don't have a FreeBSD box to hand. Is yours a Raspberry? yup, rpi4 with 8GB Have you got ktrace and kdump? Less interactive, but IIRC the process is to ktrace your mutt command and kdump the resulting log file. I d

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

2020-11-25 Thread Cameron Simpson
On 25Nov2020 22:30, Dave Woodfall wrote: >I have a Maildir folder which I want to move to another machine: >about 830M with 29000 messages. > >Would just rsync'ing or scp'ing be OK? Yes. Use "scp -p" if you use scp, preserves permissions and timestamps (actually not very important unless you're

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 idleness. Resume. See where it stalls. >> >>If that i

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

2020-11-25 Thread Cameron Simpson
On 25Nov2020 17:56, Patrick Shanahan wrote: >* tech-lists [11-25-20 17:55]: >> On Wed, Nov 25, 2020 at 05:43:21PM -0500, Patrick Shanahan wrote: >> > possibly reinstall strace. for my openSUSE Tumbleweed system I >> > show: strace-5.9-1.1.x86_64 >> > >> > your version is quite old and version n

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

2020-11-25 Thread Patrick Shanahan
* tech-lists [11-25-20 17:55]: > Hi, > > On Wed, Nov 25, 2020 at 05:43:21PM -0500, Patrick Shanahan wrote: > > > possibly reinstall strace. for my openSUSE Tumbleweed system I show: > > strace-5.9-1.1.x86_64 > > > > your version is quite old and version number appear to reflect the kernel > >

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

2020-11-25 Thread tech-lists
Hi, On Wed, Nov 25, 2020 at 05:43:21PM -0500, Patrick Shanahan wrote: possibly reinstall strace. for my openSUSE Tumbleweed system I show: strace-5.9-1.1.x86_64 your version is quite old and version number appear to reflect the kernel version. what kernel are you running, 4.5.x ?? I'm usi

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

2020-11-25 Thread Hokan
IIRC I just went with the ports/mail/mutt defaults. I selected ispell because I'm more used to the ispell interface. Now-a-days it's all aspell under the covers. On Wed, Nov 25, 2020 at 10:19:57PM +, tech-lists wrote: > Hello, > > On Wed, Nov 25, 2020 at 09:59:30AM -0600, Hokan wrote: > >

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

2020-11-25 Thread ಚಿರಾಗ್ ನಟರಾಜ್
Hi! I've moved/renamed/backed up/restored Maildirs which contain files with the hostname in the file name and it really doesn't matter afaict. getmail, procmail, etc just want a way to construct a unique filename, so they use the hostname as part of it. Your mail reader shouldn't care what the

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

2020-11-25 Thread Patrick Shanahan
* tech-lists [11-25-20 17:36]: > Hi, > > 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 idleness. Resume. See where it stalls. >

Best way to move large Maildir to another machine?

2020-11-25 Thread Dave Woodfall
Hello all, I have a Maildir folder which I want to move to another machine: about 830M with 29000 messages. Would just rsync'ing or scp'ing be OK? I'm asking because I noticed that either procmail or getmail puts the hostname in the file names, and I wondered if this would cause problems at the

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

2020-11-25 Thread tech-lists
Hi, 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 idleness. Resume. See where it stalls. If that is hard to observe interactively, strace has opt

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

2020-11-25 Thread tech-lists
Hello, On Wed, Nov 25, 2020 at 09:59:30AM -0600, Hokan wrote: I am running a month-old FreeBSD-CURRENT on an RPI-4 (8GB) and could not replicate the problem. thanks for posting yr config. Your mutt is compiled just slightly differently: hcache backend: Berkeley DB 5.3.28: (September 9, 2

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

2020-11-25 Thread Cameron Simpson
On 25Nov2020 14:19, tech-lists wrote: >I'm finding mutt significantly more laggy to resume on later >versions (=>2.x) than say 1.5.21. > >Let's say there's the list of emails in a folder already selected. If >I use up or down arrow for example, it'll sit for 3-4 seconds doing >nothing and then m

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

2020-11-25 Thread Hokan
I am running a month-old FreeBSD-CURRENT on an RPI-4 (8GB) and could not replicate the problem. Mutt 2.0.2 (2020-11-20) Copyright (C) 1996-2020 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 redistr

Re: Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread ಚಿರಾಗ್ ನಟರಾಜ್
For a more generic solution that I just setup in my config file: 1. Use the following send-hook: send-hook ~l "set from='Name '" 2. Declare all of the mailing lists to be caught by the ~l parameter using lists: lists mutt-users@mutt.org gnupg-us...@gnupg.org Now, whenever I reply to a mailing l

mutt seems laggy to resume on v.2.x

2020-11-25 Thread tech-lists
Hi, I'm finding mutt significantly more laggy to resume on later versions (=>2.x) than say 1.5.21. Let's say there's the list of emails in a folder already selected. If I use up or down arrow for example, it'll sit for 3-4 seconds doing nothing and then move. But once moving, it's as responsi

Re: Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread ಚಿರಾಗ್ ನಟರಾಜ್
The way I did it for this list is: send-hook ~tmutt-us...@mutt.org "set from='ಚಿರಾಗ್ ನಟರಾಜ್ '" You should be able to edit the mutt-users@mutt.org to be *@groups.io or something (you may have to escape the asterisk?) and then use set from='Name ' as the command to run. HTH! - Chiraag -- ಚಿರಾ

Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread Chris Green
Is there some sort of action/command I can run from send-hook that would allow 'editing' of a header? E.g. for the case I was recently enquiring about where groups.io munge certain senders' addresses the requirement would be to have a send-hook match on "via groups.io" in the From: header and wou