Hsphere file paths

Mysql:
======
Socket file: /var/lib/mysql/mysql.sock
Database file: /var/lib/mysql
mysql password file: /var/lib/mysql/.my.cnf
Error log: /var/log/mysql/error.log

Ftp:
=====

Proftpd is default with hsphere.

Configuration file: /hsphere/shared/config/ftpd/proftpd.conf
Log file: /hsphere/local/var/proftpd/xferlog

Php:
=====

Configuration files:
/hsphere/local/config/httpd/php4/php.ini – with PHP version 4x
/hsphere/local/config/httpd/php5/php.ini – with PHP version 5x

Log file : /hsphere/shared/apache2/logs/php_error.log

Apache:
========

Configuration file: /hsphere/shared/apache2/conf/httpd.conf
Log file: /hsphere/shared/apache2/logs/error_log
Each domain has a separate configuration file:
/hsphere/shared/apache2/conf/sites/conf_file

Starting: /etc/init.d/httpd start
Re-Starting : /hsphere/shared/scripts/apache-restart
Stop: /etc/init.d/httpd stop

MOD Security:
=============

/hsphere/shared/apache2/conf/extra/httpd-security.conf

DOMAINS:
=========

Access the domains with domain name(without user name)
/hsphere/local/home/*/domainname

Access the domains with user name
/hsphere/local/home/username/domainname

Rebuilding the DB for the specific domain.
#java psoft.hsphere tools.DNScreator -m db -dz -z < Domain Name >

DNS
====

Zones configuration – /hsphere/local/var/named/zones
ex: /hsphere/local/var/named/zones/

Logs: /var/log/messages

#pgsql hsphere

#select * from dns_records where name=’domain.com’;

#update dns_records set data=’ip’ where name=’mysql2.domain.com’;

Qmail:
=====

configuration files:
/var/qmail/control

Some important config files:
rblhosts
rcpthosts
virtualdomains

Log files :
/var/log/messages
/var/log/maillog

To view mail location of a domain:

~vpopmail/bin/vdominfo domain.com

To view the information of a mail account:
~vpopmail/bin/vuserinfo domain.com

Hsphere Scripts:
=================
/hsphere/shared/scripts

Hsphere panel files:
=====================
~cpanel/shiva/psoft/hsphere/

To lower property taxes you have to understanding your tax bill works

There are few ways on lowering property taxes in Cook County

I will not dive into the subject of what the county taxes are for and who uses taxpayers dollars to get rich. I am here to jump to the subject of “How do you lower Cook County property taxes“.

Since the market value is a very subjective and Overevaluation is costly and pretty hard-to-prove subject let’s concentrate on the Lack of Uniformity way. What it is and how it works. Continue reading “To lower property taxes you have to understanding your tax bill works”

How to fight the property taxes based on Lack of Uniformity

First get to read a bit on how the tax bill works for cook county taxes. If you read or you don’t care, let’s move on.

So we have  a masonry, 50-year old house of 1000 sq.ft. sitting on 2,000 sq.ft of land which is valued by the County of Cook in, say, $100,000. This whole package is called Property (or parcel in legal terms).

We already figured that Estimated Assessed Value of your property, it equals 10,000 in our example. If you go to a sample house and have a look at EAV, you will notice that it has two Values: land and house/building itself. Let’s say, that Land is valued 2,000 and, what we will use further on, Building Assessed Value is 8,000 (remember it). Simple enough for now, right? Continue reading “How to fight the property taxes based on Lack of Uniformity”

How to delete emails from qmail queue on H-Sphere

First check the status of your queue:

[root@mail1 root]# /var/qmail/bin/qmail-qstat
messages in queue: 6751
messages in queue but not yet preprocessed: 56

After you find and stop the spammer, you now have a bunch of email on your QMail queue. Here’s how to remove it

take a “user@domain.com” that happens in emails from the spammer (usually the sender) and run this command:

grep -R user@domain.com /var/qmail/queue/mess/* | awk -F”:” ‘{print “rm -f ” $1}’ | sh

make sure the quotes and single quotes are straight, not round upon copy/paste

That will delete the emails that contain that user@domain.com

but it would leave behind various indexes and later on your users would start receiving bouncebacks for emails they’ve never sent!

BETTER USE:
qmHandle/qmhandle-1.3.2/qmHandle -Fuser@domain.com

this removes not only messages, but all the mentioning of those messages from everywhere. (sasa4uk)