On 17Oct2020 08:29, Ranjan Maitra <maitra(a)email.com> wrote:
On Sat, 17 Oct 2020 20:23:37 +1100 Cameron Simpson
<cs(a)cskk.id.au> wrote:
> I think I'd still be using FVWM - I had a nice setup with no window titles or
> borders and keyboard driven layout/positioning, many desktops indexed by name
> with supporting scripts to make new ones ("nd TASKNAME" => new desktop
and
> new menu item), etc. [...]
Thanks, Cameron! I just checked at
fvwm.org and it appears that fvwm is still back under
active development (with a v3 apparently in the works). However, I have to say that
openbox (and even pekwm) have been pretty good to me.
I'll try to keep them in mind for when I next use an X11 desktop.
Btw, can I get your filer? It turns out that procmail does not allow
the format of a Maildir file to be changed. One option is to figure out setting the
hostname env for procmailrc (and mutt) to say localhost.localdomain (that name would be
generic enough to be common across machines) or give up and continue with the MH format
(though in that case, I need to figure out what is in a .mh_sequence in order for a
mail-monitoring program -- originally xbuffy -- I spent days/weeks modified for sylpheed
to work).
But I am interested in your filer script for curiosity's sake also. I looked around
your bin pages but could not easily figure out which one it was: of course, it may not
also be there.
You want the "mailfiler" script in my bin directory, but that is only a
stub which invokes the Python cs.app.mailfiler module. The easiest way
to get that is:
pip install cs.app.mailfiler
which should also get you a "mailfiler" command in the Python bin directory.
The source code is here:
https://hg.sr.ht/~cameron-simpson/css/browse/lib/python/cs/app/mailfiler....
https://hg.sr.ht/~cameron-simpson/css/browse/lib/python/cs/app/mailfiler....
https://hg.sr.ht/~cameron-simpson/css/browse/lib/python/cs/app/mailfiler....
being the code, the command line man page and the rules syntax man page
respectively.
You'll see that the rules syntax is far more succinct and readable than
procmail's.
It does require some setup, and if you bother to try it I'd be interested
to know how that plays out and might be improved, because it doubtless
has an assortment of assumed things about my personal environment.
The basic command is "mailfiler monitor", which watches a set of
Maildirs as incoming mail spools, and applies per spool folder rules to
each message which arrives. So you fetch mail into the spool folder, and
the daemon files from theere, separately from the mail fetcher.
Like you, I have a few mail identities - my main personal one and some
workplace ones - I fetch each into distinct spool folders basic so that
they can get a ittle per-workplace cross filing, then copy them all
additionally into my "spool-in", where my main rules live.
Cheers,
Cameron Simpson <cs(a)cskk.id.au>