Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I think I understand this problem fully, but I do not know how to approach it or where to go in terms of troubleshooting.

I've got my one domain that runs a Zen Cart installation that needs to be able to send emails to users(order confirmation, password reset). This works fine to send to any other domain BUT

I'm running a locally hosted exchange server that is, and we can send and receive email just fine.

If I run tail -f /usr/local/psa/var/log/maillog I recieve this error:

Apr  1 10:08:51 foo qmail-local-handlers[25824]: Handlers Filter before-local for      qmail started ...
Apr  1 10:08:51 foo qmail-local-handlers[25824]: from=
Apr  1 10:08:51 foo qmail-local-handlers[25824]:
Apr  1 10:08:51 foo qmail-local-handlers[25824]: cannot reinject message to ''
Apr  1 10:08:51 foo qmail: 1270141731.583139 delivery 32410: failure: This_address_no_longer_accepts_mail./
Apr  1 10:08:51 foo qmail: 1270141731.584098 status: local 0/10 remote 0/20

I understand that the SMTP service doesn't have any account but the one that is used to authenticate mail being sent, so of course, I understand why it's saying 'this address no longer accepts mail'.

My question is, how can I get the SMTP service to handle emails meant for my exchange server( or how do I handle the mail that needs to be sent to our exchange server? Is this something to do with MX records?

Thanks in advance


share|improve this question

Configure qmail so that it doesn't think it's the SMTP server for The information on how to do this should exist in the qmail documentation, but I've never used it and can't find anything easily on that page so can't point you at the right part.

share|improve this answer
This is exactly what I ended up doing. I have a few more domains on that web server and instead I just used another domains account to verify the SMTP emails. Thank you for the thought in the right direction. – Atom Apr 1 '10 at 21:48

Your Answer


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