aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ragel/smtp_addr_parser.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/smtp_addr_parser.rl b/src/ragel/smtp_addr_parser.rl
index 501ee82f4..91b100af7 100644
--- a/src/ragel/smtp_addr_parser.rl
+++ b/src/ragel/smtp_addr_parser.rl
@@ -47,7 +47,7 @@
}
action Empty_addr {
- addr->flags |= RSPAMD_EMAIL_ADDR_EMPTY;
+ addr->flags |= RSPAMD_EMAIL_ADDR_EMPTY|RSPAMD_EMAIL_ADDR_VALID;
addr->addr = "";
addr->user = addr->addr;
addr->domain = addr->addr;