Home | History | Annotate | Download | only in scripts

Lines Matching refs:reason

44 # (?P<reason>...) which should refer to the reason (error message).
45 # If no reason is present, the emparse_list_reason list is used to
46 # find a reason.
53 'error: (?P<reason>unresolvable): (?P<email>.+)',
59 '------- Failure Reasons --------\n\n(?P<reason>.*)\n(?P<email>.*)',
60 '^<(?P<email>.*)>:\n(?P<reason>.*)',
61 '^(?P<reason>User mailbox exceeds allowed size): (?P<email>.+)',
62 '^5\\d{2} <(?P<email>[^\n>]+)>\\.\\.\\. (?P<reason>.+)',
64 '^did not reach the following recipient\\(s\\):\n\n(?P<email>.*) on .*\n +(?P<reason>.*)',
65 '^ <(?P<email>[^\n>]+)> \\.\\.\\. (?P<reason>.*)',
66 '^Report on your message to: (?P<email>.*)\nReason: (?P<reason>.*)',
67 '^Your message was not delivered to +(?P<email>.*)\n +for the following reason:\n +(?P<reason>.*)',
68 '^ was not +(?P<email>[^ \n].*?) *\n.*\n.*\n.*\n because:.*\n +(?P<reason>[^ \n].*?) *\n',
90 r'^5\d{2} <>\.\.\. (?P<reason>.*)',
91 r'<>\.\.\. (?P<reason>.*)',
92 re.compile(r'^<<< 5\d{2} (?P<reason>.*)', re.MULTILINE),
93 re.compile('===== stderr was =====\nrmail: (?P<reason>.*)'),
94 re.compile('^Diagnostic-Code: (?P<reason>.*)', re.MULTILINE),
106 reason = None
112 reason = res.group('reason')
126 reason = res.group('reason')
132 if not reason:
133 reason = sub
134 if reason[:15] == 'returned mail: ':
135 reason = reason[15:]
143 errors.append(' '.join((email.strip()+': '+res.group('reason')).split()))
148 reason = res.group('reason')
151 errors.append(' '.join((email.strip()+': '+reason).split()))