Quoting Simon Arlott:
> It could, but then you'd miss the completely bogus HELO names that
> fail syntactic checks:
What do you mean? They are already catched, partly by Exim's builtin
checks, partly by ACL rules.
If you want such HELOs to go into the db, you can do these checks after
the queries.