How to recalculate statistics for a particular domain

Plesk Panel invokes the statistics utility (which resides in the ${PRODUCT_ROOT_D}/admin/bin directory) to calculate web page access statistics, traffic usage statistics, and disk space usage statistics, in the scope of daily maintenance activity.

The option–calculate-one of the statistics utility is used to initiate manual statistics recalculation for one domain only:

~# /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=yourdomain.com

More information about statistics utility usage is available from the –help option output:

~# /usr/local/psa/admin/sbin/statistics –help

Change default SSL certificates for SMTP, IMAP, and POP3

The certificate for SMTP over SSL is located in the following files:

For QMail MTA:

/var/qmail/control/servercert.pem

For Postfix MTA:

/etc/postfix/postfix_default.pem

Note: Only QMail MTA is used in Parallels Plesk Panel version 8.x and earlier versions. Use instructions from this KB to define which MTA is used in Parallels Plesk Panel version 9.x and later versions.

For IMAP4 and POP3 over SSL, the following certificate files are used:

/usr/share/courier-imap/imapd.pem
/usr/share/courier-imap/pop3d.pem

By default, these are self-signed certificates for “plesk” which are generated during Parallels Plesk installation. If you need to set up your own certificates, copy and paste your certificate and Private Key into the appropriate files and restart “qmail/postfix” and “courier-imap” services:

For version 8.6 and earlier versions:

~# /etc/init.d/xinetd restart
~# /etc/init.d/courier-imap restart

For version 9.x and later versions:

~# /usr/local/psa/admin/sbin/mailmng –restart-service

It is important that the client specifies the domain that the certificate is issued for in order to avoid a warning that the certificate name does not match that of the host you are connecting to. For example, if the certificate was issued for the “example.com” domain, then you should specify “example.com” as the connection string in your mail client preferences for SMTP/POP3/IMAP servers.

How to change Plesk Server Default page

Default pages are located in the HTTPD_VHOSTS_D/default/htdocs (non-SSL) and HTTPD_VHOSTS_D/default/httpsdocs (SSL) folders respectively. You can replace them with your own ones if needed.

HTTPD_VHOSTS_D is a variable that specifies a path to virtual hosts’ locations and may vary depending on the operating system and Plesk version. This path is defined in the /etc/psa/psa.conf configuration file.

1 118 119 120 121 122 160