cPanel – Change timezone in webmail

Horde To change the time zone in Horde, follow these steps: Log in to Horde. In the left-hand pane, click Options, and then click Global Options. Under Your Information, click Locale and Time. Select your time zone, and then click Save Options. Roundcube To change the time zone in Roundcube, follow these steps: Log in […]

Read More

Configure qmail to use SMTP port 26 – Plesk

Login to your server as root root# cd /etc/xinetd.d root# ls -l | grep smtp* root# cat smtp_psa service smtp { socket_type = stream protocol = tcp wait = no disable = no user = root instances = UNLIMITED server = /var/qmail/bin/tcp-env server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true } root# […]

Read More

Windows Firewall setup for Microsoft FTP Publishing Service for IIS 7.0.

Objective This post is the first one from the mini-series on firewall configuration for FTP7 (full product name: Microsoft FTP Publishing Service for IIS 7.0). The goal of this post if to provide instructions on how to setup local Windows Firewall to enable access to FTP over non-secure or secure connections. This post does NOT […]

Read More

S.M.A.R.T. monitor disks behind a raid controller

If you have installed smartmontools and need to receive notifications on email about failing disk drives, but you have an raid controller as LSI or PERC or any equivalent, your default configuration of smartd will not get to that disks. The default configuration implies direct access to disks: DEVICESCAN -H -m admin@webfactor.ro For smartd to […]

Read More

Recalculate cPanel email account disk usage

If you just deleted “all” the emails from you account but usage still remain high, then you should recalculate that usage by issuing the following command: /scripts/generate_maildirsize --confirm --allaccounts --verbose cPanelUser where you replace cPanelUser with desired cPanel account. If you situation has gone wrong server side (many accounts), you can run the following script […]

Read More

dmesg timestamp in human readable format

If you faced errors in dmesg and is not easy for you to convert the uptime in real time, modify the /etc/rsyslog.conf (or syslog.conf in older rhell distributions) and modify the line of kernel logging as follow: kern.* /var/log/kern.log after a restart of rsyslogd daemon you will have all your entries (new ones) in /var/log/kern.log […]

Read More

Cpanel – send email to all email boxes of a domain

If you ever asked how can you send same email to all email accounts and searched for such button, there is none. Here is a simple method to accomplish that, if you have ssh access to server. First of all you must create a list with all the email accounts from a domain, with a […]

Read More

Redirect http to https 301 – permanently

You must insert following lines to your .htaccess file: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L] This redirect will handle both www and non www requests. [Total: 0    Average: 0/5]

Read More

Plesk – install same SSL certificate for IMAP/SMTP/POP3 services

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 For Dovecot: /etc/dovecot/private/ssl-cert-and-key.pem For a Courier-IMAP server (for IMAP4 and POP3 over SSL): /usr/share/imapd.pem /usr/share/pop3d.pem Or: /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 the Plesk installation. If it is required to […]

Read More

Installing litespeed php as RPM

Installing PHP as an RPM Installing PHP with LiteSpeed SAPI from a repository is much faster than compiling it yourself. Some users also may be unused to compiling PHP and will find this method more comfortable. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository and our own LiteSpeed Repository. Choose the […]

Read More

Categories