summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-10 21:15:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-10 21:15:19 +0000
commit00cf9354776f5a056a6cd829f8970ea8dbd7e511 (patch)
tree4dacacdb74e0c34aea8b548f95ea3b3e65035849 /bin
parent593358c64388bd589bc6deb76b580da9ff974057 (diff)
o Pass the -G flag to sendmail like sendmail(8) says
o Delivery in the foreground instead of just queueing since otherwise mail is not delivered until the next queue run. From Takahiro Yugawa; closes PR 3182
Diffstat (limited to 'bin')
-rw-r--r--bin/rmail/rmail.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/rmail/rmail.c b/bin/rmail/rmail.c
index b6fb334934b..6ddecd86075 100644
--- a/bin/rmail/rmail.c
+++ b/bin/rmail/rmail.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmail.c,v 1.15 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: rmail.c,v 1.16 2003/06/10 21:15:18 millert Exp $ */
/* $NetBSD: rmail.c,v 1.8 1995/09/07 06:51:50 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95";
#else
-static char rcsid[] = "$OpenBSD: rmail.c,v 1.15 2003/06/02 23:32:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: rmail.c,v 1.16 2003/06/10 21:15:18 millert Exp $";
#endif
#endif /* not lint */
@@ -237,8 +237,9 @@ main(int argc, char *argv[])
i = 0;
args[i++] = _PATH_SENDMAIL; /* Build sendmail's argument list. */
+ args[i++] = "-G"; /* Relay submission. */
args[i++] = "-oee"; /* No errors, just status. */
- args[i++] = "-odq"; /* Queue it, don't try to deliver. */
+ args[i++] = "-odi"; /* Deliver in foreground. */
args[i++] = "-oi"; /* Ignore '.' on a line by itself. */
/* set from system and protocol used */