aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-03-12 10:03:43 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-03-12 10:03:43 +0000
commitf7c5d2e159a9c55b0da90f22d08a0b93a34cc766 (patch)
tree4bdaa07c55723a0a9bab9fea54b55ff4961d6a63
parentb9c5231e13acac4d23d119bf176ee952b9071fe9 (diff)
downloadmailfromd-f7c5d2e159a9c55b0da90f22d08a0b93a34cc766.tar.gz
mailfromd-f7c5d2e159a9c55b0da90f22d08a0b93a34cc766.tar.bz2
Update
git-svn-id: file:///svnroot/mailfromd/trunk@1286 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--ChangeLog10
-rw-r--r--NEWS8
-rw-r--r--doc/mailfromd.texi6
-rw-r--r--etc/Makefile.am2
-rw-r--r--src/engine.c1
5 files changed, 21 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c14c3074..a611dbc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-03-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * doc/mailfromd.texi (Data Types): Fix description of numeric
+ data type implementation.
+
+ * etc/Makefile.am (DEFAULT_PIDFILE): Fix the leftover usage of
+ MAILFROMSTATEDIR
+ * src/engine.c (check_on_host): Break sender email iteration if
+ the server tempfails.
+
2007-03-10 Sergey Poznyakoff <gray@gnu.org.ua>
* src/mtasim.c: Implement basic milter support
diff --git a/NEWS b/NEWS
index f51010dd..b6dd1891 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,11 @@
-Mailfromd NEWS -- history of user-visible changes. 2007-03-07
+Mailfromd NEWS -- history of user-visible changes. 2007-03-12
Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
See the end of file for copying conditions.
Please send mailfromd bug reports to <bug-mailfromd@gnu.org.ua>
-Version 3.1.91, CVS
+Version 3.1.91, SVN
* New command line option -v (--variable) allows to alter initial value of a
global variable, e.g:
@@ -98,6 +98,10 @@ makes function `sa_wrapper' limited for use in `prog eom' only.
...
(from 3.1.3)
+
+** If, during the sender verification, the remote server resplies with
+4xx to MAIL FROM command, do not try next sender address, but tempfail
+immediately.
Version 3.1.90, 2006-12-13
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index 63a1493d..ac977e2a 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -3049,9 +3049,9 @@ case insensitive matching (a good thing to start your
The @command{mailfromd} filter script language operates on entities
of two types: numeric and string.
- The @dfn{numeric} type is represented internally as an unsigned long
-integer. Depending on the machine architecture, it can have different
-size. On machines with Intel-based CPUs it is 32 bits long.
+ The @dfn{numeric} type is represented internally as a signed long
+integer. Depending on the machine architecture, its size can vary.
+For example, on machines with Intel-based CPUs it is 32 bits long.
A @dfn{string} is a string of characters of arbitrary length.
Strings can contain any characters except ASCII NUL (@samp{0}).
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 8e942237..52b9f964 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -19,7 +19,7 @@
EXTRA_DIST = mailfromd.rc rc.in
noinst_SCRIPTS = rc.mailfromd
-DEFAULT_PIDFILE = $(MAILFROMSTATEDIR)/mailfromd.pid
+DEFAULT_PIDFILE = $(DEFAULT_STATE_DIR)/mailfromd.pid
CLEANFILES = rc.mailfromd
.in.mailfromd:
diff --git a/src/engine.c b/src/engine.c
index 0df003f1..106749b1 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -648,6 +648,7 @@ check_on_host(eval_environ_t env, char *email, char *client_addr,
free(fromaddr);
if (smtp_recv(&io)) {
status = mf_temp_failure;
+ break;
} else if (SMTP_MAJOR(io.code) != 2) {
if (SMTP_MAJOR(io.code) == 4) {
if (reset(&io) != mf_success) {

Return to:

Send suggestions and report system problems to the System administrator.