Our app sends out many types of email notifications. On some occasions, we see that the email addresses are getting our domain appended to them.
e.g. [email protected] turns into [email protected]
What is causing this?
The App is running on a LAMP stack. We're using Sendmail / PEAR's Mail module.
Check your mail server's configuration for the hostname! Also, often a missing dot at the end of a name in your bind configuration might cause this!
If you do have a wildcard record for your domain (*.example.com above) it might be that a rule in mailer config is firing which appends the domain name when searching for it.
What does the output of
give? anything about a valid A record or MX record?