diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2016-07-03 14:30:34 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2016-07-03 14:30:34 +0000 |
commit | daf5336fd5a2b047e990287bd3dc1e41bcfffc41 (patch) | |
tree | e6f9be077a88badc85efe66000ee7d8d02dba297 /usr.sbin/smtpd | |
parent | 2812d28595397a83d61d4a714ce264cc96a69aee (diff) |
add -r option to enqueuer as compat interface for mailx
diff by Richard <richard@aaazen.com>
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/enqueue.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c index ba39c5cdd0d..3fd7fbd6efe 100644 --- a/usr.sbin/smtpd/enqueue.c +++ b/usr.sbin/smtpd/enqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enqueue.c,v 1.112 2016/02/03 08:03:21 gilles Exp $ */ +/* $OpenBSD: enqueue.c,v 1.113 2016/07/03 14:30:33 gilles Exp $ */ /* * Copyright (c) 2005 Henning Brauer <henning@bulabula.org> @@ -187,7 +187,7 @@ enqueue(int argc, char *argv[], FILE *ofp) save_argv = argv; while ((ch = getopt(argc, argv, - "A:B:b:E::e:F:f:iJ::L:mN:o:p:qR:StvV:x")) != -1) { + "A:B:b:E::e:F:f:iJ::L:mN:o:p:qr:R:StvV:x")) != -1) { switch (ch) { case 'f': fake_from = optarg; @@ -198,6 +198,9 @@ enqueue(int argc, char *argv[], FILE *ofp) case 'N': msg.dsn_notify = optarg; break; + case 'r': + fake_from = optarg; + break; case 'R': msg.dsn_ret = optarg; break; |