From def10dc7aa9ba0531c9342718772e2530a9f10eb Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Fri, 25 Oct 2013 21:31:24 +0000 Subject: local enqueuer improvements: - parse the whole input before trying to establish the connection to the local socket: fixes timeout problems when reading the output of a long running program. - use sendmail(8)-like exit status. --- usr.sbin/smtpd/smtpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/smtpd/smtpd.h') diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 3eaf192d8c2..39c94a568f9 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.423 2013/07/19 22:22:39 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.424 2013/10/25 21:31:23 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -1065,7 +1065,6 @@ void dns_imsg(struct mproc *, struct imsg *); /* enqueue.c */ int enqueue(int, char **); -int enqueue_offline(int, char **); /* envelope.c */ @@ -1365,6 +1364,7 @@ void log_envelope(const struct envelope *, const char *, const char *, void session_socket_blockmode(int, enum blockmodes); void session_socket_no_linger(int); int session_socket_error(int); +int getmailname(char *, size_t); /* waitq.c */ -- cgit v1.2.3