Wednesday, June 6, 2007

Unrouteable Email error

While sending emails from your email address and you get the error Unrouteable address with RCPT reject. That means the problem at receivers end.

Check the following things.

1. Check the domains entry is available in userdoamins.

2. Check the domains entry is is available in localdomain

3. check the domain must having catchall address set if not then set
vi /etc/valiases/domain.com

*: username

4. also make sure that the mail folder having ownership user:mail

5. restart exim services once.

Enjoy

Ninad S

Saturday, June 2, 2007

Where to check account logs (cpanel)

cat /var/cpanel/accounting.log | grep domain

Enjoy
Ninad S

To view suspended account from shell (cpanel)

cd /var/cpanel/suspended
see the user which is suspended and the reason


Enjoy
Ninad S

Enable GET command

To give GET command
usermod -G get-users ninad

where ninad is username

Enjoy
Ninad S

To see the time of IP Access

Give below command to find out time of IP Access

cat access_log | domain name | grep 21/dec

Enjoy
Ninad S

Squirrel mail session error in global file

If you are getting squirrel mail session error in global file.
insert ob_start();
then remove the session from /tmp folder by rm command

If this doesnt work then post your comments ;)

Enjoy
Ninad S

VPS Functions

To create and start a VPs, run the following commands:

Quote:
[server-node]# vzctl create VEID --ostemplate osname
[server-node]# vzctl set VEID --ipadd b.c.d.e --save
[server-node]# vzctl start VEID

Here VEID is the numeric ID for the VPS; osname is the name of the OS template for the VPS, and b.c.d.e is the IP address to be assigned to the VE.

For example:
Quote:
[server-node]# vzctl create 102 --ostemplate centos-4-minimal
[server-node]# vzctl set 102 --ipadd b.c.d.e --save
[server-node]# vzctl start 102

Your new VPs should be up and running now. You can see its processes:
Quote:
[server-node]# vzctl exec VEID ps ax

To enter VPS give the following command:
Quote:
[server-node]# vzctl enter VEID
entered into VPS VEID
[ve]#

To exit from VPS, just type exit and press enter:
Quote:
[ve]# exit
exited from VPS VEID

[server-node]#

To stop VPs:

Quote:
[server-node]# vzctl stop VEID
Stopping VPS ...
VPS was stopped
VPS is unmounted

To destroy VPs:
Quote:
[server-node]# vzctl destroy VEID
Destroying VPS private area: /vz/private/VEID
VPS private area was destroyed

Enjoy
Ninad S


View My Stats