Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)

Thanks.

share|improve this question
    
Have you checked your queue and logs? –  user48838 Jun 22 '11 at 9:52
    
Which do you have: Sendmail or Postfix? The answers vary according to which software is actually in use. –  JdeBP Jun 22 '11 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 :) –  Holger Just Jun 22 '11 at 13:59
add comment

2 Answers

up vote 1 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
    
Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able. –  jscott Jul 23 '12 at 14:14
add comment

Your Answer

 
discard

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.