newsmailfromd -- a general-purpose milter - News: Version 3.1.3 released

 
 
Show feedback again
Latest News
Version 9.0 posted by gray, Mon Jan 8 21:05:21 2024 - 0 replies
Version 8.17.1 posted by gray, Thu Jul 20 09:46:22 2023 - 0 replies
Version 8.17 posted by gray, Fri Jul 7 11:04:32 2023 - 0 replies
Version 8.16 posted by gray, Mon May 1 12:58:15 2023 - 0 replies
Version 8.15 posted by gray, Sun Dec 11 09:36:34 2022 - 0 replies
[Submit News]
[53 news in archive]

Version 3.1.3 released

Item posted by Sergey Poznyakoff <gray> on Mon Apr 23 14:31:01 2007.

This is the next and, hopefully, last version in the 3.1.x series. We suggest all users to try the version 3.1.91, also released today (see the next announce).

For those who still whih to stick with 3.1.x series, here is the list of new features in this release:

  • New function: getmx

string getmx(string domain [, number resolve])

Returns a whitespace-separated list of MX names (if `resolve' is not given or is 0) or MX IP addresses (if `resolve'==1) for `domain'. If `domain' has no MX records, empty string is returned. If the DNS query fails, `getmx' raises an appropriate exception.

  • Short options -l and -L

These options will have different meaning in future versions, therefore starting from this release we begin a transitional period, during which their usage is allowed but produces a warning message. You are encouraged to use the corresponding long forms:

--lint or --syntax-check instead of -l
--log-tag instead of -L

Please update your scripts accordingly.

  • #pragma option state-directory

This new #pragma allows to change the file name of the current program state directory.

Bugfixes:

  • Fix incorrect packet length calculation in connect Milter handler. The bug manifested itself with the following log message in mailfromd log:

MailfromFilter: shan_connect: wrong length

  • If, during sender verification, the remote server replies with 4xx to MAIL FROM command, do not try next sender address, but tempfail immediately.
  • Accessing local variables and arguments from `catch'.

Locals and arguments cannot be accessed within exceptions handlers (`catch' statements). The parser issues error message if this is attempted. Previous versions coredumped at this point.

If you need this functionality, consider switching to the 3.1.91 version.

  • Database locking fixed for Berkeley databases.

This removes the notorious `cannot insert datum' problems, and (hopefully) removes the need for `--ignore-failed-reads' switch.

  • Fix passing of string handler arguments between handlers, as in

prog helo
do
set x $1
done

prog envfrom
do
if %x = "dom.ain"
...

Comments:

No messages in Version 3.1.3 released

 

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup+gray