Der Server, auf dem ich bin, ist FreeBSD und sendmail hat gerade erst damit aufgehört E-Mails zu senden. Ich habe viel Forschung auf Google gemacht und ich habe viele Sachen von vielen verschiedenen Webseiten ausprobiert, aber bis jetzt hat nichts funktioniert.sendmail connection refused by 127.0.0.1
Hier ist die Ausgabe von einem Befehl sendmail:
# echo "test" | mail -v -s test [email protected]
[email protected] Connecting to [127.0.0.1] via relay...
[email protected] Deferred: Connection refused by [127.0.0.1]
Hier ist ein Telnet auf Port 25:
# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host
Hier ist Teil einer netstat Ausgabe:
tcp4 0 0 the.first.ip.address.25 *.* LISTEN
tcp4 0 0 the.second.ip.address.26 *.* LISTEN
tcp4 0 0 the.third.ip.address.25 *.* LISTEN
tcp4 0 0 the.fourth.ip.address.25 *.* LISTEN
tcp4 0 0 the.main.server.ip.address.25 *.* LISTEN
Einige Dinge, die ich hab es bisher probiert:
1) changed settings /etc/hosts file
2) changed settings in the .mc file, then make, make install, service sendmail restart
3) directly changed the .cf file since changing .mc file didn't fix the problem, then "service sendmail restart"
Ich bin offen für Ideen, wenn jemand dieses Problem vorher hatte oder weiß, wie es zu beheben ist.
Danke!