Beruflich Dokumente
Kultur Dokumente
Instalar apache
[root@mail ~]# yum -y install httpd
[root@mail ~]# systemctl start httpd.service
[root@mail ~]# systemctl enable httpd.service
[root@mail ~]#wget
https://github.com/mailwatch/MailWatch/archive/v1.2.7.tar.gz
[root@mail ~]# tar -zxvf MailWatch-1.2.7.tar.gz
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
You already have a root password set, so you can safely answer 'n'.
3. Configuración de Mailwatch
function postfixallq()
{
$last_line = exec('/opt/zimbra/common/sbin/mailq');
$pos = strpos($last_line, 'in ');
$start = substr($last_line, $pos + 3);
return (int)$start;
}
function postfixallq()
{
$last_line = exec('/opt/zimbra/common/sbin/mailq');
$pos = strpos($last_line, 'in ');
$start = substr($last_line, $pos + 3);
return (int)$start;
}
Iniciar Zimbra
root@mail:~# su – zimbra
zimbra@mail:~$ zmcontrol stop