Home | History | Annotate | Download | only in scripts

Lines Matching refs:reason

39 # (?P<reason>...) which should refer to the reason (error message).
40 # If no reason is present, the emparse_list_reason list is used to
41 # find a reason.
48 'error: (?P<reason>unresolvable): (?P<email>.+)',
54 '------- Failure Reasons --------\n\n(?P<reason>.*)\n(?P<email>.*)',
55 '^<(?P<email>.*)>:\n(?P<reason>.*)',
56 '^(?P<reason>User mailbox exceeds allowed size): (?P<email>.+)',
57 '^5\\d{2} <(?P<email>[^\n>]+)>\\.\\.\\. (?P<reason>.+)',
59 '^did not reach the following recipient\\(s\\):\n\n(?P<email>.*) on .*\n +(?P<reason>.*)',
60 '^ <(?P<email>[^\n>]+)> \\.\\.\\. (?P<reason>.*)',
61 '^Report on your message to: (?P<email>.*)\nReason: (?P<reason>.*)',
62 '^Your message was not delivered to +(?P<email>.*)\n +for the following reason:\n +(?P<reason>.*)',
63 '^ was not +(?P<email>[^ \n].*?) *\n.*\n.*\n.*\n because:.*\n +(?P<reason>[^ \n].*?) *\n',
85 r'^5\d{2} <>\.\.\. (?P<reason>.*)',
86 '<>\.\.\. (?P<reason>.*)',
87 re.compile(r'^<<< 5\d{2} (?P<reason>.*)', re.MULTILINE),
88 re.compile('===== stderr was =====\nrmail: (?P<reason>.*)'),
89 re.compile('^Diagnostic-Code: (?P<reason>.*)', re.MULTILINE),
101 reason = None
107 reason = res.group('reason')
121 reason = res.group('reason')
127 if not reason:
128 reason = sub
129 if reason[:15] == 'returned mail: ':
130 reason = reason[15:]
138 errors.append(' '.join((email.strip()+': '+res.group('reason')).split()))
143 reason = res.group('reason')
146 errors.append(' '.join((email.strip()+': '+reason).split()))