Elliot Foster wrote:
Isn't this only an issue with mail submission, rather than receiving mail? Wouldn't it be appropriate to just suspend the header checks (or whatever) if the user auth'd (and is therefore submitting mail?) Am I missing something?
That'd be another way to deal with it (i.e. if relay_client(), skip header checks). I hesitate to pile the jenga stack even higher though, by adding special casing to all of the header check plugins.
The problem is that the header checks all happen in data_post and the relay check is during connect (and rcpt). It may be possible to create a hook for data_post which bypasses the remaining data_post hooks iff $connection->relay_client()...
John
