[FUG-BR] Uso do sendmail para envio de e-mail do servidor FreeBSD

Ricardo Nabinger Sanchez rnsanchez em gmail.com
Sexta Janeiro 19 21:12:35 BRST 2007


On Fri, 19 Jan 2007 20:02:18 +0000 (GMT)
Cristina Fernandes Silva <cristina.fsilva em yahoo.com.br> wrote:

> Sei que ele esta em uso, 
>  25 37409     1   0  20  0  2092   588 pause  Is    ??    0:00,38 sendmail:
> Queue runner em 00:30:00 for /var/spool/clientmqueue (sendmail)
>     0 39481     1   0  96  0  2244   740 select Ss    ??    0:19,39
> sendmail: accepting connections (sendmail
> 
> Porem a porta nao esta aberta, passei um nmap e nao acusou que a porta
> estivesse aberta, será mesmo.

Passou de onde o nmap?

% netstat -p tcp -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
...
tcp4       0      0  127.0.0.1.25           *.*                    LISTEN
...

% nmap -p 25 192.168.1.100

Starting Nmap 4.20 ( http://insecure.org ) at 2007-01-19 21:10 BRST
Interesting ports on 192.168.1.100:
PORT   STATE  SERVICE
25/tcp closed smtp

Nmap finished: 1 IP address (1 host up) scanned in 0.124 seconds


% nmap -p 25 127.0.0.1

Starting Nmap 4.20 ( http://insecure.org ) at 2007-01-19 21:10 BRST
Interesting ports on 127.0.0.1:
PORT   STATE SERVICE
25/tcp open  smtp

Nmap finished: 1 IP address (1 host up) scanned in 0.121 seconds


Detalhe: o nmap foi disparado na máquina que está com o sendmail rodando, ele
apenas está aceitando conexões na interface local (lo0 / 127.0.0.1).

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."


Mais detalhes sobre a lista de discussão freebsd