]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Fixed passing SMTP submit settings to plugins.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 20 Oct 2017 22:36:55 +0000 (00:36 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 20 Oct 2017 22:36:55 +0000 (00:36 +0200)
This caused Sieve to crash upon SMTP message submission; e.g., during redirect.

src/lmtp/commands.c

index b3838e410902fbbee1b127a7d1b1bc738877f709..4ade60083e5aa15e2b0f890dd1cd9f8e809c85cd 100644 (file)
@@ -895,6 +895,7 @@ client_deliver(struct client *client, const struct mail_recipient *rcpt,
        dctx.session = session;
        dctx.pool = session->pool;
        dctx.set = lda_set;
+       dctx.smtp_set = smtp_set;
        dctx.session_id = rcpt->session_id;
        dctx.src_mail = src_mail;
        dctx.src_envelope_sender = client->state.mail_from;