sendmail connection refused by 127.0.0.1

Dem server, ich bin auf FreeBSD, sendmail erst vor kurzem gestoppt senden von E-Mails. Ich habe dabei eine Menge von reseach auf google und ich habe versucht, viele Dinge aus vielen verschiedenen Webseiten, aber bisher hat nichts geklappt.

Hier ist die Ausgabe von einem sendmail-Befehl:

# 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 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 ein Teil der 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 bisher ausprobiert habe:

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 für Ideen offen, wenn jemand hat dieses problem schonmal oder weiß wie es zu lösen ist.

Dank!

InformationsquelleAutor hopefulcd | 2014-11-26

Schreibe einen Kommentar