diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-10-18 20:41:22 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-10-18 20:41:22 +0000 |
commit | ce00df642043c89e88fd427ff909c415c7084049 (patch) | |
tree | eba15b0288b963a8b32dd1b770113fbed5cd69e1 /usr.sbin/smtpd/mfa.c | |
parent | 55b5271e00726abf6dfdc2d2d73c34cc7e411064 (diff) |
fix a bug that was introduced by my changes in ruleset matching and which
caused an envelope to be saved with action A_INVALID when it matches
either A_RELAY or A_RELAYVIA.
reported by various people
Diffstat (limited to 'usr.sbin/smtpd/mfa.c')
-rw-r--r-- | usr.sbin/smtpd/mfa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/mfa.c b/usr.sbin/smtpd/mfa.c index 40d364114df..549f597b6a8 100644 --- a/usr.sbin/smtpd/mfa.c +++ b/usr.sbin/smtpd/mfa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfa.c,v 1.41 2009/10/12 22:34:37 gilles Exp $ */ +/* $OpenBSD: mfa.c,v 1.42 2009/10/18 20:41:21 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -463,6 +463,7 @@ mfa_test_rcpt_resume(struct smtpd *env, struct submit_status *ss) { return; } + ss->msg.recipient = ss->u.path; imsg_compose_event(env->sc_ievs[PROC_LKA], IMSG_LKA_RCPT, 0, 0, -1, ss, sizeof(*ss)); } |