Csókás Bence <csokas.bence@xxxxxxxxx> writes: > Valid addresses are already tested by former tests. I don't > immediately see any tests that would cover non-Cc, non-*-by and > non-email-address tags, so I might add them; should they be a separate > testcase or part of this one? Or maybe even a separate patch? The tests you added has only malformed addresses on trailers, and adding a few trailers with valid addresses *and* string that does not look like an address at all, would be a minimal fix that makes the test complete. It makes it clear that the point of the new test is about strings found on trailers (that are dealt differently from addresses taken from other places) are handled appropriately, checked how they are shown to the MTA (with the comparison !address! output from fake.sendmail script) and how their additions are logged in the verbose output (with the pattern match with "^(body) Adding cc: ..."). Checking that totally irrelevant ones (e.g. bugId) are not even used as addresses, strings meant as addresses but malformed are used after correction, and well-formed addresses are used as-is, would form a complete set of observable behaviour from this feature. Thanks.