diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2020-01-07 23:09:03 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2020-01-07 23:09:03 +0000 |
commit | abdfed1174f2a31445a80edc22c1823af496c336 (patch) | |
tree | 1b355fcc543873b67c5f571c21a10f752fa56f6a /usr.sbin/smtpd | |
parent | 955279139b7b0d1365b89f120738fe591054be09 (diff) |
generate tx-envelope before tx-rcpt like for smtp-in
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/mta_session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c index 4400374ee5c..84699d80801 100644 --- a/usr.sbin/smtpd/mta_session.c +++ b/usr.sbin/smtpd/mta_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta_session.c,v 1.127 2020/01/07 23:03:37 gilles Exp $ */ +/* $OpenBSD: mta_session.c,v 1.128 2020/01/07 23:09:02 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -1111,10 +1111,10 @@ mta_response(struct mta_session *s, char *line) switch (line[0]) { case '2': - mta_report_tx_rcpt(s, - s->task->msgid, e->dest, 1); mta_report_tx_envelope(s, s->task->msgid, e->id); + mta_report_tx_rcpt(s, + s->task->msgid, e->dest, 1); break; case '4': mta_report_tx_rcpt(s, |