how can I find out why postfix / sendmail stopped delivering mail? I tried to sendmail from the console, no errors showed but it has been nothing delivered... the same when by using mail() in php.. (which is using sendmail)


  • Have you checked your queue and logs?
    – user48838
    Jun 22, 2011 at 9:52
  • Which do you have: Sendmail or Postfix? The answers vary according to which software is actually in use.
    – JdeBP
    Jun 22, 2011 at 12:23
  • @JdeBP: I assume he is using Postfix and access it using the sendmail binary which is shipped with it to be compatible to the old mothership :) Jun 22, 2011 at 13:59

2 Answers 2


Have a look into the mail logs, typically in /var/log/mail.log or similar. Also check your queue using postqueue -p. And of course check the obvious stuff (server running, enough disk-space, working network / firewall, ...)

Also check your mailserver's configuration, if it is really correctly configured to directly send mail or to forward them to some smarthost. In your logs you should see if something went wrong.


I tried everything possible... reinstalled the postfix, changed to old sendmail, checked for errors... lost hours and hours with no luck. Solution: I moved to a new server and dumped the old one. 1 hour work and no guess work :) thanks anyway guys.

  • Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able.
    – jscott
    Jul 23, 2012 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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