diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-18 22:02:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-18 22:02:59 +0300 |
commit | 674a54dd373c13df534cf7fa0b75b2db8333d95c (patch) | |
tree | e04b6c16a625afb1efc9b68f52140a4f9a33f7e1 | |
parent | 78f10a75d96d08192f908f034e44e4932bfecc72 (diff) | |
download | mailfromd-674a54dd373c13df534cf7fa0b75b2db8333d95c.tar.gz mailfromd-674a54dd373c13df534cf7fa0b75b2db8333d95c.tar.bz2 |
Minor changes.
* NEWS: Document milter_client_* and milter_server_*
builtin variables.
* Makefile.am: Silent ChangeLog rule.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | NEWS | 28 |
2 files changed, 22 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am index edccce87..d9cbffc3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,7 +65,7 @@ changelog_dir = . .PHONY: ChangeLog ChangeLog: - if test -d .git; then \ + $(AM_V_GEN)if test -d .git; then \ cmd=$(top_srcdir)/build-aux/gitlog-to-changelog; \ if test -n "$(gen_start_date)"; then \ cmd="$$cmd --since=\"$(gen_start_date)\""; \ @@ -1,4 +1,4 @@ -Mailfromd NEWS -- history of user-visible changes. 2009-09-17 +Mailfromd NEWS -- history of user-visible changes. 2009-09-18 Copyright (C) 2005, 2006, 2007, 2008, 2009 Sergey Poznyakoff See the end of file for copying conditions. @@ -28,10 +28,10 @@ the source. Starting with this release the script file is renamed to `mailfromd.rc' is recognised and parsed. This ensures backward compatibility. - To upgrade your scripts to the new configuration system, follow + To upgrade your scripts for the new configuration system, follow the steps below: -1. Run @samp{mailfromd --lint}. You will see an output similar to this: +1. Run `mailfromd --lint'. You will see an output similar to this: mailfromd: Warning: using legacy script file /usr/local/etc/mailfromd.rc @@ -45,7 +45,7 @@ the steps below: mailfromd: Info: run script /tmp/mailfromd-newconf.sh to fix the above warnings -2. At the end of the run @command{mailfromd} will create a shell script +2. At the end of the run, mailfromd will create a shell script `/tmp/mailfromd-newconf.sh' for fixing these warnings. Run it and remove it afterwards: @@ -60,8 +60,8 @@ particular, this occurs when MTA receives the RSET command. * Precious variables -A new command word "precious" may be used in front of variable -declaration to inform Mailfromd that the variable must retain +A new command word "precious" may be used in front of a variable +declaration to inform Mailfromd that this variable must retain its value across Milter abort requests. For example: precious number rcpt_counter @@ -75,9 +75,23 @@ In this code, the value of rcpt_counter variable will reflect the total number of SMTP "RCPT TO" commands received during this session, including those that have been cancelled by RSET commands. -The following built-in variables are declared as precious: +The following built-in variables are implicitly declared as precious: ehlo_domain, mailfrom_address. +* New built-in variables + +** number milter_client_family +Address family of the client connection. + +** string milter_client_address +Address (IPv4 or UNIX socket) of the Milter client. + +** number milter_server_family +Address family of the Milter server socket. + +** string milter_server_address +Address (IPv4 or UNIX socket) the server socket is bound to. + * Changes to MFL functions ** getmx |