Hello David
If your message above hasn't been edited, then it's a configuration issue, I guess, since your email is coming from:From: webmaster@localhost.localdomain I guess that's why your MTA complains.
Look into the parameters or in the source for the email-confirm procedure to see where it takes the FROM and change the domain from localhost.localdomain to your own domain.
Hope this helps