El mar., 27 nov. 2018 a las 15:23, Gonzalo Rivero (<[email protected]>)
escribió:

> El mar, 27-11-2018 a las 14:36 -0300, Fernando Romero escribió:
> >
> >
> > El mar., 27 nov. 2018 a las 14:28, Paynalton (<[email protected]>)
> > escribió:
> > >
> > > El mar., 27 nov. 2018 a las 11:16, Fernando Romero (<
> > > [email protected]>) escribió:
> > > > Hola como están.
> > > > Instale sobre debian 9 un servidor de correo iredmail el cual
> > > > corre postfix , al comenzar con las pruebas para enviar me tira
> > > > este error a cualquier dirección que quiera enviar:
> > > >
> > > > connect to gmail-smtp-in.l.google.com[66.102.1.26]:25: Connection
> > > > timed out
> > > > connect to alt1.gmail-smtp-in.l.google.com[173.194.221.27]:25:
> > > > Connection timed out
> > > > connect to alt2.gmail-smtp-in.l.google.com[74.125.68.26]:25:
> > > > Connection timed out
> > > > connect to alt3.gmail-smtp-in.l.google.com[108.177.125.26]:25:
> > > > Connection timed out
> > > > connect to alt4.gmail-smtp-in.l.google.com[74.125.195.27]:25:
> > > > Connection timed out
> > > >
> > > >
> > >
> > > En el caso de GMAIL ya no acepta el puerto 25 por cuestiones de
> > > spam, debes usar los puertos SSL y usar un certificado que no sea
> > > autofirmado.
> > >
> >
> discrepo:
> $ telnet gmail-smtp-in.l.google.com 25
> Trying 64.233.190.26...
> Connected to gmail-smtp-in.l.google.com.
> Escape character is '^]'.
> 220 mx.google.com ESMTP h14si3466765qtr.243 - gsmtp
> ehlo google
> 250-mx.google.com at your service, [200.10.180.3]
> 250-SIZE 157286400
> 250-8BITMIME
> 250-STARTTLS
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-CHUNKING
> 250 SMTPUTF8
>
> pero, puede que tengas bloqueada la salida al 25 en el firewall. O tu
> proveedor de internet te bloquee la salida al puerto 25
>

Desde mi servidor en mi datacenter
[root@PBXLSM backup]# telnet gmail-smtp-in.l.google.com 25
Trying 172.217.192.27...
Connected to gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP y143si32178qkb.69 - gsmtp

Desde el vps en Google cloud donde tengo el postfix

 root@xxxpain:/var/log# telnet gmail-smtp-in.l.google.com 25
Trying 173.194.76.27...

Sera un tema de firewall de vps de Google cloud?

Asi tengo iptables

Chain INPUT (policy DROP)
target     prot opt source               destination
f2b-sogo   tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-roundcube  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-postfix  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-postfix  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-dovecot  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-nginx  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 80,443,25,587,110,995,143,993,4190
f2b-sshd-ddos  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 22
f2b-sshd   tcp  --  0.0.0.0/0            0.0.0.0/0            multiport
dports 22
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state
RELATED,ESTABLISHED
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0            icmptype 8
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:25
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:587
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:110
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:995
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:143
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:993
Chain FORWARD (policy DROP)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Chain f2b-dovecot (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-nginx (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-postfix (2 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-roundcube (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-sogo (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-sshd (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
Chain f2b-sshd-ddos (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0


>
> > Tengo que modificar el puerto en postfix y crear un certificado?
> > Esto es de ahora? porque hace poco había hecho la misma prueba y me
> > funcionaba
> >
> > Saludos
> > >
> > > > Estuve buscando la solución y una de las posibles es agregar en
> > > > el main.cf desl postfix:
> > > >
> > > > inet_protocols = ipv4
> > > >
> > > > Que use solo el protocolo ipv4, pero sigue con el mismo error.
> > > > Que mas me esta faltando?
> > > > Aclaro que estoy probando solamente enviar, no tengo ninguna
> > > > configuración de dns hecha.
> > > >
> > > > Saludos y gracias
> > > >
>
>

Responder a