** New operation mode: proxy ** Command line option precedence Command line options take precedence over configuration file statements. ** elif statement A familiar `elif' statement is supported, e.g.: if condition-1 action-list-1 elif condition-2 action-list-2 elif condition-3 action-list-3 else action-list-4 fi ** New CONTROL statement esmtp-auth-delayed. When set to `yes', this statement instructs Anubis to postpone ESMTP authentication until MAIL command is issued by the client. This allows to change authentication credentials in the SMTP section (see below). ** SMTP section The new section "SMTP" is invoked each time an SMTP command is received. This section may alter the command's argument, using the "modify command", e.g.: BEGIN SMTP regex :extended modify command [ehlo] "foo.bar.net" if command ["mail from:"] "<(.*)>(.*)" modify command ["mail from:"] "<firstname.lastname@example.org>\2" fi END It is also allowed to use esmtp-* keywords in this section, provided that `esmtp-auth-delayed yes' is set in the CONTROL section. Changes in the ESMTP authentication credentials take effect if they occur either before receiving MAIL command from the client, or when handling this command, e.g.: BEGIN SMTP if command ["mail from:"] "<smith(\+.*)?@@example.net>" esmtp-auth-id smith esmtp-password guessme else esmtp-auth no fi END ** New keywords: log-facility and log-tag ** Guile output By default Scheme's standard error and output ports are redirected to syslog, using priorities `err' and `warning' correspondingly. ** MySQL options file When using MySQL for Anubis user database, the database parameters and access credentials are read from the file /etc/my.cnf, section "anubis". Additionally, two URL parameters are provided: "options-file", which sets the name of the options file, and "options-group", which sets the name of the group.
* The --callout-socket option New option --callout-socket=URL instructs mailfromd to use URL to pass callout requests to the callout server listening on URL. It is equivalent to the callout-url configuration statement, which it overrides. This option is used by mtasim to avoid clobbering the existing callout sockets when starting new mailfromd instance. * NS lookup NFL functions This release implements the following new MFL functions: number primitive_hasns (string DOM) Returns 1 if the domain DOM has at least one NS record and 0 otherwise. Throws an error if DNS lookup fails. require 'dns' number hasns (string DOM) Same as above, but returns 0 on DNS lookup failures. string getns (string DOM ; number RESOLVE, number SORT) Returns a whitespace-separated list of all the NS records for the domain DOM. If optional parameter RESOLVE is 1, the returned list contains IP addresses. Optional SORT controls whether the entries are sorted. * Bugfixes ** Callout functions return true on checking the null return address (<>) ** Arguments in transaction between mailfromd and calloutd are quoted ** Avoid false failures in testsuite due to libadns warnings ** configure --with-dbm=T accepts any T supported by mailutils ** The 'dbdel' built-in silently ignores non-existing keys
* Rewrite mailcap (RFC1524) support * imap4d: SEARCH command ** Implemented SEARCH CHARSET This requires libiconv and libunistring. ** Improved SEARCH BODY and SEARCH TEXT commands Both commands now properly descend into multipart message parts and decode messages, if necessary. * Fixes in the 'mail' utility ** New mailbox notation @ @ can be used with any command requring a mailbox name to refer to the file given with the -f option. ** Sender addresses in message sets Arbitrary string in message set is treated as sender address. It expands to all messages whose sender addresses as displayed in a header summary match the string. ** showenvelope With the showenvelope variable set, mail incorrectly displayed envelope on the stdout, instead of using the current output stream. ** pipe command Last argument always specifies the command to pipe messages to. ** echo command The echo command behaves similarly to its shell equivalent. In particular, variable and command expansions are performed. ** fixed / and :/ searches in message sets ** Fix and improve argument completion ** Don't print original file name, use postprocessed URL representation The original file name might contain passwords (if it refers to a remote mailbox). ** Improve folder handling and name expansion ** Fix header display after deletions * Fixes in IMAP client library ** Speed up opening IMAP mailboxes Initial scan of an imap mailbox retrieves, among other data, message headers. This considerably speeds up the operation of such tools as mail (initial loading), frm or from. ** handle EXPUNGE response This fixes interoperation with Dovecot imap daemon. ** fix incorporation of new messages * Improved documentation
* new module: ldap * mailutils: Requires 2.99.98 or later
* Requires Mailutils 3.4