]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-lda: mail-send: Fixed debug message in mail_send_rejection() to use correct address.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 6 Nov 2016 12:17:26 +0000 (13:17 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 6 May 2017 14:39:53 +0000 (16:39 +0200)
src/lib-lda/mail-send.c

index 76ffc12e788209cb83c2d5f143ffe466c16b10a1..b3768b11bf96dd892875be80697d6c01311326e4 100644 (file)
@@ -74,8 +74,8 @@ int mail_send_rejection(struct mail_deliver_context *ctx, const char *recipient,
        }
 
        if (mailbox_get_settings(mail->box)->mail_debug) {
-               i_debug("Sending a rejection to %s: %s", recipient,
-                       str_sanitize(reason, 512));
+               i_debug("Sending a rejection to %s: %s",
+                       return_addr, str_sanitize(reason, 512));
        }
 
        smtp_client = smtp_client_init(ctx->set, NULL);