Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    E-mail Problem: Fedora, Postfix, Dovecot, Telnet 25

    First: I'm really still fairly new to Linux, especially in the area of e-mail servers.

    I'm running a Fedora box that I have configured as an e-mail server. I would like users to be able to both send and receive messages via this box using Postfix and Dovecot.


    When I try to telnet to the box internally (from TO on port 25 it gives me the error:

    Connecting to Could not open connection to the host, on port 25: Connection failed.

    I AM able to telnet to other ports (110, 80, 81, etc.).

    When I issue the nmap command on my linux box it responds with:

    21/TCP open ftp
    22/tcp open ftp
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    81/tcp open hosts2-ns
    110/tcp open pop3
    143/tcp open imap
    443/tcp open https
    993/tcp open imaps
    995/tcp open pop3s
    3306/tcp open mysql

    It *looks* like port 25 is open in the firewall... so I'm not sure why a telnet connection is being refused. Using real trials, I've discovered I am able to log into the box via POP using Outlook (or any other client) but the box is unable to receive e-mails.

    I'm assuming something is wrong with the Postfix configuration but I can't for the life of me figure out what... any help you can provide would be greatly appreciated.

  2. #2
    Linux Newbie athlon_crazy's Avatar
    Join Date
    Sep 2007
    try telnet from the server itself(! Can U?

  3. #3


    Thanks for the reply Athlon_crazy... I discovered what the problem was.

    The following lines were missing from my postfix file. I'm not sure why I couldn't telnet to 25 without these lines, but the minute I put them in and restarted postfix it began working.

    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination


    inet_interfaces = all

    Your interest in helping newer linux users like myself is admirable.

  4. $spacer_open

Posting Permissions

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