OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Tomasz Papszun (tomek-postfix_at_lodz.tpsa.pl)
Date: Mon Feb 10 2003 - 12:24:24 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Mon, 10 Feb 2003 at 13:10:02 -0800, Gary Ray wrote:
    > I've recently installed RedHat 8 along with BIND and Postfix. The
    server and all applications are patched to the most recent versions. My
    Postfix server (runlevel6.com) can send mail just fine, but it can't
    receive mail. It can, however, send mail from itself to itself on the
    same machine.

    Toooo long line. Correct your MUA config, please.

    > Connecting remotely to the SMTP port on the mail server results in the
    following:

    Too long line.

    > telnet runlevel6.com 25
    > 220 ns1.runlevel6.com ESMTP Postfix
    > 500 Error: bad syntax
    >
    [...]
    > lsof -i produces the following results:
    >
    > [rootns1 sbin]# ./lsof -i
    > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
    > portmap 491 rpc 3u IPv4 920 UDP *:sunrpc
    > portmap 491 rpc 4u IPv4 926 TCP *:sunrpc (LISTEN)
    > rpc.statd 510 rpcuser 4u IPv4 1002 UDP *:32768
    > rpc.statd 510 rpcuser 6u IPv4 1005 TCP *:32768 (LISTEN)

    Get rid off them (they are unrelated to postfix but insecure).

    > xinetd 632 root 5u IPv4 1721 TCP *:daytime (LISTEN)
    > xinetd 632 root 6u IPv4 1722 TCP *:imap (LISTEN)
    > xinetd 632 root 7u IPv4 1723 TCP *:imaps (LISTEN)
    > xinetd 632 root 9u IPv4 1724 TCP *pop3 (LISTEN)
    > xinetd 632 root 10u IPv4 1725 TCP *pop3s (LISTEN)
    > xinetd 632 root 11u IPv4 1726 TCP ns1.runlevel6.com:32769 (LISTEN)
    > xinetd 632 root 12u IPv4 1729 TCP *:telnet (LISTEN)
    > ntpd 646 ntp 4u IPv4 1769 UDP *:ntp
    > ntpd 646 ntp 5u IPv4 1770 UDP ns1.runlevel6.com:ntp
    > ntpd 646 ntp 6u IPv4 1771 UDP 192.168.0.202:ntp
    > lpd 660 lp 6u IPv4 1798 TCP *printer (LISTEN)

    Do you need printer there?

    > master 736 root 11u IPv4 1913 TCP *:smtp (LISTEN)
    > smbd 797 root 9u IPv4 2074 TCP *:netbios-ssn (LISTEN)
    > nmbd 801 root 6u IPv4 2077 UDP *:netbios-ns
    > nmbd 801 root 7u IPv4 2078 UDP *:netbios-dgm
    > nmbd 801 root 8u IPv4 2082 UDP 192.168.0.202:netbios-ns
    > nmbd 801 root 9u IPv4 2083 UDP 192.168.0.202:netbios-dgm

    Samba or so. Do you need it?

    > miniserv. 839 root 4u IPv4 2166 TCP *:10000 (LISTEN)
    > miniserv. 839 root 5u IPv4 2167 UDP *:10000
    > X 895 root 1u IPv4 2235 TCP *:x11 (LISTEN)

    Similar.

    > Any ideas or next step in troubleshooting would be greatly appreciated!

    Yes. Logs!!

    -- 
     Tomasz Papszun   SysAdm  TP S.A. Lodz, Poland  | And it's only
     tomeklodz.tpsa.pl   http://www.lodz.tpsa.pl/   | ones and zeros.