$TARGET_EMAIL is the problem. There are numerous posts in this forum that explain it. In short, you need to use "dfox" or EMAIL_NAME, not both. Using dfox limits it to just being able to send mail to that address; using EMAIL_NAME allows any email address on that domain.
Again, it's explained in the documentation as well as numerous posts in the forum.