ARGH.. I'm pulling my hair out over this.
I would like to have exim obey
deny !verify = header_syntax
But unfortunately, we've got a number of customers with Outhouse, and
they tend to use its 'group lists', which like to use the following in a
message Bcc'd to those groups:
To: <Undisclosed Recipients:;>
which is not valid.
I have been trying to get a rewrite rile, to convert that to something
like:
To: Undisclosed Recipients: ;
which is valid RFC(2)822 "group" syntax
Ive tried a number of rules, the most recent being:
\N^<.*:;>.*$\N "Unknown : ;" tSw
I was just trying to convert it to
To: Unknown : ;
for testing, I was going to tackle extracting the relevant portion for
replacement afterwards.
However, exim appears to be completely ignoring this rule. It leaves the
header untouched, and then the header_syntax check kicks in, and the 5xx
is issued..
What am I doing wrong here?