diff options
Diffstat (limited to 'src/ragel/smtp_address.rl')
-rw-r--r-- | src/ragel/smtp_address.rl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ragel/smtp_address.rl b/src/ragel/smtp_address.rl index 3f03d405b..68226f748 100644 --- a/src/ragel/smtp_address.rl +++ b/src/ragel/smtp_address.rl @@ -28,10 +28,8 @@ QcontentSMTP = qtextSMTP | quoted_pairSMTP %User_has_backslash; Quoted_string = ( DQUOTE QcontentSMTP* >User_start %User_end DQUOTE ) %Quoted_addr; Local_part = Dot_string >User_start %User_end | Quoted_string; - String = Atom | Quoted_string; - Mailbox = Local_part "@" (address_literal | Domain >Domain_start %Domain_end); - UnangledPath = ( Adl ":" )? Mailbox >Domain_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*; |