From: Stephan Bosch Date: Sun, 4 Nov 2018 18:04:34 +0000 (+0100) Subject: plugins: quota: quota-status - Accept addresses with badly broken localparts from... X-Git-Tag: 2.3.10~229 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a825021fe51d5afe53cd856863a5d1d9d2ee7edc;p=thirdparty%2Fdovecot%2Fcore.git plugins: quota: quota-status - Accept addresses with badly broken localparts from Postfix. --- diff --git a/src/plugins/quota/quota-status.c b/src/plugins/quota/quota-status.c index 8a8b5c9220..55f89fc27c 100644 --- a/src/plugins/quota/quota-status.c +++ b/src/plugins/quota/quota-status.c @@ -201,7 +201,8 @@ static int client_input_line(struct connection *conn, const char *line) str_begins(line, "recipient=")) { if (smtp_address_parse_path(default_pool, line + 10, SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART | - SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL, + SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL | + SMTP_ADDRESS_PARSE_FLAG_ALLOW_BAD_LOCALPART, &client->recipient, &error) < 0) { e_error(client->event, "quota-status: " "Client sent invalid recipient address `%s': "