Archive

Archive for the ‘Mail Services ( POP, SMTP , IMAP and Webmail )’ Category

Horde Mail Login Failed Error

October 12th, 2009

Whenever we see any login errors like

“Login failed” or
“Notice: (null)(): Connection failed to localhost,143: Connection refused (errflg=2) in Unknown on line 0″

for the horde mail, just restart the imap service using anyone of the scripts

/scripts/restartsrv_imap
/scripts/restartsrv_inetd

Mail Services ( POP, SMTP , IMAP and Webmail )

Microsoft Outlook HTML Links Problem

October 12th, 2009

When a client get this following problem

In Outlook, I would get an email with a link that whenever I clicked on it, it would bring up Internet Explorer, but the browser page would be blank.

Ask him to go through the following steps

Open Internet Explorer–> tools –>Internet Options. Then click the Programs tab Click Reset Web Settings
Click YES to reset, but take the uncheck the box to keep your homepage.
Check the box for Internet Explorer to check if it is the default browser

That’s it.

Mail Services ( POP, SMTP , IMAP and Webmail )

Outlook Sign in error

October 12th, 2009

While “sign in” account through mail client if you are getting the following error messages:-

There was a problem logging onto your mail server. Your Password was rejected. Account: ‘comments@domain.com’, Server: ‘mail.domain.com’, Protocol: POP3, Server Response: ‘-ERR Your account has been suspended’, Port: 110, Secure(SSL): No, Server Error: 0×800CCC90, Error Number: 0×800CCC92

Then the solution is:-

Generally you get this error messages when the account is supended. So check in the server whm whether the account is suspended or not. If the account is not suspended but you are getting the above error while “sign in” in email client , then first suspended the account through the whm or shell and again unsuspended the account.

The problem have resolved.
Now please check that account by “sign in” in email client.

Mail Services ( POP, SMTP , IMAP and Webmail )

Horde -> Attachment stripped

October 12th, 2009

Hi,

when we send an email with attachment and then check the “sent-mail” folder we see only the message instead of attachment: “Attachment stripped”

How to enable attachments to be saved in the “sent-mail” ?

1. Login to your webmail

2. Click to view your Inbox

3. Click the “Options” button at the top of the page

4. Click on “Message Composition”

5. Look for the following, near the bottom of the list of settings:
“When saving sent-mail, should we save attachment data?”
Then set it to “Always Save Attachments” Or any of the other options that suit your personal preference.

6. Click “Save Options

Mail Services ( POP, SMTP , IMAP and Webmail )

How to manipulate the Exim Queue

October 12th, 2009

A few tidbits on manipulating the messages in the Exim Queue, courtesy of the Exim book.
In the examples, substitute the correct message id where you see message_id

Adding a recipient to a message:

exim -Mar message_id email@domain.dom
will add email@domain.dom as a recipient of the message and send a copy to that address.

There is no way to actually delete a recipient, but Exim can be told to pretend that delivery for a recipient has been completed. To mark one of the intended recipients as delivered:

exim -Mmd message_id email@domain.dom
will mark the address email@domain.dom as delivered and stop delivery attempts to that address, whereas:

exim -Mmad message_id
will mark all recipients as delivered.

These commands are handy if you need to divert a piece of mail to one or more new recipients. The safest way to do this is:

Freeze the message:

exim -Mf message_id
Use the -Mmad or -Mmd switched to mark all or individual recipients as delivered.
Use the -Mar switches to add as many new recipients as needed.
Thaw the message:

exim -Mt message_id
which will then attempt delivery on the next queue run, or force delivery now:

exim -M message_id

You can also edit the body of the message:

exim -Meb message_id
This runs vi on a copy of the spool file with a lock. No delivery attempts are made while the file is locked. There a few caveats on this and you should look up more info on it before you attempt it.

Summary of queue runner commands:

-M : Force delivery
-Mar : Add recipient
-Meb : Edit message body
-Mes : Edit sender
-Mf : Freeze message
-Mg : Give up (and bounce message)
-Mmad : Mark all recipients as delivered
-Mmd : Mark recipient as delivered
-Mrm : Remove message (no bounce)
-Mt : Thaw message
-Mvb : View message body
-Mvh : View message header
-Mvl : View message log

Mail Services ( POP, SMTP , IMAP and Webmail )

Unable to login into Horde

October 7th, 2009

