migarcia

Well-Known Member
Nov 16, 2012
53
0
6
Barcelona
cPanel Access Level
Website Owner
Hola:
Estoy recibiendo un mensaje de error de Cpanel:
"The system failed to automatically remove Courier.
Review the log for further details:
......"


He estado revisando los comentarios acerca de la migración de Courier a Dovecot y he probado el script:
./courier-dovecot-migrate.pl --to-dovecot --recursive /home

pero tras realizar el analisis, termina indicando:
Total: 8 mailboxes / 3 users
5 errors
No actual conversion done, use --convert parameter

WARNING: Badly done migration will cause your IMAP and/or POP3 clients to re-download all mails. Read Migration - Dovecot Wiki carefully.


Teniendo en cuenta que tengo al rededor de 30 cuentas con unos 200 buzones, no entiendo nada.
Antes de lanzar el proceso de conversión, me gustaria que opinarais si lo considerais seguro, o es mejor que abra un ticket en CPanel y lo revisen.


Configuracion

/etc/redhat-release:CentOS release 5.11 (Final)
/usr/local/cpanel/version:11.52.4.0
/var/cpanel/envtype:vmware
CPANEL=release
Server version: Apache/2.2.27 (Unix)
Server built: Aug 9 2014 18:18:23
Cpanel::Easy::Apache v3.26.4 rev9999
PHP 5.3.28 (cli) (built: Aug 9 2014 18:40:19)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6.1-ea, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
mysql Ver 14.14 Distrib 5.5.47, for Linux (x86_64) using readline 5.1
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
Hello :)

Please try using the following command instead:

Code:
/usr/local/cpanel/scripts/convert2dovecot
Could you let us know of any specific error messages that are output when running this command?

Thank you.

Translation:

Hola :)

Por favor, intente utilizar el siguiente comando:

Code:
/usr/local/cpanel/scripts/convert2dovecot
¿Podría hacernos saber de cualquier mensaje de error específicos que se emiten cuando se ejecuta este comando?

Gracias.
 

migarcia

Well-Known Member
Nov 16, 2012
53
0
6
Barcelona
cPanel Access Level
Website Owner
El mensaje recibido es:
WARNING: You attempted to enable the dovecot mailserver, but it is explicitly set to unmanaged in the /var/cpanel/rpm.versions.d/ file.
This means that cPanel & WHM does not manage the mailserver's RPMs.If this was unintentional, run the following command to remove this flag,
and then run the setupmailserver script.

/usr/local/cpanel/scripts/update_local_rpm_versions --del target_settings.dovecot

If this was intentional, run the setupmailserver script with the --force flag.
 

migarcia

Well-Known Member
Nov 16, 2012
53
0
6
Barcelona
cPanel Access Level
Website Owner
Siguiendo las instrucciones,he hecho:

Code:
/usr/local/cpanel/scripts/update_local_rpm_versions --del target_settings.dovecot
y después he vuelto a lanzar la orden:

Code:
/usr/local/cpanel/scripts/convert2dovecot
y en las primeras pruebas, parece que se haya funcionado...

Gracias!!!!!!!!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.

Translation:

Estoy feliz de ver el problema ya se ha resuelto. Gracias por la actualización con el resultado que usted.