]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Properly apply the login_greeting setting.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 12 May 2018 10:15:07 +0000 (12:15 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 12 May 2018 10:15:07 +0000 (12:15 +0200)
It got ignored during migration of lmtp service to lib-smtp.

src/lmtp/client.c

index cad936b1fad073d13718b2cb7e2f959e48952c9e..aed34c9bc433b32a9e3342b44e39360abc0ac427 100644 (file)
@@ -156,6 +156,7 @@ struct client *client_create(int fd_in, int fd_out,
        if (!conn->ssl && master_service_ssl_is_enabled(master_service))
                lmtp_set.capabilities |= SMTP_CAPABILITY_STARTTLS;
        lmtp_set.hostname = client->unexpanded_lda_set->hostname;
+       lmtp_set.login_greeting = client->lmtp_set->login_greeting;
        lmtp_set.max_message_size = (uoff_t)-1;
        lmtp_set.rcpt_domain_optional = TRUE;
        lmtp_set.max_client_idle_time_msecs = CLIENT_IDLE_TIMEOUT_MSECS;