mailsend not sending to (or qmail not receiving from) the same machine

Posted by roman on Server Fault See other posts from Server Fault or by roman
Published on 2012-04-11T10:27:38Z Indexed on 2012/04/11 11:33 UTC
Read the original article Hit count: 287

Filed under:
|

A web applications sends two emails:

  1. to the user of the webapp
  2. to the administrator

the administrators mailbox (qmail) is on the same machine as the web application (php, apache, /usr/sbin/sendmail).

email 1 works, email 2 sometimes doesn't work. I don't see any pattern in the mails that don't work. Also because I don't exactly know WHICH emails failed (since the email itself would be the only notification).

email 2 looks like this:

from: <[email protected]> #changes for each user
to: <[email protected]>

What could be the problem?

Are rejected emails stored somewhere? (if they are rejected.. how do I check this?)

© Server Fault or respective owner

Related posts about php

Related posts about qmail