The server I'm working on is FreeBSD and sendmail, which have recently stopped sending emails. I searched google many times and I tried many things from many different sites, but so far nothing has worked.
Here is the output of the sendmail command:
# echo "test" | mail -v -s test test@test.com test@test.com... Connecting to [127.0.0.1] via relay... test@test.com... Deferred: Connection refused by [127.0.0.1]
Here's telnet on 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
Here is the netstat output part:
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
Some things I've tried so far:
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"
I am open to ideas if someone has had this problem before or if she knows how to fix it.
Thanks!
source share