<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Servers cPanel webhosting blog &#187; E-mails issue</title>
	<atom:link href="http://www.theperfectarts.com/category/e-mails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:58:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Send an E-mail from server.</title>
		<link>http://www.theperfectarts.com/2011/11/send-an-e-mail-from-server/</link>
		<comments>http://www.theperfectarts.com/2011/11/send-an-e-mail-from-server/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 10:56:23 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[example to send an E-mail from shell]]></category>
		<category><![CDATA[how to install mailx]]></category>
		<category><![CDATA[install mailx]]></category>
		<category><![CDATA[linux shell for mail]]></category>
		<category><![CDATA[logs for send mail from shell]]></category>
		<category><![CDATA[mail with mailx.mailx mail sender]]></category>
		<category><![CDATA[mailx configuration]]></category>
		<category><![CDATA[mailx for mail]]></category>
		<category><![CDATA[mailx to send an E-mail]]></category>
		<category><![CDATA[mailx with logs]]></category>
		<category><![CDATA[send an E-mail from linux shell]]></category>
		<category><![CDATA[send an E-mail from shell]]></category>
		<category><![CDATA[send mail from linux server]]></category>
		<category><![CDATA[send mail from shell]]></category>
		<category><![CDATA[send mail from the linux shell]]></category>
		<category><![CDATA[send mail with mailx]]></category>
		<category><![CDATA[update mailx]]></category>
		<category><![CDATA[use mailx to send mail]]></category>
		<category><![CDATA[what is mailx.]]></category>
		<category><![CDATA[yum for mailx]]></category>
		<category><![CDATA[yum install mailx]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1626</guid>
		<description><![CDATA[Basically to send an E-mail from the Linux server shell, the mailx module is required. First install the mailx module by usiung the yum installed. Login in to the server as a root user and follow the following steps one by one root@server[~]# yum install mailx Once mailx installed on the server, you cna use [...]]]></description>
			<content:encoded><![CDATA[<p>Basically to send an E-mail from the Linux server shell, the mailx module is required. First install the mailx module by usiung the yum installed.</p>
<p>Login in to the server as a root user and follow the following steps one by one</p>
<p><strong>root@server[~]# yum install mailx</strong><script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* Big images */
google_ad_slot = "0185136902";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><script type="text/javascript">// <![CDATA[
     var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script></p>
<p>Once mailx installed on the server, you cna use the following syntax to send an E-mail from the server.</p>
<p><strong>root@server[~]#mail -vv E-mail address</strong></p>
<p>It will ask you for the subject</p>
<p><strong>root@server[~]#mail -vv support@gmail.com</strong><br />
<strong> Subject: test message</strong></p>
<p>Now press control+d, it will give you Cc: option. You can ignore it and press the control+d</p>
<p>It will send an E-mail and show you the following logs.</p>
<p><strong>root@server[~]# mail -vv support@gmail.com</strong><br />
<strong> Subject: test mesgsage</strong><br />
<strong> Cc: supp0rt24x7@gmail&#8230; Connecting to [127.0.0.1] via relay&#8230;</strong><br />
<strong> 220 support.localhost.com ESMTP Sendmail 8.13.8/8.13.8; Sat, 19 Nov 2011 23:47:32 -0500</strong><br />
<strong> &gt;&gt;&gt; EHLO linux7802.localhost.com</strong><br />
<strong> 250-server.localhost.com Hello localhost.localdomain [127.0.0.1], pleased to meet you</strong><br />
<strong> 250-ENHANCEDSTATUSCODES</strong><br />
<strong> 250-PIPELINING</strong><br />
<strong> 250-8BITMIME</strong><br />
<strong> 250-SIZE</strong><br />
<strong> 250-DSN</strong><br />
<strong> 250-ETRN</strong><br />
<strong> 250-DELIVERBY</strong><br />
<strong> 250 HELP</strong><br />
<strong> &gt;&gt;&gt; MAIL From: SIZE=50</strong><br />
<strong> 250 2.1.0 &#8230; Sender ok</strong><br />
<strong> &gt;&gt;&gt; RCPT To:</strong><br />
<strong> &gt;&gt;&gt; DATA</strong><br />
<strong> 250 2.1.5 &#8230; Recipient ok</strong><br />
<strong> 354 Enter mail, end with &#8220;.&#8221; on a line by itself</strong><br />
<strong> &gt;&gt;&gt; .</strong><br />
<strong> 250 2.0.0 pAK4lWqU025615 Message accepted for delivery</strong><br />
<strong> support@gmail&#8230; Sent (pAK4lWqU025615 Message accepted for delivery)</strong><br />
<strong> Closing connection to [127.0.0.1]</strong><br />
<strong> &gt;&gt;&gt; QUIT</strong><br />
<strong> 221 2.0.0 server.localhost.com closing connection</strong></p>
<p>As per above logs E-mail sent to the E-mail address <strong>support@gmail.com</strong> successfully</p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/11/send-an-e-mail-from-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple imap connection script.</title>
		<link>http://www.theperfectarts.com/2011/01/simple-imap-connection-script/</link>
		<comments>http://www.theperfectarts.com/2011/01/simple-imap-connection-script/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 13:34:51 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[imap connection script]]></category>
		<category><![CDATA[imap mail issue]]></category>
		<category><![CDATA[Notice: Unknown: Certificate failure for mail.domain.com: Self-signed certificate]]></category>
		<category><![CDATA[script to check imap mail service connection]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1220</guid>
		<description><![CDATA[We can test IMAP service by using following simple script. &#60;? $mbox = imap_open(&#8220;{mail.loacalhost:143/novalidate-cert}INBOX&#8221;, &#8220;test@test123.com&#8221;, &#8220;1q2w3e&#8221;); print_r(imap_errors()); ?&#62; If you want to force SSL connection only then remove novalidate-cert from above script. &#169;2012 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>We can test IMAP service by using following simple script.<br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<blockquote><p><strong>&lt;?<br />
$mbox = imap_open(&#8220;{mail.loacalhost:143/novalidate-cert}INBOX&#8221;, &#8220;test@test123.com&#8221;, &#8220;1q2w3e&#8221;);<br />
print_r(imap_errors());<br />
?&gt;</strong></p></blockquote>
<p>If you want to force SSL connection only then remove <strong>novalidate-cert </strong>from above script.<strong><strong><br />
</strong></strong></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/01/simple-imap-connection-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Critical: exim security update</title>
		<link>http://www.theperfectarts.com/2010/12/critical-exim-security-update/</link>
		<comments>http://www.theperfectarts.com/2010/12/critical-exim-security-update/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 23:46:34 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[/usr/mscpanel/msswitch.pl inout]]></category>
		<category><![CDATA[Critical: exim security update]]></category>
		<category><![CDATA[exim -d option]]></category>
		<category><![CDATA[exim isue]]></category>
		<category><![CDATA[exim not startimng]]></category>
		<category><![CDATA[exim starting problem]]></category>
		<category><![CDATA[exim: -D is not available in this Exim binary]]></category>
		<category><![CDATA[Starting exim alt spool: exim: -D]]></category>
		<category><![CDATA[vulnerability issue]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1204</guid>
		<description><![CDATA[To resolve exim vulnerability issue exim upgraded to latest version but its throwing following error message aftre restarting exim service. root@server [/tmp]# /etc/init.d/exim restart Shutting down exim:                                        [  OK  ] Shutting down spamd:                                       [FAILED] Starting exim:                                             [  OK  ] Starting exim alt spool: exim: -D is not available in this Exim binary [FAILED] To resolve [...]]]></description>
			<content:encoded><![CDATA[<p>To resolve exim vulnerability issue exim upgraded to latest version but its throwing following error message aftre restarting exim service.</p>
<p><strong>root@server [/tmp]# /etc/init.d/exim restart<br />
Shutting down exim:                                        [  OK  ]<br />
Shutting down spamd:                                       [FAILED]<br />
Starting exim:                                             [  OK  ]<br />
Starting exim alt spool: exim: -D is not available in this Exim binary</strong><strong> [FAILED]</strong><br />
To resolve above error simply run following command from shell.</p>
<p><strong>root@server [/tmp]<strong>#</strong></strong><strong>/usr/mscpanel/msswitch.pl inout</strong></p>
<blockquote></blockquote>
<blockquote></blockquote>
<p><strong><br />
</strong><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* images */
google_ad_slot = "1433358698";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/12/critical-exim-security-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horde Failed to connect to localhost:25 error message</title>
		<link>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/</link>
		<comments>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 06:02:26 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/usr/local/cpanel/base/horde/imp/config]]></category>
		<category><![CDATA[block smtpport 25 port]]></category>
		<category><![CDATA[change SMTP port from 25 to new SMTP port]]></category>
		<category><![CDATA[change smtpport]]></category>
		<category><![CDATA[enable secondary port for exim]]></category>
		<category><![CDATA[exim conf]]></category>
		<category><![CDATA[hoarde config file]]></category>
		<category><![CDATA[Hoarde Failed to connect to localhost:25]]></category>
		<category><![CDATA[hoarde smtpport issue]]></category>
		<category><![CDATA[Hoarde webmail SMTP: Invalid response code received from server (code: 421]]></category>
		<category><![CDATA[Hoarde webmailerror sending your message]]></category>
		<category><![CDATA[how to enable smtpport]]></category>
		<category><![CDATA[open another smtp for Squirrelmail]]></category>
		<category><![CDATA[open another smtp port]]></category>
		<category><![CDATA[response: Too many concurrent SMTP connections; please try again later]]></category>
		<category><![CDATA[servers.php for hoarde]]></category>
		<category><![CDATA[smtpport]]></category>
		<category><![CDATA[Squirrelmail]]></category>
		<category><![CDATA[Squirrelmail error]]></category>
		<category><![CDATA[Squirrelmail issue]]></category>
		<category><![CDATA[Squirrelmail mail issue]]></category>
		<category><![CDATA[Squirrelmail not able to send mail]]></category>
		<category><![CDATA[Squirrelmail port 25 block]]></category>
		<category><![CDATA[what is smtpport]]></category>
		<category><![CDATA[why smtpport 25 connectoin error]]></category>
		<category><![CDATA[why smtpport block]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1111</guid>
		<description><![CDATA[On Shared server as well  as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail. There was an error [...]]]></description>
			<content:encoded><![CDATA[<p>On Shared server as well  as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail.</p>
<blockquote><p><span style="color: #800080;">There was an error sending your message: Failed to connect  to localhost:25 [SMTP: Invalid response code received from server (code: 421,  response: Too many concurrent SMTP connections; please try again  later.)]</span></p></blockquote>
<p>To resolve above error simply change SMTP port from 25 to new SMTP port  in following file.</p>
<p><strong>root@server [/usr/local/cpanel/base/horde/imp/config</strong><strong>]# Pico servers.php</strong></p>
<p><strong>And change following line</strong></p>
<p><strong>From</strong></p>
<p><strong>&#8216;smtpport&#8217; =&gt; 25,</strong></p>
<p><strong>To</strong></p>
<p><strong>&#8216;smtpport&#8217; =&gt; 26,</strong></p>
<p>We have taken new port as 26 for example you can use any port as per your requirement.</p>
<p>Similar problem with<strong> &#8220;Squirrelmail</strong>&#8221; then refer following steps.</p>
<p><strong>root@server [/usr/local/cpanel/base/3rdparty/squirrelmail/config]#pico c</strong><strong>onfig_default.php</strong></p>
<p><strong>Change following line </strong></p>
<p><strong>From</strong></p>
<p><strong>$smtpPort = 25;</strong></p>
<p><strong>To </strong></p>
<p><strong>$smtpPort = 26;</strong></p>
<p>Save file and exit and now open the webmail.</p>
<p><strong><br />
</strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] &#8211; RoundCube</title>
		<link>http://www.theperfectarts.com/2010/06/service-currently-not-available-error-no-0x01f4-roundcube/</link>
		<comments>http://www.theperfectarts.com/2010/06/service-currently-not-available-error-no-0x01f4-roundcube/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 10:48:45 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[FTP / Frontpage / Dreamweaver]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.inc]]></category>
		<category><![CDATA[/usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.inc on line 265]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[clear cache]]></category>
		<category><![CDATA[DB Error: _doQuery: [Error message: Could not execute statement]]]></category>
		<category><![CDATA[roundcube error]]></category>
		<category><![CDATA[roundcube error logs]]></category>
		<category><![CDATA[SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] - RoundCube]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1059</guid>
		<description><![CDATA[Mostly we received following error aftre browsing RoundCube SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] &#8211; RoundCube As well as RoundCube error logs showing following logs [06-Oct-2008 08:34:56 -0400] DB Error: _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE MDB2_STATEMENT_mysql_8c77e0752a8db2da365c3c7a19fe8842c84663aa7 FROM 'INSERT INTO messages\n         (user_id, del, cache_key, created, idx, [...]]]></description>
			<content:encoded><![CDATA[<p>Mostly we received following error aftre browsing RoundCube</p>
<p>SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] &#8211; RoundCube</p>
<p>As well as <a href="http://www.theperfectarts.com/2009/09/how-to-check-roundcube-error-message-on-server/">RoundCube error</a> logs showing following logs</p>
<blockquote><p>[06-Oct-2008 08:34:56 -0400] DB Error: _doQuery: [Error message: Could not execute statement]<br />
[Last executed query: PREPARE MDB2_STATEMENT_mysql_8c77e0752a8db2da365c3c7a19fe8842c84663aa7 FROM 'INSERT INTO messages\n         (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers, structure)\n         VALUES (?, 0, ?, now(), ?, ?, ?, ?, ?, ?, FROM_UNIXTIME(), ?, ?, ?)']<br />
[Native code: 1064]<br />
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), ?, ?, ?)' at line 3]<br />
in /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.inc on line 265<br />
[06-Oct-2008 08:35:20 -0400] DB Error: _doQuery: [Error message: Could not execute statement]<br />
[Last executed query: PREPARE MDB2_STATEMENT_mysql_d6ee872839dbf41a18e11e2f09d1f4d9790e462d7 FROM 'INSERT INTO messages\n         (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers, structure)\n         VALUES (?, 0, ?, now(), ?, ?, ?, ?, ?, ?, FROM_UNIXTIME(), ?, ?, ?)']<br />
[Native code: 1064]<br />
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), ?, ?, ?)' at line 3]<br />
in /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.inc on line 265</p></blockquote>
<p>The error is occur becasue Mysql could not insert the values from UNIXTIME. To avoid this error simply open file</p>
<p>/usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.php and replace following code</p>
<blockquote><p>From</p>
<p>return &#8220;FROM_UNIXTIME($timestamp)&#8221;;</p>
<p>To</p>
<p>return sprintf(&#8220;FROM_UNIXTIME(%d)&#8221;, $timestamp);</p></blockquote>
<p>Now <a href="http://www.theperfectarts.com/2009/08/dns-cache-problem-on-local-machine/">clear cache from your local machine</a> refresh RoundCube error page.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/06/service-currently-not-available-error-no-0x01f4-roundcube/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to set E-mail size in exim?</title>
		<link>http://www.theperfectarts.com/2010/03/how-to-set-e-mail-size-in-exim/</link>
		<comments>http://www.theperfectarts.com/2010/03/how-to-set-e-mail-size-in-exim/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 11:26:42 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Exim configuration]]></category>
		<category><![CDATA[Exim Configuration Editor]]></category>
		<category><![CDATA[message_size_limit]]></category>
		<category><![CDATA[Service Configuration]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=991</guid>
		<description><![CDATA[You can set the E-mail size limit from your WHM. First login into WHM Second select &#8220;Exim Configuration Editor&#8221;  present unde &#8221; Service Configuration&#8221; section. Third scroll down and  click on  &#8220;Advanced Editor&#8221; optoin. You will see  the empty box (remember select first empty box) where you can type  (right underneath where you see #!!# [...]]]></description>
			<content:encoded><![CDATA[<p>You can set the E-mail size limit from your WHM.</p>
<p>First login into WHM<br />
Second select &#8220;Exim Configuration Editor&#8221;  present unde &#8221; Service Configuration&#8221; section.<br />
Third scroll down and  click on  &#8220;Advanced Editor&#8221; optoin.</p>
<p>You will see  the empty box (remember select first empty box) where you can type  (right underneath where you see #!!# cPanel Exim 4 Config), enter in the following:</p>
<p>message_size_limit = 100M</p>
<p>Fourth scroll down to the bottom of that screen and click &#8220;Save&#8221; option.</p>
<p>Exim configuration will be rebuilt with the new option and your Exim will be restarted.<br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/03/how-to-set-e-mail-size-in-exim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horde session issue?</title>
		<link>http://www.theperfectarts.com/2010/01/horde-session-issue/</link>
		<comments>http://www.theperfectarts.com/2010/01/horde-session-issue/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:33:39 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Linux Permissions]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/var/cpanel/userhomes/cpanelhorde]]></category>
		<category><![CDATA[cpanelhorde]]></category>
		<category><![CDATA[horde]]></category>
		<category><![CDATA[Horde session issue]]></category>
		<category><![CDATA[session directory problem]]></category>
		<category><![CDATA[session issue with horde]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=976</guid>
		<description><![CDATA[There is a very common  issue where Horde prevents access to webmail by repeatedly redirecting viewers to Language Selection screen. The following commands, executed as root, will solve these issues: root@server[~]#/usr/local/cpanel/bin/checkperlmodules root@server[~]#/scripts/fullhordereset root@server[~]#myisamchk -r /var/lib/mysql/horde/horde_sessionhandler.MYI If still you have problem then check the ownership for session directory present in /var/cpanel/userhomes/cpanelhorde directory. root@server[~]#ll /var/cpanel/userhomes/cpanelhorde drwx&#8211;x&#8211;x 4 [...]]]></description>
			<content:encoded><![CDATA[<p>There is a very common  issue where Horde prevents access to webmail by repeatedly redirecting viewers to Language Selection screen. The following commands, executed as root, will solve these issues:</p>
<p><span style="color: #800000;">root@server[~]#/usr/local/cpanel/bin/checkperlmodules<br />
root@server[~]#/scripts/fullhordereset<br />
root@server[~]#myisamchk -r /var/lib/mysql/horde/horde_sessionhandler.MYI</span></p>
<p>If still you have problem then check the ownership for session directory present in <span style="color: #800000;">/var/cpanel/userhomes/cpanelhorde</span> directory.</p>
<p><span style="color: #800000;">root@server[~]#ll /var/cpanel/userhomes/cpanelhorde</span></p>
<p><span style="color: #800000;">drwx&#8211;x&#8211;x 4 cpanelhorde cpanelhorde 4096 Jun  5  2009 ./<br />
drwx&#8211;x&#8211;x 7 root        root        4096 Dec 17 01:48 ../<br />
drwxr-x&#8212; 2 cpanelhorde cpanelhorde 4096 Jun  5  2009 mail/<br />
drwx&#8212;&#8212; 2 cpanelhorde cpanelhorde 4096 Jan 27 14:01 sessions/</span><br />
Session directory should be cpanelhorde.cpanelhorde ownership recursively</p>
<p><span style="color: #800000;"><br />
</span><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/01/horde-session-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable local-mail delivery for one  domain name?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-disable-local-mail-delivery-for-one-domain-name/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-disable-local-mail-delivery-for-one-domain-name/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:04:11 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[disable local mail delivery]]></category>
		<category><![CDATA[exim localdomain file]]></category>
		<category><![CDATA[exim remote domain file]]></category>
		<category><![CDATA[external mail server]]></category>
		<category><![CDATA[internal mail server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=435</guid>
		<description><![CDATA[You can disable local-mail delivery for one  domain name from your shell and follow the instructions.. First go to file root@admin[~]#vi /etc/localdomains Then select the domain name give them comment# or remove it and save the file :wq! Second step go to file root@admin[~]#vi /etc/remotedomains and add the domain name we have comment or removed [...]]]></description>
			<content:encoded><![CDATA[<p>You can disable local-mail delivery for one  domain name from your shell and follow the instructions..</p>
<p>First go to file<br />
<strong><span style="color: #800000;">root@admin[~]#vi /etc/localdomains</span></strong><br />
Then select the domain name give them comment# or remove it and save the file<br />
:wq!</p>
<p>Second step go to file<br />
<strong><span style="color: #800000;">root@admin[~]#vi /etc/remotedomains</span></strong><br />
and add the domain name we have comment or removed in the above file<br />
:wq!</p>
<p>Basically when ever we use external mail server at that time we need to remove domains entry from<span style="color: #000000;"><span style="color: #800000;"> /etc/localdomains</span> file and add it in </span><span style="color: #800000;"><span style="color: #000000;"><span style="color: #800000;">/etc/remotedomains</span> file</span><br />
</span></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-disable-local-mail-delivery-for-one-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable html display for horde?</title>
		<link>http://www.theperfectarts.com/2009/11/enable-html-display-for-horde/</link>
		<comments>http://www.theperfectarts.com/2009/11/enable-html-display-for-horde/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 00:21:54 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Enable html display for horde]]></category>
		<category><![CDATA[hoarde heml display issue]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=429</guid>
		<description><![CDATA[You can enable the html display for horde by using following steps but please make sure that you have been logged in as root. root@admin[~]# vi /usr/local/cpanel/base/horde/imp/config/mime_drivers.php Search for the line &#8212;- /** * HTML driver settings */ $mime_drivers['imp']['html']['inline'] = false; &#8212;&#8211; and replace it with &#8212;&#8212;&#8211; /** * HTML driver settings */ $mime_drivers['imp']['html']['inline'] = [...]]]></description>
			<content:encoded><![CDATA[<p>You can enable the html display for horde by using following steps but please make sure that you have been logged in as root.</p>
<p><strong><span style="color: #800000;">root@admin[~]# vi /usr/local/cpanel/base/horde/imp/config/mime_drivers.php</span></strong></p>
<p>Search for the line<br />
&#8212;-<br />
<span style="color: #800000;">/**<br />
* HTML driver settings<br />
*/<br />
$mime_drivers['imp']['html']['inline'] = false;</span><br />
&#8212;&#8211;</p>
<p>and replace it with</p>
<p><strong>&#8212;&#8212;&#8211;</strong><br />
<strong> <span style="color: #800000;">/**<br />
* HTML driver settings<br />
*/<br />
$mime_drivers['imp']['html']['inline'] = true;</span></strong><br />
<strong> &#8212;&#8212;&#8211;</strong><br />
Save the changes and restart the following services.<br />
<strong><span style="color: #800000;">root@admin[~]#</span><span style="color: #800000;">service cpanel restart</span></strong><br />
<strong> <span style="color: #800000;">root@admin[~]#</span><span style="color: #800000;">/scripts/restartsrv_courier</span></strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/enable-html-display-for-horde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mails are not downloading in outlook?</title>
		<link>http://www.theperfectarts.com/2009/11/mails-are-not-downloading-in-outlook/</link>
		<comments>http://www.theperfectarts.com/2009/11/mails-are-not-downloading-in-outlook/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 02:08:12 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[mail downloading issue]]></category>
		<category><![CDATA[mail issue]]></category>
		<category><![CDATA[mail problem in outlook]]></category>
		<category><![CDATA[mails are not downloading in outlook]]></category>
		<category><![CDATA[outlook dowload issue]]></category>
		<category><![CDATA[outlook issue]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=407</guid>
		<description><![CDATA[Mails are not downloading in outlook but present on server in Inbox.In that case after looking into mail logs we are getting this error message: &#8220;scancur opendir(&#8220;cur&#8221;): No such file or directory&#8221; To resolve this issue follow the steps service chkservd stop service courier-authlib stop service courier-imap stop Open up /var/cpanel/cpanel.config and set maildir=0 ( [...]]]></description>
			<content:encoded><![CDATA[<p>Mails are not downloading in outlook but present on server in Inbox.In that case after looking into mail logs we are getting this error message:</p>
<p>&#8220;scancur opendir(&#8220;cur&#8221;): No such file or directory&#8221;</p>
<p>To resolve this issue follow the steps</p>
<p><span style="color: #800000;">service chkservd stop<br />
service courier-authlib stop<br />
service courier-imap stop</span></p>
<p>Open up <span style="color: #800000;">/var/cpanel/cpanel.config</span> and set <span style="color: #800000;">maildir=0</span> ( if there&#8217;s no entry there, just add in )</p>
<p>Following, run the following command in sequence:</p>
<p><span style="color: #800000;">/scripts/eximup &#8211;force</span><br />
<span style="color: #800000;">service cpanel restart<br />
service xinetd restart<br />
service courier-authlib restart<br />
service courier-imap restart<br />
service chkservd start</span><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/mails-are-not-downloading-in-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

