with incorrectly implemented SQL or LDAP tables. File:
global/maps_find.c.
+20031023
+
+ Bugfix: the MYSQL and PGSQL modules invoked dict_register().
+ This was fixed a while ago but never made it into the
+ distribution. Files: util/dict*sql.c.
+
+ Robustness: added three ISSPACE() calls in the smtpd proxy
+ parser. File: smtpd/smtpd_proxy.c.
+
+20031024
+
+ Portability: added localhost to mydestination for sites that
+ turn off append_dot_mydomain. File: global/mail_params.h.
+
Open problems:
High: when virtual aliasing is turned off after content
* mail to other destinations.
*/
#define VAR_MYDEST "mydestination"
-#define DEF_MYDEST "$myhostname, localhost.$mydomain"
+#define DEF_MYDEST "$myhostname, localhost.$mydomain localhost"
extern char *var_mydest;
/*
|| BLOCKS(var_message_limit) >= fsbuf.block_free / 2) {
(void) smtpd_check_reject(state, MAIL_ERROR_RESOURCE,
"452 Insufficient system storage");
+ msg_warn("not enough free space in mail queue: %lu bytes",
+ (unsigned long) fsbuf.block_free * fsbuf.block_size);
return (STR(error_text));
}
return (0);
/*++
/* NAME
-/* smtpd_proto 3
+/* smtpd_proxy 3
/* SUMMARY
/* SMTP server pass-through proxy client
/* SYNOPSIS
*/
lines = STR(state->proxy_buffer);
while ((line = mystrtok(&lines, "\n")) != 0)
- if ((line[3] == ' ' || line[3] == '-')
+ if (ISDIGIT(line[0]) && ISDIGIT(line[1]) && ISDIGIT(line[2])
+ && (line[3] == ' ' || line[3] == '-')
&& strcmp(line + 4, XLOGINFO_CMD) == 0)
(void) smtpd_proxy_cmd(state, SMTPD_PROX_WANT_ANY, "%s %s %s",
XLOGINFO_CMD, state->addr, state->name);
dict_mysql->name->len_hosts);
if (dict_mysql->pldb == NULL)
msg_fatal("couldn't intialize pldb!\n");
- dict_register(name, (DICT *) dict_mysql);
return (DICT_DEBUG (&dict_mysql->dict));
}
dict_pgsql->dict.flags = dict_flags | DICT_FLAG_FIXED;
if (dict_pgsql->pldb == NULL)
msg_fatal("couldn't intialize pldb!\n");
- dict_register(name, (DICT *) dict_pgsql);
return &dict_pgsql->dict;
}