mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
smtp: Adjust fromRegex to handle AUTH=<> in middle of args (#291)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -172,6 +172,7 @@ func TestReadyStateValidCommands(t *testing.T) {
|
||||
{"MAIL FROM:<john@gmail.com> SIZE=1024", 250},
|
||||
{"MAIL FROM:<john@gmail.com> SIZE=1024 BODY=8BITMIME", 250},
|
||||
{"MAIL FROM:<bounces@onmicrosoft.com> SIZE=4096 AUTH=<>", 250},
|
||||
{"MAIL FROM:<b@o.com> SIZE=4096 AUTH=<> BODY=7BIT", 250},
|
||||
{"MAIL FROM:<host!host!user/data@foo.com>", 250},
|
||||
{"MAIL FROM:<\"first last\"@space.com>", 250},
|
||||
{"MAIL FROM:<user\\@internal@external.com>", 250},
|
||||
|
||||
Reference in New Issue
Block a user