]> 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)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 28 May 2018 06:02:11 +0000 (09:02 +0300)
It got ignored during migration of lmtp service to lib-smtp.

src/lmtp/client.c

index c4075f6f4762fdf017fcaf36a8fcacebbb43940c..25619900736df21dc5a281a1e792c40cfbffce2c 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.rcpt_domain_optional = TRUE;
        lmtp_set.max_client_idle_time_msecs = CLIENT_IDLE_TIMEOUT_MSECS;
        lmtp_set.rawlog_dir = client->lmtp_set->lmtp_rawlog_dir;