Archive for the tag 'Changing'

Changing Spamassassin to check emails larger than 250KB

Spamassassin by default will not check emails larger than 250 KB. This is limited to prevent spamassassin from generating a large load on the server.

If you would like to change this setting to a higher value you can edit the following file:

vi /usr/local/psa/bin/psa-spamc

and change this line to a higher value:

MAX_SIZE=256000 # max letter size to filter

Spamassassin will use the new value immediately with no need to restart any services.

Reference: http://parallels.com

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

If you are changing the IP address of your server you need to modify the following files with the new IP address, replacing any instance of the old IP address:

/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/virtualhosting/namebased_ip_addrs
/etc/httpd/conf/httpd20_app.conf
/etc/virtualhosting/localnameserver
/etc/bind/options.conf.wp
/home/virtual/FILESYSTEMTEMPLATE/siteinfo/etc/resolv.conf

Now reboot the server and then run the following command.

/usr/local/bin/NBDetectchanges

The first step is to nofify direct admin regarind this change.

Boot the machine with the new IP address, chage the IP address in the system network setting and not in DirectAdmin.

Now get the new Licence.

cd /usr/local/directadmin/scripts

./getLicense.sh 1234 56789

Replace 1234 with your client ID number, and replace 56789 with your license ID number.

Start DirectAdmin with the new license:

/etc/init.d/directadmin restart

Run the ipswap.sh script to replace the old server IP (1.2.3.4) with the new server IP (4.3.2.1)

cd /usr/local/directadmin/scripts

./ipswap.sh 1.2.3.4 4.3.2.1

Restart everything:

/etc/init.d/httpd restart
/etc/init.d/proftpd restart
/etc/init.d/exim restart
/etc/init.d/dovecot restart

Changing Tomcat Java Connector Ports

The default port numbers for Coyote and Warp connectors in Parallels Plesk Panel are 9080 and 9008.

If you want Tomcat Java to work on other ports (e.g. 8090 and 8009), you should connect to the Parallels Plesk Panel database and add two parameters to the database as in the following example:

insert into misc (param,val) values (’coyote_connector_port’, ‘8090′);

insert into misc (param,val) values (’warp_connector_port’, ‘8009′);

Note: It is recommended that you change the Tomcat Java ports right after Parallels Plesk Panel is installed on server, or prior to enabling the Tomcat Java service for your domains.

« Prev - Next »