g_ptr_array_add (task->rcpt_envelope, addr);
}
else {
- msg_err_task ("bad from header: '%T'", h->value);
+ msg_err_task ("bad rcpt header: '%T'", h->value);
task->flags |= RSPAMD_TASK_FLAG_BROKEN_HEADERS;
}
debug_task ("read rcpt header, value: %V", hv);
Adl = Atdomain ( "," Atdomain )*;
Mailbox = Local_part "@" (address_literal | Domain >Domain_start %Domain_end);
- UnangledPath = ( Adl ":" )? Mailbox >Addr_start %Addr_end;
+ UnangledPath = ( Adl ":" )? Mailbox >Addr_start %Addr_end "."?;
AngledPath = "<" UnangledPath ">" %Addr_has_angle;
Path = AngledPath | UnangledPath;
SMTPAddr = space* (Path | "<>" %Empty_addr ) %Valid_addr space*;