v2k
4th September 2007, 02:11
Firstly, I'd just like to say thanks for this HOWTO, it's excellent.
I followed this guide through to setup my F7 server. The web server: apache/php/mysql works great and without any issues.
I decided I needed to support mail and ftp, so I went back to the guide and went through the setup for postfix and proftpd.
I think both are failing for the same reason. They both seem to fail with "No route to host". I'm behind a router. Both ports 21 and 25 are forwarded to the server; as 80 is for the web server.
# ftp localhost
=> works fine
# ftp mydomainname
=> no route to host
If I attempt to ftp to the server remotely, it times out and returns 'connection closed by remote host'.
With sendmail, the maillog contains a couple errors:
sendmail[5646]: l83LtcrQ005646: l83LtcrR005646: DSN: User unknown
postfix/smtp[5815]: connect to mydomainname.com[xx.xx.xx.145]: No route to host (port 25)
This is my /etc/hosts file :
127.0.0.1 localhost.localdomain localhost
192.168.1.132 server1.mydomainname.com server1
::1 localhost.localdomain localhost
I followed this guide through to setup my F7 server. The web server: apache/php/mysql works great and without any issues.
I decided I needed to support mail and ftp, so I went back to the guide and went through the setup for postfix and proftpd.
I think both are failing for the same reason. They both seem to fail with "No route to host". I'm behind a router. Both ports 21 and 25 are forwarded to the server; as 80 is for the web server.
# ftp localhost
=> works fine
# ftp mydomainname
=> no route to host
If I attempt to ftp to the server remotely, it times out and returns 'connection closed by remote host'.
With sendmail, the maillog contains a couple errors:
sendmail[5646]: l83LtcrQ005646: l83LtcrR005646: DSN: User unknown
postfix/smtp[5815]: connect to mydomainname.com[xx.xx.xx.145]: No route to host (port 25)
This is my /etc/hosts file :
127.0.0.1 localhost.localdomain localhost
192.168.1.132 server1.mydomainname.com server1
::1 localhost.localdomain localhost