* Map site to path and update log.
*/
site_path = flush_site_to_path((VSTRING *) 0, site);
- status = flush_add_path(STR(site_path), queue_id);
+ status = valid_hostname(STR(site_path), DONT_GRIPE) ?
+ flush_add_path(STR(site_path), queue_id) : FLUSH_STAT_BAD;
vstring_free(site_path);
return (status);
* Map site name to path name and flush the log.
*/
site_path = flush_site_to_path((VSTRING *) 0, site);
- status = flush_send_path(STR(site_path));
+ status = valid_hostname(STR(site_path), DONT_GRIPE) ?
+ flush_send_path(STR(site_path)) : FLUSH_STAT_BAD;
vstring_free(site_path);
return (status);
* Version of this program.
*/
#define VAR_MAIL_VERSION "mail_version"
-#define DEF_MAIL_VERSION "Snapshot-20010323"
+#define DEF_MAIL_VERSION "Snapshot-20010324"
extern char *var_mail_version;
/* LICENSE
*/
if (event == EVENT_TIME)
msg_warn("%s: read timeout for service %s", myname, ip->service);
+ event_disable_readwrite(ip->fd);
if (close(ip->fd) < 0)
msg_warn("%s: close %s: %m", myname, ip->service);
myfree(ip->service);
*/
if (event == EVENT_TIME)
msg_warn("%s: read timeout for service %s", myname, sp->service);
+ event_disable_readwrite(sp->fd);
if (close(sp->fd) < 0)
msg_warn("%s: close %s: %m", myname, sp->service);
myfree(sp->service);
*/
if (event == EVENT_TIME)
msg_warn("%s: read timeout for service %s", myname, up->service);
+ event_disable_readwrite(up->fd);
if (close(up->fd) < 0)
msg_warn("%s: close %s: %m", myname, up->service);
myfree(up->service);