newsGNU Anubis - News

 
 

Version 4.2 available for download.

Item posted by Sergey Poznyakoff <gray> on Fri 23 May 2014 09:16:59 PM UTC.

GNU Anubis version 4.2 is available for download.  New in this release:

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 a modify command, e.g.:


BEGIN SMTP
regex :extended
modify command [ehlo] "foo.bar.net"
if command ["mail from:"] "<(.*)>(.*)"
  modify command ["mail from:"] "<root@bar.net>\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 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.

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code