Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I've just installed sendmail and it works fine if i telnet to it like so: telnet localhost 25 I can communicate with the daemon and get my email ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Location
    Birmingham
    Posts
    70

    Sendmail refuses all connections except localhost


    Hi all,

    I've just installed sendmail and it works fine if i telnet to it like so:

    telnet localhost 25

    I can communicate with the daemon and get my email queue'd for delivery. The private network IP running the server is 192.168.0.4 and when i do this

    telnet 192.168.0.4 25

    whether its on the actual server computer or a computer on the private network the connection is always refused. Any ideas?

    Thanks

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,875
    This could be a firewalling problem - check that the firewall settings on your system allow connections over the lan on port 25.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Sendmail is configured that way by default. Comment out the "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl" line in sendmail.mc, rebuild your sendmail.cf and restart the sendmail daemon.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •