I decided to branch out and try a different flavour of Linux, and plumped for BSD. Everything is OK except I can't get sendmail running... again.
I've done everything recommended in this thread:
but I still get connection refused when I try to access my server from my home PC.
Again, I've got a simple perl script which I can run to listen on port 25. So I stop sendmail, get this little script to run, and I connect fine. So, again, it's not a firewall issue.
With the freeBSD sendmail installation came a whole load of .cf files which I don't think I need/want. So I've tarred them up safely, then removed them. All that is in /etc/mail now, cf-wise, is sendmail.cf and submit.cf.
"netstat -an | grep 25" gives the following:
netstat -an | grep 25
tcp4 0 0 127.0.0.1.25 *.* LISTEN
As well as following the advice given in the previous thread, I've added a line to sendmail.cf and submit.cf in SRelay_ok which says this:
R192.168.1.2 $@ RELAY originated locally
I've done everything recommended in this thread:
but I still get connection refused when I try to access my server from my home PC.
Again, I've got a simple perl script which I can run to listen on port 25. So I stop sendmail, get this little script to run, and I connect fine. So, again, it's not a firewall issue.
With the freeBSD sendmail installation came a whole load of .cf files which I don't think I need/want. So I've tarred them up safely, then removed them. All that is in /etc/mail now, cf-wise, is sendmail.cf and submit.cf.
"netstat -an | grep 25" gives the following:
netstat -an | grep 25
tcp4 0 0 127.0.0.1.25 *.* LISTEN
As well as following the advice given in the previous thread, I've added a line to sendmail.cf and submit.cf in SRelay_ok which says this:
R192.168.1.2 $@ RELAY originated locally