You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outlook.com appends an AUTH field to the MAIL command, which is not handled by the current "PARAM" Pattern:
command=MAIL FROM:thomas_tester@outlook.de AUTH=<>
EUR02-AM5-obe.outbound.protection.outlook.com
The simple change from greedy to non-greedy: "MAIL FROM:\\s?<(.*?)>.*"
or exclusion - IMHO preferred, because more precise: "MAIL FROM:\\s?<([^>]*)>.*"
would solve the issue correctly
The text was updated successfully, but these errors were encountered:
shadogray
pushed a commit
to shadogray/greenmail
that referenced
this issue
Nov 7, 2019
outlook.com appends an AUTH field to the MAIL command, which is not handled by the current "PARAM" Pattern:
command=MAIL FROM:thomas_tester@outlook.de AUTH=<>
EUR02-AM5-obe.outbound.protection.outlook.com
Pattern PARAM = Pattern.compile("MAIL FROM:\\s?<(.*)>", ...)
produces:
"thomas_tester@outlook.de> AUTH=<"
The simple change from greedy to non-greedy:
"MAIL FROM:\\s?<(.*?)>.*"
or exclusion - IMHO preferred, because more precise:
"MAIL FROM:\\s?<([^>]*)>.*"
would solve the issue correctly
The text was updated successfully, but these errors were encountered: