Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-10-20 11:49
Flavor·Python

r"
to=<(?P<email>\S+)>,\srelay=(?!10\.10\.10\.)(?P<relay>\S+),.+dsn=(?P<dsn>\d+\.\d+\.\d+),\sstatus=(?!sent)(?P<status>\w)\w+\s\((?:host\s\S+\[\S+\]\ssaid:\s)?(?P<code>\d{3})?
"
g
Open regex in editor

Description

Full regex for failed sendings

Submitted by anonymous