diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-20 12:18:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-20 12:18:38 +0100 |
commit | 5e77b3c83891e37820a705b3f62d386de210725d (patch) | |
tree | f3da86558e5ccb7ed757b6ea62ba811b7fc4cc29 | |
parent | 86fc1e855b8e8b2850b3fb74d705802ac29dc085 (diff) | |
download | rspamd-5e77b3c83891e37820a705b3f62d386de210725d.tar.gz rspamd-5e77b3c83891e37820a705b3f62d386de210725d.zip |
[Fix] Treat empty address as valid
-rw-r--r-- | src/ragel/smtp_addr_parser.rl | 2 |
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; |