Cannot telnet to server on port 25 (sendMail, dovecot, firewall?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    Cannot telnet to server on port 25 (sendMail, dovecot, firewall?)

    I'm a linux n00b, but i know enough to find my way around and not cause mayhem.

    With the help of online tutorials and someone else who knows just a little more than me, we've managed to install sendmail and dovecot? ssl-auth.

    But don't know if everything is installed right.

    I can telent localhost 25, but when doing the same from WITHIN the LAN, it does not work.

    I can't forward my firewall to that server yet, because well duh that will put my email server offline. (Win XP with hMailServer)

    I'm a PHP developer and can get a killer LAMP runnin, but this mail stuff is driving me nuts.

    What commands should i issue for you guys to help me out? Where do check for my firewall rules?

    I'm semi-sure I disabled SELinxus. (or chose not enable it at Install)

    Thanks in advance,


    Dan
  • micmast
    New Member
    • Mar 2008
    • 144

    #2
    you should check your firewall rules first. You can see them by doing iptables -L
    or specify a category: iptables -L INPUT

    But there are some nice tutorials online about that.

    You could also check on what address the mailserver is listening just do
    netstat -lnp | more

    if it says something like 127.0.0.1:25 then you know your smtp server is only listening on the local host and you might have to reconsider your configuration file.

    I hope this helps out a bit

    Comment

    Working...