Cola de correo en Qmail, Plesk 12.5 y Centos 7

En entornos plesk 12.5, Qmail bajo distribución linux CENTOS 7, se produce un problema a la hora de eliminar mensajes de la cola y otras maniobras.

El problema se produce tanto desde el panel como desde CLI

El problema se produce porque ambos scripts no saben parar y arrancar el servicio qmail.

En el ficheros: /usr/local/psa/admin/sbin/mailqueuemng

debe editarlo, comentar la parte de arrancar y parar servicio y dejar algo asi:

#####
# If your system has got automated command to start/stop qmail, then
# enter them here.
# ### Be sure to uncomment only ONE of each variable declarations ###

# For instance, this is if you have DJB's daemontools
#my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail-send';
#my ($startqmail) = '/usr/local/bin/svc -u /service/qmail-send';

# While this is if you have a Debian GNU/Linux with its qmail package
#my ($stopqmail) = '/etc/init.d/qmail stop > /dev/null';
#my ($startqmail) = '/etc/init.d/qmail start > /dev/null';
#centos 7
# If you can control qmail through service, use this
my ($stopqmail) = '/sbin/service qmail stop > /dev/null';
my ($startqmail) = '/sbin/service qmail start > /dev/null';
This entry was posted in centos, LAMP, plesk and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *