]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Explicitly disable message size limit enforcement.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 6 Apr 2018 23:08:34 +0000 (01:08 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 28 May 2018 06:16:55 +0000 (09:16 +0300)
src/lmtp/client.c

index 25619900736df21dc5a281a1e792c40cfbffce2c..3f4bb12bd6054acf53253f2536e2d5feb9bf858c 100644 (file)
@@ -157,6 +157,7 @@ struct client *client_create(int fd_in, int fd_out,
                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;
        lmtp_set.rawlog_dir = client->lmtp_set->lmtp_rawlog_dir;