--- src/lda/main.c.orig	2018-06-01 19:24:10 UTC
+++ src/lda/main.c
@@ -330,7 +330,9 @@ int main(int argc, char *argv[])
 		case 'f':
 			/* envelope sender address */
 			if (smtp_address_parse_path(ctx.pool, optarg,
-				SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL,
+				SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL |
+					SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART |
+					SMTP_ADDRESS_PARSE_FLAG_ALLOW_EMPTY,
 				&mail_from, &errstr) < 0) {
 				i_fatal_status(EX_USAGE,
 					"Invalid -f parameter: %s", errstr);
