mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
* [ANN] mblaze 0.7, a Maildir-focused command line mail client
@ 2020-05-15 16:57 Leah Neukirchen
  2020-05-16 12:59 ` Duncan Overbruck
  0 siblings, 1 reply; 2+ messages in thread
From: Leah Neukirchen @ 2020-05-15 16:57 UTC (permalink / raw)
  To: mblaze

Hello,

I'm happy to announce a new release of "mblaze", a Unix command line
mail client system in the spirit of RAND MH, but developed from scratch
and focused on Maildir.

This release adds new features and fixes bugs, updating is highly recommended.

* All tools now follow symlinks to mails.
* mcom: add preview alias for show command.
* mrep/mbnc: allow only one message as argument.
* maddr: add -d to only print display name.
* mthread: add -r to reverse top-level order.
* mlist: print number of matches when message selection is in place.
* mpick: many improvements.
* Many bug fixes.

You can find mblaze source at

     https://git.vuxu.org/mblaze
     https://github.com/leahneukirchen/mblaze

and release tarballs on

     https://github.com/leahneukirchen/mblaze/releases
     http://leahneukirchen.org/releases/mblaze-0.7.tar.gz

Releases are also signed with signify(1) using
http://leahneukirchen.org/releases/mblaze.pub namely:
RWT/F+mCqnmHzj/+dB32aXOuZ+4Afcr3r6TOVHXGkRNCBExd3kS0tCnL

There is a mailing list available at mblaze@googlegroups.com
(see https://groups.google.com/forum/#!forum/mblaze or
https://inbox.vuxu.org/mblaze/), and an IRC channel
#vuxu on irc.freenode.net.

Enjoy,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

804feb62551a64574bbf1b80fadee751abe5657c94205f96ca884f739d3d33fc  mblaze-0.7.tar.gz
2713b1a5f8372275b6e4c1cb6c5aa5b2e6935b277fc585559c24405f849008d9  mblaze-0.7.tar.gz.asc
befc153579607031bbafbbfa3e17ef0d26ebcfad09f680351896721ea4b0833b  mblaze-0.7.tar.gz.sig

-- 
You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/87a729gmqq.fsf%40vuxu.org.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ANN] mblaze 0.7, a Maildir-focused command line mail client
  2020-05-15 16:57 [ANN] mblaze 0.7, a Maildir-focused command line mail client Leah Neukirchen
@ 2020-05-16 12:59 ` Duncan Overbruck
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan Overbruck @ 2020-05-16 12:59 UTC (permalink / raw)
  To: Leah Neukirchen; +Cc: mblaze


Here are some of the new features of mpick(1):

mpick can now also act as interpreter to for mpick script files
instead of only allowing to supply expression through arguments.

Another new feature is redirecting mail paths matching expressions
to files or processes, similar to redirects work in awk.

The following example script moves matching mails into another maildir
by piping their path into mrefile(1).

By using mrefiles -v flag and using `? skip : print` the output
of this mpick script will be either the updated path of matching mails
or the original path of mails that did not match the expressions.
This would also work with other tools like mflag(1).

    #!/usr/bin/mpick
	("list-id".addr ~~ "*.project1.com" |"mrefile -v ~/mail/project1" ||
	 "list-id".addr ~~ "*.project2.com" |"mrefile -v ~/mail/project2")
	? skip : print

Another new feature is assigning expressions to variables,
to make it a bit easier to maintain large filter scripts.

    #!/usr/bin/mpick
	let project1 = "list-id".addr == "project1.com" |"mrefile -v ~/mail/project1"
	let project2 = "list-id".addr == "project2.com" |"mrefile -v ~/mail/project2"
	  in (project1 || project2) ? skip : print

Another example (with a second expression for project1) would be:

    #!/usr/bin/mpick
	let project1 =
	  "list-id".addr == "project1.com" ||
	  "to".addr      == "me@project1.com"
	let project2 = "list-id".addr == "project2.com"
	let move =
	  project1 |"mrefile -v ~/mail/project1" ||
	  project2 |"mrefile -v ~/mail/project2"
	in 
	  move ? skip : print

The pipe (|"prog") can be replaced with >"newfile" or >>"append"
to write or append matching mails to files.

Cheers,
Duncan

-- 
You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/2MOZWQEK1UKMR.3BJG24O93LE6X%40tux.localdomain.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-16 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 16:57 [ANN] mblaze 0.7, a Maildir-focused command line mail client Leah Neukirchen
2020-05-16 12:59 ` Duncan Overbruck

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mblaze/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).