Tengo un problema con
telnet localhost 25
Obtengo los siguientes errores:
webMailServer:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Porque no puedo ver nada?
Estoy siguiendo las instrucciones de instalacion de http://www.qmailrocks.org/start_qmail.htm.
Esta es la informacion interesante que he recopilado por si ayuda.
webMailServer:~#netstat -lp grep smtp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 *:ssmtp *:* LISTEN 309/inetd
tcp 0 0 *:smtp *:* LISTEN 309/inetd
rec-palvarez@webMailServer:~$ qmailctl stat
/service/qmail-send: unable to open supervise/ok: access denied
/service/qmail-send/log: unable to open supervise/ok: access denied
/service/qmail-smtpd: unable to open supervise/ok: access denied
/service/qmail-smtpd/log: unable to open supervise/ok: access denied
/service/qmail-pop3d: unable to open supervise/ok: access denied
/service/qmail-pop3d/log: unable to open supervise/ok: access denied
find: queue/mess/*: Permission denied
find: queue/todo: Permission denied
messages in queue: -1
messages in queue but not yet preprocessed: -1
rec-palvarez@webMailServer:~$
rec-palvarez@webMailServer:~$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.4) at webMailServer starting. <9471.1106131172@webMailServer>
Y puedo introducir ususario y ver sus mails.
webMailServer:~#ps -aux|grep smtp
Bad syntax, perhaps a bogus '-'?
root 688 0.0 0.4 1240 292 ? S Jan18 0:01 supervise qmail-smtpd
qmaill 698 0.0 0.4 1252 280 ? S Jan18 0:00 multilog t s100000 n20 /var/log/qmail/qmail-smtpd
root 5582 0.0 0.7 1340 472 pts/0 S 11:28 0:00 grep smtp
webMailServer:~# ps -aux|grep qmail
Bad syntax, perhaps a bogus '-'?
root 686 0.0 0.0 1240 60 ? S Jan18 0:00 supervise qmail-send
root 688 0.0 0.1 1240 64 ? S Jan18 0:01 supervise qmail-smtpd
root 690 0.0 0.1 1240 64 ? S Jan18 0:00 supervise qmail-pop3d
qmails 695 0.0 0.2 1320 184 ? S Jan18 0:01 qmail-send
qmaill 696 0.0 0.0 1260 60 ? S Jan18 0:00 multilog t s100000 n20 /var/log/qmail/qmail-send
qmaill 698 0.0 0.0 1252 0 ? SW Jan18 0:00 [multilog]
qmaill 700 0.0 0.1 1260 124 ? S Jan18 0:00 multilog t s100000 n20 /var/log/qmail/qmail-pop3d
root 703 0.0 0.1 1256 72 ? S Jan18 0:00 qmail-lspawn ./Maildir
qmailr 704 0.0 0.1 1256 108 ? S Jan18 0:00 qmail-rspawn
qmailq 705 0.0 0.0 1248 40 ? S Jan18 0:00 qmail-clean
root 7132 0.0 0.7 1340 472 pts/0 S 11:32 0:00 grep qmail
webMailServer:~# ps -aux|grep sendmail does nothing
Mi /etc/inet.conf
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
time stream tcp nowait root internal
#time dgram udp wait root internal
#:STANDARD: These are standard services.
#<off># ftp stream tcp nowait root /usr/local/sbin/vsftpd vsftpd
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
imap2 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
imap3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
pop-3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.qpopper -f /etc/qpopper.conf
This three following lines were pointing to sendmail, and they were #<off>#
I have chjanged the parameters and enable them.
smtp stream tcp nowait root /usr/sbin/sendmail qmail
587 stream tcp nowait root /usr/sbin/sendmail qmail
smtps stream tcp nowait root /usr/sbin/sendmail qmail
#:INFO: Info services
ident stream tcp wait identd /usr/sbin/identd identd
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
linuxconf stream tcp wait root /bin/linuxconf linuxconf --http
#<off># netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/sbin/nmbd -a
#<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
391002/1-2 stream rpc/tcp wait root /usr/sbin/famd fam
#<off># swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat
#<off># kshell stream tcp nowait root /usr/sbin/tcpd /usr/lib/kerberos4kth-servers/rshd -k
#<off># telnet stream tcp nowait root /usr/sbin/tcpd /usr/lib/kerberos4kth-servers/telnetd -a none
Si se necesita mas informacion la enviare a peticion.
Gracias.