PROBLEM:
Suddenly if customers are unable to login into Horde. When they click on Horde icon then they are greeted with a screen saying Welcome to Horde and it asks to select a Language and click on Login button…..but after pressing the Login button it comes back to the same screen and nothing happens.

Then SSH to server as root and try the follwoing commands:

/scripts/fullhordereset
/scripts/restartsrv_cppop

If still the problem exists, then try repairing the horde db as that can be corrupted as given below from shell.

Goto mysql prompt:

mysql> use horde
mysql>repair table horde_sessionhandler;

Then
/scripts/restartsrv_cppop

You can check the result by login to Horde

Mail Services ( POP, SMTP , IMAP and Webmail )

Resolving the IMAP related problem

October 7th, 2009

Please see the given below error .
=========================================================
I can’t log into my email address I keep getting this message Notice: Unknown(): Connection failed to localhost,143: Connection refused (errflg=2) in Unknown on line 0
=========================================================
This error comes generally due to not running imap service.
To resolve this error you need to run the below service in the shell.
===================

service xinetd restart

====================
IMAP is “Internet Message Access Protocol” it is generally started by xinetd service not by standalone service. So you have to restart the xinetd service . IMAP use 143 port. You can also run the above service to resolve the other IMAP (port 143) related problem.

Mail Services ( POP, SMTP , IMAP and Webmail )

Regarding neomail issues

October 7th, 2009

Some times client complain that they are not able to view their mails through neomail. This is due to changing of files name under his “.neomail folder”.
So we should check all the file under ” .neomail* ” . There you should convert the file start with ” _” like _db.INBOX.db to INBOX.db, It should be INBOX.db.

So check all this file s and change it to correct form as stated above. Some time due to this error server load increases, You can see it by TOP command.

The changing of file may be due to over quota of accounts.
If anyone know the other cause of changes of this file then feel free to share with us.

Mail Services ( POP, SMTP , IMAP and Webmail )

Folders not showing in Squirrel Mail

October 7th, 2009

A customer of ours has reported the problem i.e his own folders are not showing in squirrel mail.

It is extremely easy to correct by editing SquirrelMail configuration file inside cPanel’s installation of SquirrelMail. Below are very detailed instructions on how to resolve it.

* Change directory to the location where cPanel installs SquirrelMail’s configuration file.

cd /usr/local/cpanel/base/3rdparty/squirrelmail/config

* Make a backup copy of the configuration file

cp config.php config_backup.php

* Edit the configuration file using your favorite editor.

vi config.php

* Find the following setting :

$default_folder_prefix = ‘mail/’;

* Change it as follows:

$default_folder_prefix = ”;

* Find the following setting (seven lines below):

$show_prefix_option = true;

Change it as follows:

$show_prefix_option = false;

* Save the configuration file.

Now user be able to see the folders in SquirrelMail once again.

Mail Services ( POP, SMTP , IMAP and Webmail )

SquirrelMail Addess book corrupted

October 7th, 2009

f you are unable to access the Addresses of the squirrelMail and getting the error as given below.

Error:
———————————
Address book is corrupted. Required fields are missing
———————————

Reason:
———————————————–
Then the required fields are missing or not given while adding a address to Personal address book. You need to mention 4 fields without failure which are Nickname,E-mail address,First name,Last name. If you miss any of them you will see above error.
———————————————–
Solution:

Login to shell as Root.

Goto the directory
#cd /home/username/.sqmaildata

You will see three files for each email account which are given below. For example you have address book problem for mail account test@domain.com
————————————
test\@icifirm.com.abook
test\@icifirm.com.pref
test\@icifirm.com.sig
————————————
Open the file test\@icifirm.com.abook file where you will see the lines as given below.
————————————
Aam|Aam| |aam@yahoo.com|
Anee|Anee| |anee@yahoo.com|
————————————-
In the above two lines we can clearly see that third field is empty | |.
If you see such blank fields in the .abook file you will get the error as
Address book is corrupted. Required fields are missing.

What you need to do is just fill the empty field with some text as shown below and also see that the line must end with pipe |.
————————————
Aam|Aam| Mr|aam@yahoo.com|
Anee|Anee|Mrs |anee@yahoo.com|
————————————-
Once restart the cpanel service and check the address book from the squirrelMail now. Now you can ask client to edit the Address book and correct third field what we have given.

Mail Services ( POP, SMTP , IMAP and Webmail )