WebNar
Junior Registrado: 15-02-2008 Mensajes: 428
Votos: 0 👍
Publicado: Sab Ago 31, 2019 4:26 pm
Intentando importar en Gmail (como cuenta pop3) una cuenta de correo que ya funcionaba, tras un traslado de servidor. El siguiente error se daba de forma recursiva y no descargaba los mensajes.
Google: el servidor ha devuelto el error "connection closed by remote host: the other server terminated our connection. Please contact your other email provider for more information.
Tengo instalado Dovecot y Postfix en un servidor dedicado CENTOS 7 con Plesk
Quote::
Code::
[root@miservidor ~]# sudo doveadm log find
Looking for log files from /var/log
Debug: /var/log/maillog
Info: /var/log/maillog
Warning: /var/log/maillog
Error: /var/log/maillog
Fatal: /var/log/maillog
[root@miservidor ~]#
Reviso el log y entre muchas cosas me encuentro mi conexión y la razón del fallo:
Quote::
Code::
[root@miservidor ~]# [b]tail -100 /var/log/maillog[/b]
Aug 31 14:45:47 miservidor dovecot: pop3-login: Login: user=<admin@midominio.com>, method=PLAIN, rip=2607:f8b0:xxxx:20::218, lip=2001:ba0:1800:8070::1, mpid=29428, session=<2UFOy2qREJgmB/iwSGQAIAAAIY>
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=mail stream)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Corrupted record in index cache file /var/qmail/mailnames/midominio.com/admin/Maildir/dovecot.index.cache: UID 16834: Broken physical size in mailbox INBOX: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=mail stream)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Corrupted record in index cache file /var/qmail/mailnames/midominio.com/admin/Maildir/dovecot.index.cache: UID 16834: Broken physical size in mailbox INBOX: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=mail stream)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Corrupted record in index cache file /var/qmail/mailnames/midominio.com/admin/Maildir/dovecot.index.cache: UID 16834: [b]Broken physical size in mailbox INBOX[/b]: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Error: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. [b]Error: Couldn't init INBOX: Mailbox INBOX[/b]: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=)
Aug 31 14:45:47 miservidor dovecot: service=pop3, user=admin@midominio.com, ip=[2607:f8b0:xxxx:20::218]. Couldn't init INBOX: Mailbox INBOX: UID=16834: read(/var/qmail/mailnames/midominio.com/admin/Maildir/cur/1550430382.M979867P15983V000FD02I000122FFC.viejoservidor.onlinehome-server.info,S=6231:2,) failed: Cached message size larger than expected (6231 > 0, box=INBOX, UID=16834) (read reason=) rcvd=0, sent=122, top=0/0, retr=0/0, del=0/75, size=1512708
[root@miservidor ~]#
El error es que hay un correo corrupto e impide que Gmail cargue la bandeja de entrada.
Hay dos caminos para resolverlo: borrar el fichero físico o en mi caso entrar a mi webmail y eliminar manualmente el mensaje de la bandeja de entrada.
Después Gmail sigue importando los correos ya sin problema.
_________________ WebMaster de WebNaranja.com