Archive for the 'Plesk Support' Category

Changing the Plesk Administrator email address

In the Plesk Control Panel you can set your email address for the Plesk Administrator. This address is used for all system-related messages. The address is also stored in the following files on your server, which uses the the popular qmail mail server.

/var/qmail/alias/.qmail-mailer-daemon
/var/qmail/alias/.qmail-postmaster
/var/qmail/alias/.qmail-root

You can edit these files to change the email address as originally configured in Plesk.

You can also have multiple entries. Just make sure that each address is on it’s own separate line and prefixed with an “&” symbol.

&root@example.com
&buddy@example.com
&admin@example.com
SBDavid

qmHandle - a tool for the qmail queue

qmHandle - a tool for the qmail queue

qmHandle is a tool which can be used to manage the qmail message queue. It’s written in Perl (so fully customizable) and has more features than qmail-qread and qmail-qstat.

You can print queue statistics, like qmail-qstat, with color capabilities.
You can view a message in the queue.
You can remove one or more messages from the queue based on a criterion or use multiple delete requests each having its own criterion.

Download qmHandle from SourceForge. You actually only need the script ‘qmHandle’ Upload it to the server and untar it if necessary. You may download the file directly from SourceForge using the wget command:

http://optusnet.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz

Then decompress the file using the tar command.

tar -xvzf qmhandle-1.3.2.tar.gz

First it is recommended to shutdown qmail using the service command to prevent possible corruption of the mail queue.

service qmail stop

When you are done with qmhandle be sure to start it again using the service command:

service qmail start

Use -s to see some basic statistics.

qmHandle -s

Available parameters:

-a : try to send queued messages now (qmail must be running)
-l : list message queues
-L : list local message queue
-R : list remote message queue
-s : show some statistics
-mN : display message number N
-dN : delete message number N
-Stext : delete all messages that have/contain text as Subject
-D : delete all messages in the queue (local and remote)
-V : print program version

Additional (optional) parameters:

-c : display colored output
-N : list message numbers only

Reference : http://sourceforge.net/projects/qmhandle/

What can I do if I am unable to start the qmail service in Plesk?

First of all, make sure that qmail is not running.

ps ax | grep qmail-send

If so, try to start it from the command line.

/etc/init.d/qmail start

If that does not work take a look at the /usr/local/psa/var/log/maillog logfile for helpful error messages.

Reference: http://kb.parallels.com/en/

Creating your own certificates for DirectAdmin

Advantage of creating your own certificates:
You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port 2222.

If you do not have your own certificates, you’ll need to create your own:

/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes

And then

chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
chmod 400 /usr/local/directadmin/conf/cakey.pem

Service Container on a Parallels Virtuozzo Containers hardware node can be created using ‘vzsveinstall‘ utility:

# vzsveinstall -D DISTRIB_DIR -s SERVICE_CT_IP

- DISTRIB_DIR - path to Virtuozzo distribution directory hierarchy on a server.
- SERVICE_CT_IP - IP address to be assigned to Service Container;

In case you have downloaded Virtuozzo distributive already (example for 64-bit PVC 4.0) as file “virtuozzo-4.0.0-${build_version}-x86_64.sfx”, please extract it in the following way:

# mkdir -p /vz/full_distr
# bash /path/to/virtuozzo-4.0.0-${build_version}-x86_64.sfx -d /vz/full_distr –extract

Create Service Container then using this command (make sure old Service Container #1 does not exist):

# vzsveinstall -v -D /vz/full_distr -s SERVICE_CT_IP

Please refer to man page on ‘vzsveinstall‘ utility for additional information.

Reference: http://parallels.com

« Prev - Next »