-#if 0
- /* FIXME:
- This was(!) an attempt tho handle empty rewrits, but seemingly it
- needs more effort to decide if the returned empty address matters.
- Now this will now break test 471 again.
-
- 471 fails now because it uses an overlong address, for wich parse_extract_address()
- returns an empty address (which was not expected).
-
- Checking the output and exit if rewrite_rules or routed_old are present
- isn't a good idea either: It's enough to have *any* rewrite rule
- in the configuration plus "To: undisclosed recpients:;" to exit(), which
- is not what we want.
- */
-
- if (rewrite_rules || routed_old)
- {
+ /* Log unparesable addresses in the header. Slightly ugly because a
+ null output from the extract can also result from a header without an
+ address, "To: undisclosed recpients:;" being the classic case. Ignore
+ this one and carry on. */
+
+ if ((rewrite_rules || routed_old) && Ustrcmp(errmess, "empty address") != 0)