]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Treat empty address as valid
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 20 May 2017 11:18:38 +0000 (12:18 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 20 May 2017 11:18:38 +0000 (12:18 +0100)
src/ragel/smtp_addr_parser.rl

index 501ee82f49b46f7a2129ecb7e47c66a4fb2474bb..91b100af7ee1ac650b971467335fe2c66c3caa69 100644 (file)
@@ -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;