<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>soumya.co.nr</title>
	<atom:link href="http://soumyarprabhu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://soumyarprabhu.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 20 Jul 2008 04:16:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='soumyarprabhu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>soumya.co.nr</title>
		<link>http://soumyarprabhu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://soumyarprabhu.wordpress.com/osd.xml" title="soumya.co.nr" />
	<atom:link rel='hub' href='http://soumyarprabhu.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing spamassassin in webmin</title>
		<link>http://soumyarprabhu.wordpress.com/2008/07/20/installing-spamassassin-in-webmin/</link>
		<comments>http://soumyarprabhu.wordpress.com/2008/07/20/installing-spamassassin-in-webmin/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 03:54:42 +0000</pubDate>
		<dc:creator>soumyarprabhu</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[webmin]]></category>

		<guid isPermaLink="false">http://soumyarprabhu.wordpress.com/?p=31</guid>
		<description><![CDATA[I tried installing spamassassin in webmin as follows : Step 1 : Webmin &#62;&#62; Others &#62;&#62; Perl Modules &#62;&#62; Install This gave error to me . Several perl modules were missing. Then, I installed the perl modules that were given in error message as missing, as follows : Step 2: perl -MCPAN -e shell Give [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=31&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I tried installing spamassassin in webmin as follows :</p>
<pre>Step 1 : Webmin &gt;&gt; Others &gt;&gt; Perl Modules &gt;&gt; Install <span id="more-31"></span></pre>
<p>This gave error to me . Several perl modules were missing. Then, I installed the perl modules that were given in error message as missing, as follows :</p>
<pre>Step 2:  perl -MCPAN -e shell</pre>
<p>Give &#8216;no&#8217; if you are prompted with any question. You should get the following prompt.</p>
<pre>cpan&gt;</pre>
<p>Then, install the perl modules that are missing.</p>
<pre>cpan&gt;install HTML::Parser
cpan&gt;install DB_File
cpan&gt;install Net::DNS
..etc</pre>
<p>If perl module installation has completed successfully you will get something like this :</p>
<pre>/usr/bin/make install -- OK</pre>
<p>After installing these modules you can either install spamassassin using perl module or using webmin.</p>
<p>Steps 3:</p>
<p>If perl module, give</p>
<pre>cpan&gt;Mail::SpamAssassin</pre>
<p>For installing using webmin follow step1.</p>
<p>Step 4 :</p>
<p>Create .procmailrc file in the user&#8217;s home directory. There are lots of sample .procmailrc files.</p>
<p>Some of them.</p>
<pre>1. http://www.math.uiuc.edu/~hildebr/computer/procmail.sample2
2. http://www.hccfl.edu/pollock/AUnix1/dot.procmailrc</pre>
<p>Now, Spamassassin is ready to filter spams.</p>
<p>Test by sending spam and non spam mails to the domain. It should work fine.:)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/soumyarprabhu.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/soumyarprabhu.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soumyarprabhu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soumyarprabhu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soumyarprabhu.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=31&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://soumyarprabhu.wordpress.com/2008/07/20/installing-spamassassin-in-webmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b76c7b9af53199edc1608c0a5e7761ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">soumyarprabhu</media:title>
		</media:content>
	</item>
		<item>
		<title>Some issues that we come across &#8211; III</title>
		<link>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-iii/</link>
		<comments>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-iii/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 03:40:08 +0000</pubDate>
		<dc:creator>soumyarprabhu</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[awstats]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[webmail]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://soumyarprabhu.wordpress.com/?p=25</guid>
		<description><![CDATA[Setting message size in webmail Message size limit is usually not specified in exim. Its by default 50M. You can set message size limit to, say 60M, in /etc/exim.conf as message_size_limit = 60M This may not work when sending mail using webmail. Then, you need to set message size for webmail too. In webmail, by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=25&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 class="firstHeading">Setting message size in webmail</h1>
<p>Message size limit is usually not specified in exim. Its by default 50M.</p>
<p>You can set message size limit to, say 60M, in /etc/exim.conf as</p>
<pre>message_size_limit = 60M</pre>
<p>This may not work when sending mail using webmail. Then, you need to set message size for webmail too.</p>
<p>In webmail, by default message size limit is 2M. You can set it to, say 60M, in /usr/local/cpanel/etc/neomail.conf as</p>
<pre>$attlimit = 60;</pre>
<p>That&#8217;s it. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <span id="more-25"></span></p>
<hr />
<h1 class="firstHeading">Sharing drives using Remote Desktop Connection</h1>
<p>To access drives of another server using Remote Desktop Connection do the following :</p>
<pre>1. Click Start &gt;&gt; All Programs &gt;&gt; Accessories &gt;&gt; Communications &gt;&gt; Remote Desktop Connection
2. Enter the IP of the server to which you want to have connection in the box near 'Computer'.
3. Options &gt;&gt; Local Resources tab
4. Under 'Local Devices' click 'Disk Drives' &gt;&gt; Connect 

5. Click 'Ok' if you get the warning prompt.</pre>
<p>When you click connect all the information is stored in a file Default.rdp.</p>
<p>In this way you can transfer files very easily from one server to another server as you are doing in a single server.</p>
<p>Just Copy, then Paste.</p>
<hr />
<h1 class="firstHeading">Unique visits in stats</h1>
<p>The statistics softwares like Awstats and Google Analytics show &#8220;unique visits&#8221;. What is this unique visit ?</p>
<p>In an absolute sense, you could define a &#8220;unique&#8221; as a visit to the site (and nothing more) that never occurred before.</p>
<p>The part &#8220;that never occurred before&#8221; would present some concern for the analysis because it would need to have a history of previous visits to reference. Something that could be impractical from a storage perspective. The other problem is how you would clearly identify a &#8220;unique&#8221;, except by way of a cookie which is in itself problematical considering that cookies can be turned off or eradicated before subsequent visits.</p>
<p>Awstats measures &#8220;unique&#8221; visit as : A unique visitor is a host that has made at least 1 hit on 1 page of your web site during the current period shown by the report. If this host make several visits during this period, it is counted only once.</p>
<p>Google Analytics tracks it a different way. In Analytics,the &#8220;initial session by a user during any given date range is considered to be a unique visit&#8221;. Any additional visits during the selected time period are counted as visits, but not as unique visits.</p>
<hr />
<h1 class="firstHeading">Php error</h1>
<p>You may get the error that is given below while accessing a php page.</p>
<pre>Warning: require() [function.require]: URL file-access is disabled in the server configuration in /home/username/public_html/index.php on line 6

Warning: require(http://www.domain.com/includes/header.php) [function.require]: failed to open stream: no suitable wrapper could be found in /home/username/public_html/index.php on line 6

Fatal error: require() [function.require]: Failed opening required 'http://www.domain.com/includes/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/index.php on line 6</pre>
<p>Create a php.ini file in all the directories of the domain with following lines:</p>
<pre>allow_url_include = On

allow_url_fopen = On</pre>
<p>Otherwise, set it globally in the server.</p>
<p>Thats it. This should work.</p>
<hr />
<h1 class="firstHeading">Unable to login to PhpMyAdmin</h1>
<p>If you are not able to login to PhpMyAdmin using root or user&#8217;s login details you can try doing these options :</p>
<p>1. Give privileges to &#8216;root&#8217; user in mysql.</p>
<pre>mysql --user=root mysql -p
mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;
mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;</pre>
<p>2. Give privileges to customer&#8217;s &#8216;username&#8217; in mysql.</p>
<pre>mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;
mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;</pre>
<p>3. If both do not allow you to login in PhpMyadmin, check the conf file of phpMyadmin, /var/www/html/phpMyAdmin/config.inc.php. Check the line</p>
<pre>$cfg['Servers'][$i]['user']            = 'phpmyadminusername';
$cfg['Servers'][$i]['password']        = 'xxxxx';</pre>
<p>Give privileges to &#8216;phpmyadminusername&#8217; in mysql.</p>
<pre>mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'phpmyadminusername'@'localhost' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;
mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'phpmyadminusername'@'%' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;</pre>
<p>This should work. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/soumyarprabhu.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/soumyarprabhu.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soumyarprabhu.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soumyarprabhu.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soumyarprabhu.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=25&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b76c7b9af53199edc1608c0a5e7761ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">soumyarprabhu</media:title>
		</media:content>
	</item>
		<item>
		<title>Some issues that we come across &#8211; II</title>
		<link>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-ii/</link>
		<comments>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-ii/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 03:22:49 +0000</pubDate>
		<dc:creator>soumyarprabhu</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[autoresponder]]></category>
		<category><![CDATA[bounce parser]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[inbox]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[protect]]></category>
		<category><![CDATA[sendusing]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[webmin]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://soumyarprabhu.wordpress.com/?p=19</guid>
		<description><![CDATA[Error : The &#8220;SendUsing&#8221; configuration value is invalid. If you get the following error in ASP.net : The "SendUsing" configuration value is invalid. Check if the following line is present in the script for sending mail. If not added it. SmtpMail.SmtpServer = "mail.youdomain.com" Here, &#8220;mail.youdomain.com&#8221; is the mail server. If this does not work, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=19&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 class="firstHeading">Error : The &#8220;SendUsing&#8221; configuration value is invalid.</h1>
<p>If you get the following error in ASP.net :</p>
<pre>The "SendUsing" configuration value is invalid.</pre>
<p>Check if the following line is present in the script for sending mail. If not added it.</p>
<pre>SmtpMail.SmtpServer = "mail.youdomain.com"</pre>
<p>Here, &#8220;mail.youdomain.com&#8221; is the mail server. If this does not work, you can try using mail server IP.</p>
<p>It should work. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-19"></span></p>
<hr />
<h1 class="firstHeading">Inbox locked error</h1>
<p>You get inbox locked error when there is inbox.lock file in the mailbox.</p>
<p>Inbox get locked when :</p>
<p>1. Accessing webmail at the same time a pop3 mail client is accessing email.</p>
<p>2. Accessing email from a mail client at intervals less than 3 minutes.</p>
<p>Remove the inbox.lock file and do not check mails at intervals less than 3 minutes.</p>
<hr />
<h1 class="firstHeading">Installing BounceParser</h1>
<p>BounceParser is used to accept a message and then it will generate a report, whether the message is bounce  message. The report will contain the reason for bouncing the message.</p>
<p>BounceParser or Mail::DeliveryStatus::BounceParser can be installed as</p>
<pre>perl -MCPAN -e 'install Mail::DeliveryStatus::BounceParser'</pre>
<p>Thats all. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />
<h1 class="firstHeading">Wget for password protected directories</h1>
<p>When we download images or some files from password protected directories (using .htaccess,etc) using &#8216;wget&#8217;, we may get &#8216;Authorization failed&#8217; error.</p>
<p>One example is given below :</p>
<pre>#wget http://example.com/images/img.jpg
--00:36:34--  http://example.com/images/img.jpg
           =&gt; `img.jpg'
Resolving example.com... x.x.x.x
Connecting to example.com|x.x.x.x|:80... connected.
HTTP request sent, awaiting response... 401 Authorization Required

Authorization failed.</pre>
<p>In such cases, what we can do is, use user authentication in &#8216;wget&#8217;.</p>
<pre>#wget --http-user=username --http-passwd=password http://example.com/images/img.jpg</pre>
<p>This way we can download the file easily.</p>
<hr />
<h1 class="firstHeading">Modifying Autoresponder in Webmin</h1>
<p>Autoresponder in Webmin replies with Subject as : &#8216;Autoreply to &lt;subject of the mail that you used&gt;&#8217;.</p>
<p>To remove &#8220;Autoreply to&#8221; you can do the following.</p>
<p>1. vi /etc/webmin/virtual-server/autoreply.pl</p>
<p>2. Find the line</p>
<pre>$rheader{'Subject'} = "Autoreply to $header{'subject'}";</pre>
<p>3. Replace it by</p>
<pre>$rheader{'Subject'} = "$header{'subject'}";</pre>
<p>Yes, thats all.</p>
<p>Now, the autoreply will not have the word &#8220;Autoreply to&#8221;. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />
<h1 class="firstHeading">Address already in use: make sock: could not bind to</h1>
<h1 class="firstHeading">address 0.0.0.0:443 no listening sockets available.</h1>
<p>I got the following error while restarting httpd</p>
<pre># service httpd restart
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs!</pre>
<p>Check which all processes are listening to port 80 or 443. You can use the following commands.</p>
<pre>1. netstat -lnp | grep '0.0.0.0:80'

2. lsof | grep *:www

3. lsof -i:443

4. fuser -v 443/tcp

5. netstat -tulpen | grep :443</pre>
<p>You can kill those processes and then restart httpd. This usually solves the problem.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/soumyarprabhu.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/soumyarprabhu.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soumyarprabhu.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soumyarprabhu.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soumyarprabhu.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=19&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b76c7b9af53199edc1608c0a5e7761ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">soumyarprabhu</media:title>
		</media:content>
	</item>
		<item>
		<title>Some issues that we come across</title>
		<link>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across/</link>
		<comments>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 03:01:28 +0000</pubDate>
		<dc:creator>soumyarprabhu</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[mantis]]></category>
		<category><![CDATA[runweblogs]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[squirellmail]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://soumyarprabhu.wordpress.com/?p=11</guid>
		<description><![CDATA[Error in Mantis Error in Mantis during account signup : Page redirection error, ensure that there are no spaces outside the PHP block (&#60;?php ?&#62;) in config_inc.php or custom_*.php files. Comment the line : trigger_error( ERROR_PAGE_REDIRECTION, ERROR ); found on line 53 in core/print_api.php in mantis&#8217; directory. Thats it. Executing /scripts/runweblogs for all users Just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=11&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 class="firstHeading">Error in Mantis</h1>
<p>Error in Mantis during account signup :</p>
<pre>Page redirection error, ensure that there are no spaces outside the PHP block (&lt;?php ?&gt;) in config_inc.php or custom_*.php files.</pre>
<p>Comment the line :</p>
<pre>trigger_error( ERROR_PAGE_REDIRECTION, ERROR );</pre>
<p>found on line 53 in core/print_api.php in mantis&#8217; directory.</p>
<p>Thats it.<span id="more-11"></span></p>
<hr />
<h1 class="firstHeading">Executing /scripts/runweblogs for all users</h1>
<p>Just do this to execute runweblogs  for all users <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>for i in `ls /var/cpanel/users`;do /scripts/runweblogs $i;done</pre>
<hr />
<h1 class="firstHeading">Changing Web.config to see the error</h1>
<p>Error in ASP.net will not be shown properly, unless we turn off the mode in Web.config found in the webroot of the domain.</p>
<p>Change the line</p>
<pre>&lt;customErrors
 mode="RemoteOnly"
/&gt;</pre>
<p>as</p>
<pre>&lt;customErrors
 mode="Off"

/&gt;</pre>
<hr />
<h1 class="firstHeading">Error : At least one of the From or Sender fields is required, and neither was found.</h1>
<p>The error</p>
<pre>At least one of the From or Sender fields is required, and neither was found.</pre>
<p>occurs when the &#8220;From&#8221; field for email in the ASP.net script does not get the value.</p>
<p>Make sure to make the From text box for email in the form a mandatory field.</p>
<p>Thats it.</p>
<hr />
<h1 class="firstHeading">Error while sending mail using squirellmail</h1>
<p>Error while sending mail using squirellmail.</p>
<pre>Server replied: 1 Can't execute command '/usr/local/cpanel/bin/sendmail_cpanel -i -t -fmail@domain.com'.</pre>
<p>Just check whether the /var partition in the server is 100%. If it is, reduce it.</p>
<p>Then, try to send mail again using squirellmail. Now, it should be working fine. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />
<h1 class="firstHeading">Enabling smtp authentication</h1>
<p>SMTP authentication allows you to send email through servers no matter where and how you are connected to the Internet. SMTP authentication allows you to simply send without requiring you to constantly check your email.</p>
<p>You can enable smtp authentication in MacOS10.1 Mail as follows:</p>
<pre>1. Click Mac mail &gt;&gt; Mail &gt;&gt; Preferences &gt;&gt; the email account &gt;&gt; Edit &gt;&gt; Account Information tab &gt;&gt; tick "Use authentication when sending mail".

2. Enter username and password &gt;&gt; Ok

3. Close the mail preferences window.</pre>
<hr />
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/soumyarprabhu.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/soumyarprabhu.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soumyarprabhu.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soumyarprabhu.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soumyarprabhu.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soumyarprabhu.wordpress.com&amp;blog=1209283&amp;post=11&amp;subd=soumyarprabhu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://soumyarprabhu.wordpress.com/2008/07/20/some-issues-that-we-come-across/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b76c7b9af53199edc1608c0a5e7761ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">soumyarprabhu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
