Squirellmail Time-zone issues!

You might be noticed that Squirrelmail recently asks for the contact information when logged in for the first time and its quiet annoying as customer has to fill the information when they log in to the email for the first time. This is the feature of Squirrelmail’s recent version 1.5.2. You can easily fix it using the below steps:

1. Login into your server

2. Kindly try to search word ask_user_info under the below file by editing it:

$ask_user_info = true;

You need to set “ask_user_info” variable to “false” to remove the contact information page from Squirrelmail.

Thats it.

Connection timed out Server replied: 110 Can’t open SMTP stream.

Sometime, when you try to send email using it would show following error.

Connection timed out
Server replied: 110 Can't open SMTP stream.

Or in outlook

could not retive mail.yourdomain.com

Usually, a workaround for this problem is to restart imap service on the server but it did not work so after a bit investigation i fixed the issue.
This problem usually occurs when CSF ( Config Server Firewall ) is installed on your server and it is interacting with the working of squirrel mail. If you would have enabled SMTP_BLOCK in the server and disabled SMTP_ALLOWLOCAL, a csf would not allow to send email from squirrel mail and would show error that i mentioned earlier.

When the option “SMTP_BLOCK” is enabled it is then required to enable the option “SMTP_ALLOWLOCAL” to allow the cPanel hosted Webmail programs to send e-mail; this includes Horde, SquirrelMail, and RoundCube, when accessed via cPanel Webmail. If the option “SMTP_ALLOWLOCAL” is disabled but the option “SMTP_BLOCK” is enabled then it will break the ability for the cPanel hosted Webmail programs to send e-mail.

$ vi /etc/csf/csf.conf


save and exit. Restart csf.

This will fix.

Client host rejected: cannot find your hostname

Usually, my blog posts are inspired from the client issues that we receive in a ticket. Today, I found customer stating that his emails are being rejected two providers in his area and has no problems sending emails out to anyone else (gmail, yahoo, hotmail, etc.) Quit interesting. Generally, as per my experience mail provider most of the problems we receive state that they have problem sending emails to gmail, hotmail etc but this one was different case.
In order to resolve this problem, I asked for the bounce back message that a customer receive and here is what I got.

The message identifier is: 1UxyzZ-0008U7-RN
The date of the message is: Sat, 13 Jul 2013 09:31:54 -0300
The subject of the message is: Proposta GaiaFP
The address to which the message has not yet been delivered is:
Delay reason: SMTP error from remote mail server after initial connection:
host vip-us-br-mx.terra.com [208.84.xx.xx]:
450 4.7.1 Client host rejected: cannot find your hostname, [192.xx.xx.xx]

Here you go, you found your error message.

450 4.7.1 Client host rejected: cannot find your hostname, [192.xx.xx.xx]

Hence, I ran rds lookup against the IP.

root@na []# host -t ptr

I noticed, rdns not being setup correctly which I setup later and fixed the problem!!

1 2 3