[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix só funciona em localhost



Pronto, tirei as linhas de TSL uhauahauha agora ta seco de tudo, e mesmo assim não funciona... olha o log :P

smtp:~# tail -f /var/log/mail.log
Aug 31 16:59:48 smtp postfix/master[3861]: terminating on signal 15
Aug 31 16:59:49 smtp postfix/master[3967]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 31 17:07:03 smtp postfix/smtpd[3977]: connect from unknown[10.15.192.1]
Aug 31 17:11:16 smtp postfix/smtpd[3977]: disconnect from unknown[10.15.192.1]


onde 10.15.192.1 é uma maquina linux... só linux conecta... as maquinas windows dão erro direto e nem passam pelo log :*(

cruel, acho q isso so acontece comigo...

abraços

Harlei


Em 31 de agosto de 2010 13:38, ..:: S.e.r.i.a.L ::.. <skroot@gmail.com> escreveu:
Opa, era isso mesmo, estava com fome, e comi algumas letras (rsrsrs).
Então, lendo o log, acredito que vc tm um problema nesse momento, veja:


Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: request to update table btree:/var/spool/postfix/
smtpd_scache in non-postfix directory /var/spool/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: request to update table btree:/var/spool/postfix/smtp_
scache in non-postfix directory /var/spool/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: cannot get certificate from file /etc/ssl/certs/server.crt
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:
fopen('/etc/ssl/certs/server.crt','r'):
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:140DC002:SSL routines:SSL_CTX_use_
certificate_chain_file:system lib:ssl_rsa.c:720:
Aug 30 16:44:28 smtp postfix/smtpd[4194]: cannot load RSA certificate and key data

Nunca trabalhei com TLS, não conheço muito, porém sei te dizer, que warning desses generos faz com que o Postfix fique instável e podendo ficar improdutivel, cenário típico que vc descreveu.
Tentar ver esses erros no Google, por exemplo, acho que é algo como permissão de pasta e também problemas com geração de certificados utilizados em suas conexões TLS.
Espero ter ajudado um pouco.

Vlw.

[.]´s




Em 31 de agosto de 2010 12:48, Harlei Liguori Marcelino <hliguori@gmail.com> escreveu:

Acredito que você esteja falando das ultimas linhas do log... vou mandar todas ja que é recente, segue abaixo:

Aug 30 15:25:03 smtp postfix/master[3145]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 15:31:35 smtp postfix/master[3145]: terminating on signal 15
Aug 30 15:31:35 smtp postfix/master[3260]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 15:31:48 smtp postfix/smtpd[3269]: connect from localhost[127.0.0.1]
Aug 30 15:32:11 smtp postfix/smtpd[3269]: disconnect from localhost[127.0.0.1]
Aug 30 15:38:41 smtp postfix/master[3260]: terminating on signal 15
Aug 30 15:38:41 smtp postfix/master[3355]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 15:40:31 smtp postfix/smtpd[3366]: connect from unknown[10.15.192.13]
Aug 30 15:40:35 smtp postfix/smtpd[3366]: disconnect from unknown[10.15.192.13]
Aug 30 15:40:57 smtp postfix/master[3355]: terminating on signal 15
Aug 30 15:40:58 smtp postfix/master[3451]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 15:43:27 smtp postfix/master[3451]: terminating on signal 15
Aug 30 15:43:28 smtp postfix/master[3541]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 15:44:47 smtp postfix/tlsmgr[3552]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Aug 30 15:44:47 smtp postfix/tlsmgr[3552]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 15:44:47 smtp postfix/tlsmgr[3552]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Aug 30 15:44:47 smtp postfix/tlsmgr[3552]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 15:44:47 smtp postfix/smtpd[3550]: warning: cannot get certificate from file /etc/ssl/certs/server.crt
Aug 30 15:44:47 smtp postfix/smtpd[3550]: warning: TLS library problem: 3550:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/ssl/certs/server.crt','r'):
Aug 30 15:44:47 smtp postfix/smtpd[3550]: warning: TLS library problem: 3550:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
Aug 30 15:44:47 smtp postfix/smtpd[3550]: warning: TLS library problem: 3550:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Aug 30 15:44:47 smtp postfix/smtpd[3550]: cannot load RSA certificate and key data
Aug 30 15:44:47 smtp postfix/smtpd[3550]: connect from localhost[127.0.0.1]
Aug 30 15:45:21 smtp postfix/smtpd[3550]: CD0B43016F: client=localhost[127.0.0.1]
Aug 30 15:45:46 smtp postfix/cleanup[3555]: CD0B43016F: message-id=<20100830184521.CD0B43016F@smtp.redefebem.febem.sp.gov.br>
Aug 30 15:45:46 smtp postfix/qmgr[3543]: CD0B43016F: from=<casadti@gmail.com>, size=393, nrcpt=1 (queue active)
Aug 30 15:45:52 smtp postfix/smtp[3556]: CD0B43016F: host j.mx.mail.yahoo.com[66.94.237.64] refused to talk to me: 421 4.7.0 [GL01] Message from (200.144.28.58) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html
Aug 30 15:45:56 smtp postfix/smtp[3556]: CD0B43016F: to=<harleitec@yahoo.com.br>, relay=a.mx.mail.yahoo.com[67.195.168.31]:25, delay=50, delays=40/0.01/7.3/2.7, dsn=2.0.0, status=sent (250 ok dirdel)
Aug 30 15:45:56 smtp postfix/qmgr[3543]: CD0B43016F: removed
Aug 30 15:45:57 smtp postfix/smtpd[3550]: disconnect from localhost[127.0.0.1]
Aug 30 15:50:21 smtp postfix/master[3541]: terminating on signal 15
Aug 30 15:50:21 smtp postfix/master[3639]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:15:37 smtp postfix/master[3639]: terminating on signal 15
Aug 30 16:15:38 smtp postfix/master[3729]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:17:38 smtp postfix/master[3729]: terminating on signal 15
Aug 30 16:17:38 smtp postfix/master[3822]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:18:39 smtp postfix/master[3822]: terminating on signal 15
Aug 30 16:18:39 smtp postfix/master[3912]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:24:04 smtp postfix/master[3912]: terminating on signal 15
Aug 30 16:24:04 smtp postfix/master[4004]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:29:56 smtp postfix/master[4004]: terminating on signal 15
Aug 30 16:29:56 smtp postfix/master[4094]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:31:37 smtp postfix/master[4094]: terminating on signal 15
Aug 30 16:31:37 smtp postfix/master[4184]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Aug 30 16:44:28 smtp postfix/tlsmgr[4196]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: cannot get certificate from file /etc/ssl/certs/server.crt
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/ssl/certs/server.crt','r'):
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
Aug 30 16:44:28 smtp postfix/smtpd[4194]: warning: TLS library problem: 4194:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Aug 30 16:44:28 smtp postfix/smtpd[4194]: cannot load RSA certificate and key data
Aug 30 16:44:28 smtp postfix/smtpd[4194]: connect from localhost[127.0.0.1]
Aug 30 16:44:35 smtp postfix/smtpd[4194]: disconnect from localhost[127.0.0.1]
Aug 30 16:47:55 smtp postfix/master[4184]: terminating on signal 15
Aug 30 16:47:58 smtp postfix/master[4281]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 16:50:07 smtp postfix/master[4281]: terminating on signal 15
Aug 30 16:50:39 smtp postfix/master[1986]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:13:05 smtp postfix/smtpd[2139]: connect from cs14.redefebem.febem.sp.gov.br[10.15.192.58]
Aug 30 17:13:05 smtp postfix/smtpd[2139]: disconnect from cs14.redefebem.febem.sp.gov.br[10.15.192.58]
Aug 30 17:13:52 smtp postfix/master[1986]: terminating on signal 15
Aug 30 17:13:52 smtp postfix/master[2224]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:14:23 smtp postfix/master[2224]: terminating on signal 15
Aug 30 17:14:24 smtp postfix/master[2313]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:14:39 smtp postfix/master[2313]: terminating on signal 15
Aug 30 17:14:39 smtp postfix/master[2402]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:14:59 smtp postfix/master[2402]: terminating on signal 15
Aug 30 17:15:00 smtp postfix/master[2491]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:15:07 smtp postfix/smtpd[2500]: connect from localhost[127.0.0.1]
Aug 30 17:15:43 smtp postfix/smtpd[2500]: disconnect from localhost[127.0.0.1]
Aug 30 17:16:55 smtp postfix/smtpd[2500]: connect from localhost[127.0.0.1]
Aug 30 17:16:59 smtp postfix/smtpd[2500]: disconnect from localhost[127.0.0.1]
Aug 30 17:17:01 smtp postfix/master[2491]: terminating on signal 15
Aug 30 17:17:02 smtp postfix/master[2607]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:17:27 smtp postfix/master[2607]: terminating on signal 15
Aug 30 17:17:27 smtp postfix/master[2696]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:18:12 smtp postfix/master[2696]: terminating on signal 15
Aug 30 17:18:12 smtp postfix/master[2785]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:18:17 smtp postfix/smtpd[2794]: connect from localhost[127.0.0.1]
Aug 30 17:18:58 smtp postfix/smtpd[2794]: disconnect from localhost[127.0.0.1]
Aug 30 17:20:13 smtp postfix/master[2785]: terminating on signal 15
Aug 30 17:20:14 smtp postfix/master[2880]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:20:52 smtp postfix/master[2880]: terminating on signal 15
Aug 30 17:20:52 smtp postfix/master[2969]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:26:57 smtp postfix/smtpd[2982]: connect from localhost[127.0.0.1]
Aug 30 17:27:23 smtp postfix/smtpd[2982]: disconnect from localhost[127.0.0.1]
Aug 30 17:27:24 smtp postfix/smtpd[2982]: connect from localhost[127.0.0.1]
Aug 30 17:27:58 smtp postfix/smtpd[2982]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <harleitec@yahoo.com.br>: Relay access denied; from=<odenilson@gmail.com> to=<harleitec@yahoo.com.br> proto=ESMTP helo=<localhost>
Aug 30 17:28:27 smtp postfix/smtpd[2982]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <hmarcelino@sp.gov.br>: Relay access denied; from=<odenilson@gmail.com> to=<hmarcelino@sp.gov.br> proto=ESMTP helo=<localhost>
Aug 30 17:28:38 smtp postfix/smtpd[2982]: disconnect from localhost[127.0.0.1]
Aug 30 17:28:56 smtp postfix/master[2969]: terminating on signal 15
Aug 30 17:28:56 smtp postfix/master[3071]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 17:28:58 smtp postfix/smtpd[3080]: connect from localhost[127.0.0.1]
Aug 30 17:29:16 smtp postfix/smtpd[3080]: A53E030171: client=localhost[127.0.0.1]
Aug 30 17:29:53 smtp postfix/cleanup[3084]: A53E030171: message-id=<20100830202916.A53E030171@smtp.redefebem.febem.sp.gov.br>
Aug 30 17:29:53 smtp postfix/qmgr[3073]: A53E030171: from=<odenilson@gmail.com>, size=418, nrcpt=1 (queue active)
Aug 30 17:29:55 smtp postfix/smtpd[3080]: disconnect from localhost[127.0.0.1]
Aug 30 17:29:59 smtp postfix/smtp[3085]: A53E030171: to=<harleitec@yahoo.com.br>, relay=d.mx.mail.yahoo.com[209.191.88.254]:25, delay=48, delays=42/0.05/4.7/1, dsn=2.0.0, status=sent (250 ok dirdel)
Aug 30 17:29:59 smtp postfix/qmgr[3073]: A53E030171: removed
Aug 30 17:31:59 smtp postfix/smtpd[3087]: connect from localhost[127.0.0.1]
Aug 30 17:33:14 smtp postfix/smtpd[3087]: 4BFE130171: client=localhost[127.0.0.1]
Aug 30 17:33:32 smtp postfix/smtpd[3087]: warning: non-SMTP command from localhost[127.0.0.1]: Subject: Voce esta demitido!!!
Aug 30 17:33:32 smtp postfix/smtpd[3087]: disconnect from localhost[127.0.0.1]
Aug 30 17:33:39 smtp postfix/smtpd[3087]: connect from localhost[127.0.0.1]
Aug 30 17:34:42 smtp postfix/smtpd[3087]: warning: non-SMTP command from localhost[127.0.0.1]: Subject: Voce esta demitido!!!
Aug 30 17:34:42 smtp postfix/smtpd[3087]: disconnect from localhost[127.0.0.1]
Aug 30 17:34:47 smtp postfix/smtpd[3087]: connect from localhost[127.0.0.1]
Aug 30 17:35:28 smtp postfix/smtpd[3087]: B2DE630171: client=localhost[127.0.0.1]
Aug 30 17:36:12 smtp postfix/cleanup[3096]: B2DE630171: message-id=<20100830203528.B2DE630171@smtp.redefebem.febem.sp.gov.br>
Aug 30 17:36:12 smtp postfix/qmgr[3073]: B2DE630171: from=<dlcosta@sp.gov.br>, size=456, nrcpt=1 (queue active)
Aug 30 17:36:14 smtp postfix/smtp[3098]: B2DE630171: to=<odenilson@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.45.27]:25, delay=65, delays=64/0.01/0.81/0.75, dsn=2.0.0, status=sent (250 2.0.0 OK 1283200574 t1si18469928ano.24)
Aug 30 17:36:14 smtp postfix/qmgr[3073]: B2DE630171: removed
Aug 30 17:36:14 smtp postfix/smtpd[3087]: disconnect from localhost[127.0.0.1]
Aug 30 17:36:53 smtp postfix/smtpd[3087]: connect from localhost[127.0.0.1]
Aug 30 17:37:30 smtp postfix/smtpd[3087]: 7656830171: client=localhost[127.0.0.1]
Aug 30 17:38:34 smtp postfix/cleanup[3096]: 7656830171: message-id=<20100830203730.7656830171@smtp.redefebem.febem.sp.gov.br>
Aug 30 17:38:34 smtp postfix/qmgr[3073]: 7656830171: from=<odenilson@gmail.com>, size=483, nrcpt=1 (queue active)
Aug 30 17:38:35 smtp postfix/smtp[3102]: 7656830171: to=<dlcosta@sp.gov.br>, relay=smtp3.sp.gov.br[200.144.7.94]:25, delay=79, delays=77/0.01/0.75/0.75, dsn=2.0.0, status=sent (250 Ok: queued as E3D0F401802)
Aug 30 17:38:35 smtp postfix/qmgr[3073]: 7656830171: removed
Aug 30 17:38:37 smtp postfix/smtpd[3087]: disconnect from localhost[127.0.0.1]
Aug 30 17:44:27 smtp postfix/smtpd[3104]: connect from unknown[10.15.192.13]
Aug 30 17:44:30 smtp postfix/smtpd[3104]: disconnect from unknown[10.15.192.13]
Aug 30 17:52:32 smtp postfix/smtpd[3110]: connect from unknown[10.15.192.6]
Aug 30 17:53:14 smtp postfix/smtpd[3110]: disconnect from unknown[10.15.192.6]
Aug 30 18:16:45 smtp postfix/master[3071]: terminating on signal 15
Aug 30 18:16:46 smtp postfix/master[3196]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 18:18:32 smtp postfix/master[3196]: terminating on signal 15
Aug 30 18:18:32 smtp postfix/master[3291]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 18:19:27 smtp postfix/master[3291]: terminating on signal 15
Aug 30 18:19:27 smtp postfix/master[3381]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 30 18:32:00 smtp postfix/smtpd[3390]: connect from cs07.redefebem.febem.sp.gov.br[10.15.192.34]
Aug 30 18:32:00 smtp postfix/smtpd[3390]: disconnect from cs07.redefebem.febem.sp.gov.br[10.15.192.34]
Aug 30 19:29:22 smtp postfix/smtpd[3400]: connect from cftv.redefebem.febem.sp.gov.br[10.15.192.9]
Aug 30 19:29:22 smtp postfix/smtpd[3400]: disconnect from cftv.redefebem.febem.sp.gov.br[10.15.192.9]
Aug 31 06:44:13 smtp postfix/smtpd[3531]: warning: 10.15.193.53: hostname f169949.redefebem.febem.sp.gov.br verification failed: Name or service not known
Aug 31 06:44:13 smtp postfix/smtpd[3531]: connect from unknown[10.15.193.53]
Aug 31 06:44:13 smtp postfix/smtpd[3531]: disconnect from unknown[10.15.193.53]
Aug 31 07:33:11 smtp postfix/smtpd[3539]: connect from cs18.redefebem.febem.sp.gov.br[10.15.192.78]
Aug 31 07:33:11 smtp postfix/smtpd[3539]: disconnect from cs18.redefebem.febem.sp.gov.br[10.15.192.78]
Aug 31 12:45:58 smtp postfix/master[3381]: terminating on signal 15
Aug 31 12:45:58 smtp postfix/master[3655]: daemon started -- version 2.5.5, configuration /etc/postfix


ficou enorme :P mas acho que ajuda

att

Harlei


Em 31 de agosto de 2010 12:06, ..:: S.e.r.i.a.L ::.. <skroot@gmail.com> escreveu:

Bom dia amigo,

da um restart no serviço do postfix e posta a ultimas 60 linhas, pelo menos...

parece ser algo com a configuração.

vlw

[.]´s

Em 31 de agosto de 2010 11:50, Harlei Liguori Marcelino <hliguori@gmail.com> escreveu:

smtp:~# netstat -nat
Conexões Internet Ativas (servidores e estabelecidas)
Proto Recv-Q Send-Q Endereço Local          Endereço Remoto         Estado
tcp        0      0 0.0.0.0:53832           0.0.0.0:*               OUÃA
tcp        0      0 0.0.0.0:111             0.0.0.0:*               OUÃA
tcp        0      0 0.0.0.0:22              0.0.0.0:*               OUÃA
tcp        0      0 0.0.0.0:25              0.0.0.0:*               OUÃA
tcp        0    132 10.15.192.13:22         10.15.192.7:1531        ESTABELECIDA
tcp6       0      0 :::22                   :::*                    OUÃA


C:\Documents and Settings\harleilm>ping 10.15.192.13

Disparando contra 10.15.192.13 com 32 bytes de dados:

Resposta de 10.15.192.13: bytes=32 tempo<1ms TTL=64
Resposta de 10.15.192.13: bytes=32 tempo<1ms TTL=64
Resposta de 10.15.192.13: bytes=32 tempo<1ms TTL=64
Resposta de 10.15.192.13: bytes=32 tempo<1ms TTL=64

Estatísticas do Ping para 10.15.192.13:
    Pacotes: Enviados = 4, Recebidos = 4, Perdidos = 0 (0% de perda),
Aproximar um número redondo de vezes em milissegundos:
    Mínimo = 0ms, Máximo = 0ms, Média = 0ms

C:\Documents and Settings\harleilm>telnet 10.15.192.13 25
421 Cannot connect to SMTP server 10.15.192.13 (10.15.192.13:25), connect error
10061


Conexão ao host perdida.

C:\Documents and Settings\harleilm>


Bom como você pode ver eu pingo, o a porta 25 está liberada para toda a rede 0.0.0.0:25 e o telnet não fecha de uma estação windows, mas, de uma estação linux fecha o telnet... não sei explicar o porque... mas o telnet windows e linux tem diferença certamente...

agradeço a ajuda mesmo assim

vou tentar descobrir oq se passa

att

Harlei

Em 31 de agosto de 2010 09:33, Francisco Aparecido da Silva <francisco@silva.eti.br> escreveu:
Olá Harlei, em se tratando de serviço de rede, o telnet não tem diferença.
Você aponta para o protocolo e especifica uma porta que deve estar listen.
Pelo  erro  mencionado,  me parece que a máquina Windows não esta na mesma
rede  do servidor ou se estiver, alguma regra esta bloqueando o acesso. NO
seu  lugar,  eu  faria um teste de ping entre as duas máquinas e faria uma
conferência  para  ver se a porta 25 esta listen para toda a rede (netstat
-nat).

Abraço

Harlei Liguori Marcelino wrote:
> Date: Mon, 30 Aug 2010 23:40:10 -0300
> From: Harlei Liguori Marcelino <hliguori@gmail.com>
> To: Harlei Liguori Marcelino <hliguori@gmail.com>,
>       debianlista <debian-user-portuguese@lists.debian.org>
> Subject: Re: Postfix só funciona em localhost
>
> Acabei descobrindo que quando tento fazer o telnet na porta 25 do smtp
> server de uma maquina linux o telnet fecha certinho, consigo rodar comandos
> e tudo... porém quando tento de estações windows da erro no telnet, diz que
> "Cannot connect"... qual será a diferença do windows para o linux no telnet?
> Alguem ja passou por este problema? Se não conseguir a resposta aqui vou
> tentar encontrar na lista que o Francisco me indicou, obrigado...
>
>
> Em 30 de agosto de 2010 19:00, Francisco Aparecido da Silva <
> francisco@silva.eti.br> escreveu:
>
> > Olá  Harlei,  existem  muitos  procedimentos  para  colocar um servidor de
> > e-mail rodando de forma correta (e segura), por exemplo, dns, dns reverso,
> > um  dominio  totalmente  qualificado,  regras  de entrada no seu firewall,
> > apontando  a  porta  25 para o servidor, o tipo do seu link (note que aDSL
> > pode  não  ser suportado dependendo do seu plano com a operadora), etc. Se
> > você  sabe  como  os  itens  acima estão funcionando e persistir a dúvida,
> > recomendo  que  use  a lista postfix-br@listas.softwarelivre.org que trata
> > específicamente  duvidas  de  postfix.  Considere  conhecer os itens acima
> > antes  de  prosseguir. Servidor de e-mail só parece ser simples depois que
> > você realmente saber fazer.
> >
> >
> > Abraço
> >
> >
> > Harlei Liguori Marcelino wrote:
> > > Date: Mon, 30 Aug 2010 17:47:30 -0300
> > > From: Harlei Liguori Marcelino <hliguori@gmail.com>
> > > To: debianlista <debian-user-portuguese@lists.debian.org>
> > > Subject: Postfix só funciona em localhost
> > >
> > > Amigos,
> > >
> > > preciso colocar um servidor smtp simples no ar, achei que seria tarefa
> > > simples, mas, estou apanhando horrores. Subi o postfix e configurei a
> > minha
> > > rede no main.cf mas isso não adiantou, ele só aceita conexão na porta 25
> > > proveniente do localhost, se for de qualquer outra maquina da rede não
> > > funciona. O arquivo está assim:
> > > # See /usr/share/postfix/main.cf.dist for a commented, more complete
> > version
> > >
> > >
> > > # Debian specific:  Specifying a file name will cause the first
> > > # line of that file to be used as the name.  The Debian default
> > > # is /etc/mailname.
> > > #myorigin = /etc/mailname
> > >
> > > smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> > > biff = no
> > >
> > > # appending .domain is the MUA's job.
> > > append_dot_mydomain = no
> > >
> > > # Uncomment the next line to generate "delayed mail" warnings
> > > #delay_warning_time = 4h
> > >
> > > readme_directory = no
> > >
> > > # TLS parameters
> > > smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> > > smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> > > smtpd_use_tls=yes
> > > smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> > > smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> > >
> > > # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
> > > # information on enabling SSL in the smtp client.
> > >
> > > myhostname = smtp.redefebem.febem.sp.gov.br
> > > alias_maps = hash:/etc/aliases
> > > alias_database = hash:/etc/aliases
> > > myorigin = /etc/mailname
> > > #mydestination = gmail.com, smtp.redefebem.febem.sp.gov.br,
> > > localhost.redefebem.febem.sp.gov.br, localhost
> > > mydestination = smtp.redefebem.febem.sp.gov.br,
> > > localhost.redefebem.febem.sp.gov.br, localhost
> > > relayhost =
> > > #mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> > > mynetworks = 127.0.0.0/8, 10.15.192.7/32, 10.15.192.0/22
> > > mailbox_command = procmail -a "$EXTENSION"
> > > mailbox_size_limit = 0
> > > recipient_delimiter = +
> > > inet_interfaces = all
> > >
> > >
> > > Eu achava que o 'mynetworks' eram os IPs liberados para envio, mas, na
> > > verdade, é apenas a lista de quem tem acesso ao Relay, e não quem acessa
> > a
> > > porta 25. Será que alguém sabe de cabeça como liberar a porta 25 para
> > minha
> > > rede?
> > >
> > > agradeço desde já
> > >
> > > att
> > >
> > > Harlei
> >
> > --
> > Francisco Aparecido da silva(fafanet)
> > -------------------------------------
> >   Blog: http://blog.silva.eti.br
> >   Home Page  http://silva.eti.br
> >   http://www.twitter.com/fafanete
> >   http://www.identi.ca/fafanet
> > GNU/Linux user:239412 GPG ID:01BC73D6
> > -------------------------------------
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iEYEARECAAYFAkx8KeYACgkQqhvCVgG8c9agrACfQDq47Vx7Xp3FIxsRnOOKzgFj
> > VFQAoO1CBrPrmVnm7Jer5L0zCkDj+BoO
> > =zre7
> > -----END PGP SIGNATURE-----
> >
> >

--
Francisco Aparecido da silva (fafanet)
-------------------------------------
  Blog: http://blog.silva.eti.br
  http://www.twitter.com/fafanete
  http://www.identi.ca/fafanet
GNU/Linux
user:239412 GPG ID:01BC73D6
-------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkx89noACgkQqhvCVgG8c9ahJwCgzy0vPRUEbiFOv/64jIPLdAs+
4AQAoKANL3A/FYE9W1QMgZgJ2D2E578U
=2RSy
-----END PGP SIGNATURE-----





--
[.]´s
..:: S.e.r.i.a.L ::..




--
[.]´s
..:: S.e.r.i.a.L ::..


Reply to: