Plesk

How to enable additional webmail logging on Plesk server?

Question

How to enable additional webmail logging on Plesk server?

Answer

RoundCube webmail

  1. Connect to the server via SSH.

  2. Add the following into /usr/share/psa-roundcube/config/config.inc.php file using any text editors like vi:

    // Log successful/failed logins to <log_dir>/userlogins.log
    $config['log_logins'] = true;

Note: Additional logs will be recorded into /var/log/plesk-roundcube/userlogins.log file.

Horde webmail

  1. Connect to the server via SSH.

  2. Add the following into /etc/psa-webmail/horde/horde/conf.php file using any text editors like vi:

    $conf['log']['priority'] = 'NOTICE';

Note: Additional logs will be recorded into /var/log/psa-horde/psa-horde.log file.