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