Postfix on linux not sending mail
Solution 1:
You should check your logfiles
/var/log/mail.log
/var/log/mail.err
/var/log/daemon.log
It would be good to know if your mails are queued:
mailq
If there are mails in your queue try:
sendmail -q
Check your postfix service status:
/etc/init.d/postfix status
Please check your postfix configuration:
postfix check
Edit:
Please check your dns setup:
nslookup www.google.de
Please check if you are able to ping any of the destination domains:
ping www.google.de
Solution 2:
Sending a test email from the shell can be accomplished with:
echo "test-body" | mailx -s "test-subject" [email protected]
You might need to apt-get mailx
or so.
I'm not familiar with postfix, but maybe there's a log file in /var/log you can look at, or check /var/log/daemon.log.