I am trying to set up postfix with dovecot. I can telnet to localhost 25 and send a message to accounts on the server.
However, when I try to telnet to port 25 on this server from another server I get "421 Cannot connect to SMTP server" ... "connect error 10060".
The firewall is open right now:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Is there some setting in main.cf which tells it whether or not it should listen on port 25 or 587 or whatever?