newsGNU Mailutils - News: Version 3.2

 
 
Latest News
Version 3.5 posted by gray, Sat 27 Oct 2018 08:10:28 AM UTC - 0 replies
Version 3.4 posted by gray, Thu 02 Nov 2017 11:57:38 AM UTC - 0 replies
Version 3.3 available posted by gray, Wed 18 Oct 2017 10:14:40 AM UTC - 0 replies
Version 3.2 posted by gray, Sat 11 Mar 2017 02:51:54 PM UTC - 0 replies
Version 3.1 posted by gray, Tue 13 Dec 2016 08:49:41 PM UTC - 0 replies
[Submit News]
[26 news in archive]

Version 3.2

Item posted by Sergey Poznyakoff <gray> on Sat 11 Mar 2017 02:51:54 PM UTC.

GNU mailutils version 3.2 is available for download.

New in this release:

Configuration syntax

Statements that allow for variable substitution also allow for command expansion. Commands are invoked the same way as in shell:

The following commands are defined:

  • localpart X

Treats X as an email address and returns its part preceding
the @-sign. If there is no @-sign, returns X unchanged.

  • domainpart X

Treats X as an email address and returns the part following
the @-sign. If there is no @-sign, returns empty string.

  • shell CMD [ARGS...]

Runs the shell command CMD with the given arguments. Returns
the standard output from the command. The command is invoked
using "/bin/sh -c" and can contain any valid shell construct.

imap4d

Namespace configuration completely rewritten. The namespace block statement defines a particular namespaces. Within it, one or more
prefix statements define prefixes available in that namespace, along with their mappings to the server filesystem, hierarchy delimiters etc.

An example of namespace configuration:

The following configuration statements have been withdrawn: homedir, personal-namespace, other-namespace, shared-namespace,
other-mailbox-mode, shared-mailbox-mode.

mail

Modifying attachment name and filename

Two new options are provided for modifying attachment name (a.k.a description), and file name:

--content-name=STRING
Sets the attachment name (description). Technically speaking, it
is the "name" parameter in the Content-Type MIME header.

--content-filename=NAME
Sets the file name (the "filename" parameter in the
Content-Description MIME header of the outgoing message).

Both options affect only the next --attach or --attach-fd option.

Constructing attachments from the command line

The new option --attach-fd=N instructs mail to read attachment from file descriptor N. By default, the attachments created using this
option are unnamed, i.e. neither name parameter of the Content-Type header, nor the filename parameter of the Content-Disposition header
are set. Use the --content-name and --content-filename options to change these.

The option --attach-fd=0 causes attachment to be read from the standard input. The option --attach=- has the same effect. For
obvious reasons, the interactive mode is suppressed in this case.

The --attach-fd option is useful when calling mail from another program.

The new option --skip-empty-attachments instructs mail to omit attachments that have zero-size body.

Example:

Suppose that the mail binary is opened at file descriptor 5 and the mail.c file is opened at descriptor 6, the following command
line sends them as attachments:

Click here for details.

Bugfixes

  • Fix memory leak in mu_stream_destroy.
  • Fix handling of ambiguous command line options.
  • Fix sieve logging in the maidag utility
  • Fixes in the Q RFC 2047 encoder.

No messages in Version 3.2

 

Back to the top


Powered by Savane 3.3