Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. turns into

What is causing this?

The App is running on a LAMP stack. We're using Sendmail / PEAR's Mail module.

share|improve this question
What happens if you send out a message from Sendmail directly via bash (sendmail -t – gravyface Jul 30 '10 at 22:13

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!

share|improve this answer

If you do have a wildcard record for your domain (* 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

dig -t any

give? anything about a valid A record or MX record?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.