<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>devhen.wordpress.com</title>
	<atom:link href="http://devhen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://devhen.wordpress.com</link>
	<description>Linux, Open Source, CentOS, Fedora, Freedom...</description>
	<pubDate>Thu, 24 Jan 2008 18:41:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>How To Setup a Vacation Autoresponder with Procmail + Sendmail</title>
		<link>http://devhen.wordpress.com/2008/01/08/how-to-setup-a-vacation-autoresponder-with-procmail-sendmail/</link>
		<comments>http://devhen.wordpress.com/2008/01/08/how-to-setup-a-vacation-autoresponder-with-procmail-sendmail/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 06:09:36 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2008/01/08/how-to-setup-a-vacation-autoresponder-with-procmail-sendmail/</guid>
		<description><![CDATA[The problem with vacation auto responders like &#8216;vacation&#8217; for sendmail is that spammers often fake the From: address. Auto responding to these addresses can get your mail server blacklisted. To avoid this you can setup your autoresponder with procmail and, if you are running a spam filter on your machine, you can tell procmail to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The problem with vacation auto responders like &#8216;vacation&#8217; for sendmail is that spammers often fake the From: address. Auto responding to these addresses can get your mail server blacklisted. To avoid this you can setup your autoresponder with procmail and, if you are running a spam filter on your machine, you can tell procmail to auto respond only if the X Spam Status header is &#8216;No.&#8217; To accomplish this copy the following into ~/.procmailrc in the home directory of the user you want auto responses for. Make sure to make any neccessary changes to MAILDIR, SENDMAIL and the three instances of &#8216;you@yourdomain.com&#8217;:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>VERBOSE=off<br />
LOGFILE=$HOME/procmail.log<br />
MAILDIR=$HOME/mail<br />
SENDMAIL=/usr/sbin/sendmail<br />
#########################################<br />
# Auto-responder for vacations. Please<br />
# insert text in $MAILDIR/message.txt<br />
#########################################<br />
:0 ic<br />
*!^FROM_DAEMON<br />
*!^X-Loop: you@yourdomain.com<br />
* ^X-Spam-Status: No<br />
|(formail -r -A &#8220;Precedence: Auto&#8221; \<br />
- -I&#8221;From: Testy &lt;you@yourdomain.com&gt;&#8221; \<br />
- -I&#8221;Subject: Automated acknowledgement&#8221; \<br />
- -A &#8220;X-Loop: you@yourdomain.com&#8221;; \<br />
cat message.txt )| $SENDMAIL -t</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Now put your auto response message in ~/mail/message.txt .  Don&#8217;t forget to turn off the autoresponder when you return:</p>
<p>mv ~/.procmailrc ~/procmailrc_backup</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/112/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/112/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=112&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2008/01/08/how-to-setup-a-vacation-autoresponder-with-procmail-sendmail/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>No Mouse Pointer on CentOS 5</title>
		<link>http://devhen.wordpress.com/2007/05/01/no-mouse-pointer-on-centos-5/</link>
		<comments>http://devhen.wordpress.com/2007/05/01/no-mouse-pointer-on-centos-5/#comments</comments>
		<pubDate>Tue, 01 May 2007 23:52:03 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2007/05/01/no-mouse-pointer-on-centos-5/</guid>
		<description><![CDATA[There is a bug with numerous NVidia graphics chips that causes the mouse pointer to be invisible in GNOME and GDM (possibly also KDE, I haven&#8217;t tried it). I discovered this bug on a fresh install of CentOS 5 but its possible that the issue also applies to CentOS 4 as well as Fedora releases. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a bug with numerous NVidia graphics chips that causes the mouse pointer to be invisible in GNOME and GDM (possibly also KDE, I haven&#8217;t tried it). I discovered this bug on a fresh install of CentOS 5 but its possible that the issue also applies to CentOS 4 as well as Fedora releases. The fix is relatively easy and solved the problem for me on an nForce motherboard with a built-in GeForce 6100 video card. Edit your xorg.conf file and add the line <font color="red">Option &quot;HWCursor&quot; &quot;off&quot;</font> to your videocard device section so that it looks something like this:</p>
<p><img src="http://devhen.files.wordpress.com/2007/05/no-mouse-pointer.gif" alt="Fix for no mouse pointer" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/110/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/110/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=110&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2007/05/01/no-mouse-pointer-on-centos-5/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>

		<media:content url="http://devhen.files.wordpress.com/2007/05/no-mouse-pointer.gif" medium="image">
			<media:title type="html">Fix for no mouse pointer</media:title>
		</media:content>
	</item>
		<item>
		<title>Clearlooks on CentOS 4</title>
		<link>http://devhen.wordpress.com/2007/03/05/clearlooks-on-centos-4/</link>
		<comments>http://devhen.wordpress.com/2007/03/05/clearlooks-on-centos-4/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 05:50:42 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2007/03/05/clearlooks-on-centos-4/</guid>
		<description><![CDATA[The ever-popular, ever-slick Clearlooks GNOME theme is just minutes away for you CentOS users. Its available via the kbs-CentOS-Extras repo. Download this file and pop it into /etc/yum.repos.d/. Then do
yum install gnome-theme-clearlooks gnome-theme-clearlooks-bigpack
If you&#8217;d rather not enable the kbs-CentOS-Extras repo system-wide you can download the packages and install them manually. Get them here and here.
You [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The ever-popular, ever-slick <a href="http://clearlooks.sourceforge.net/" target="_blank">Clearlooks GNOME theme</a> is just minutes away for you CentOS users. Its available via the <a href="http://centos.karan.org/" target="_blank">kbs-CentOS-Extras</a> repo. Download <a href="http://centos.karan.org/kbsingh-CentOS-Extras.repo" target="_blank">this file</a> and pop it into /etc/yum.repos.d/. Then do</p>
<p><span style="font-family:monospace;">yum install gnome-theme-clearlooks gnome-theme-clearlooks-bigpack</span></p>
<p>If you&#8217;d rather not enable the kbs-CentOS-Extras repo system-wide you can download the packages and install them manually. Get them <a href="http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/gnome-theme-clearlooks-0-0.6.2-1.html" target="_blank">here</a> and <a href="http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/gnome-theme-clearlooks-bigpack-0-0.5-1.fc3.html" target="_blank">here</a>.</p>
<p>You can also install some other GNOME themes with</p>
<p><span style="font-family:monospace;">yum install gnome-themes-extras</span></p>
<p>or get the package <a href="http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/gnome-themes-extras-0-0.8.0-2.html" target="_blank">here</a>.</p>
<p>Now you can install other Clearlooks-based themes like <a href="http://art.gnome.org/search.php?search_text=gilouche&amp;search_type=all" target="_blank">Gilouche</a> as well.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/109/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/109/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=109&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2007/03/05/clearlooks-on-centos-4/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Run Internet Explorer on Linux</title>
		<link>http://devhen.wordpress.com/2007/01/08/howto-run-internet-explorer-on-linux/</link>
		<comments>http://devhen.wordpress.com/2007/01/08/howto-run-internet-explorer-on-linux/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 00:06:53 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2007/01/08/howto-run-internet-explorer-on-linux/</guid>
		<description><![CDATA[The IEs4Linux project makes installing and running Internet Explorer on Linux a cinch. Just follow these simple instructions. Their script will download and install IE6 and, optionally, IE5 and IE5.5 as well. Everything is automated and extremely easy. You can also install Internet Explorer 7 by following these instructions. I was able to get all [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The <a href="http://www.tatanka.com.br/ies4linux/page/Main_Page">IEs4Linux project</a> makes installing and running Internet Explorer on Linux a cinch. Just follow <a href="http://www.tatanka.com.br/ies4linux/page/Installation">these simple instructions</a>. Their script will download and install IE6 and, optionally, IE5 and IE5.5 as well. Everything is automated and extremely easy. You can also install Internet Explorer 7 by following <a href="http://webexpose.org/2007/01/07/internet-explorer-7-on-linux/">these instructions</a>. I was able to get all four versions of IE running on both my CentOS and Fedora machines in no time. There are <a href="http://www.tatanka.com.br/ies4linux/page/Installation">non distro-specific instructions</a> as well as instructions for the <a href="http://www.tatanka.com.br/ies4linux/page/Installation:Ubuntu">Ubuntu/Xubuntu/Kubuntu</a>, <a href="http://www.tatanka.com.br/ies4linux/page/Installation:Fedora">Fedora</a>, <a href="http://www.tatanka.com.br/ies4linux/page/Installation:Gentoo">Gentoo</a> and <a href="http://www.tatanka.com.br/ies4linux/page/Installation:Debian">Debian</a> distributions. Basically, if you&#8217;re running Linux with <a href="http://www.winehq.org/">Wine</a> and cabextract installed you&#8217;re good to go. Many thanks to the <a href="http://www.tatanka.com.br/ies4linux/page/Main_Page">IEs4Linux project</a> for making this so easy for us. We should all seriously consider <a href="http://www.tatanka.com.br/ies4linux/page/Contribute">donating to the project</a>. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/101/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/101/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=101&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2007/01/08/howto-run-internet-explorer-on-linux/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Install Firefox 2.0 on Fedora Core 6</title>
		<link>http://devhen.wordpress.com/2006/12/18/install-firefox-20-on-fedora-core-6/</link>
		<comments>http://devhen.wordpress.com/2006/12/18/install-firefox-20-on-fedora-core-6/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 22:19:10 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2006/12/18/install-firefox-20-on-fedora-core-6/</guid>
		<description><![CDATA[UPDATED: Mar-21-2007
Due to the popularity of this post I&#8217;ve decided to include instructions for all three of the most popular methods for installing Firefox 2 on Fedora Core 6. Read through the three options to decide which works best for you.
Option 1: Via yum with the &#8216;development&#8217; repo
This command will allow you to upgrade to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATED: Mar-21-2007</strong></p>
<p>Due to the popularity of this post I&#8217;ve decided to include instructions for all three of the most popular methods for installing Firefox 2 on Fedora Core 6. Read through the three options to decide which works best for you.</p>
<p><strong>Option 1: Via yum with the &#8216;development&#8217; repo</strong></p>
<p>This command will allow you to upgrade to Firefox 2 via the Fedora Development repo. This is the most commonly recommended option.</p>
<p><strong>Instructions (as root):</strong></p>
<p><code># yum --enablerepo=development update firefox</code></p>
<p><strong>Pros:</strong> Uses &#8220;official&#8221; Fedora packages</p>
<p><strong>Cons:</strong> Doesn&#8217;t include the (optional)  bonuses of option 2</p>
<p><strong>Option 2: Via yum with the &#8216;remi&#8217; repo</strong></p>
<p><a href="http://remi.collet.free.fr/index.php" target="_blank" title="Remi Collet">Remi Collet</a>, an &#8220;official&#8221; Fedora developer, has made available a repo of packages that provides Firefox 2. The repo updates Firefox and those packages that depend on it and also contains a few bonuses such as an updated <a href="http://www.xchat.org/" title="XChat IRC Client" target="_blank">XChat</a> package (version 2.8).</p>
<p><strong>Instructions (as root):</strong></p>
<p><code># rpm -Uvh http://remi.collet.free.fr/rpms/fc6.i386/remi-release-1-2.fc6.remi.noarch.rpm</code></p>
<p>Now make sure that in your /etc/yum.repos.d/remi.repo file you&#8217;ve got enabled=1 and then:</p>
<p><code># yum update</code></p>
<p><strong>Pros:</strong> All required packages as well as some extra goodies; new versions of Firefox are automatically installed with yum update</p>
<p><strong>Cons:</strong> Not &#8220;official&#8221; Fedora packages&#8211;bugs should not be submitted to the Fedora project</p>
<p><strong>Option 3: Via firefox-2.*.tar.gz from Mozilla.com</strong></p>
<p>I always recommend using RPM packages on Fedora, if possible. However, if you&#8217;d like to install Firefox 2 using firefox-2.*.tar.gz from <a href="http://www.mozilla.com" title="Mozilla Foundation" target="_blank">Mozilla.com</a> use this option. One benefit of this option is that Firefox 1.5 remains on your machine so have a choice as to which version to run.</p>
<p><strong>Instructions (as root):</strong></p>
<p>Download firefox-*.tar.gz from <a href="http://www.mozilla.com" title="Mozilla Foundation" target="_blank">Mozilla.com</a>.</p>
<p><code># mv firefox-2.*.tar.gz /usr/local/<br />
# cd /usr/local<br />
# tar xvfz firefox-2.*.tar.gz<br />
# mv /usr/bin/firefox /usr/bin/firefox15<br />
# ln -s /usr/local/firefox/firefox /usr/bin/firefox</code></p>
<p>Firefox 2 will now be your default browser. To run version 1.5 use the command firefox15. I don&#8217;t recommend running both versions concurrently because they will be using the same profile which might cause problems.</p>
<p><strong>Pros:</strong> Firefox 2 co-exists with version 1.5</p>
<p><strong>Cons:</strong> Installation isn&#8217;t as straightforward; must be repeated for future releases of Firefox 2</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/100/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/100/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=100&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/12/18/install-firefox-20-on-fedora-core-6/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows: spoolsv.exe Using 99% CPU</title>
		<link>http://devhen.wordpress.com/2006/12/18/windows-spoolsvexe-using-99-cpu/</link>
		<comments>http://devhen.wordpress.com/2006/12/18/windows-spoolsvexe-using-99-cpu/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 22:10:53 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2006/12/18/windows-spoolsvexe-using-99-cpu/</guid>
		<description><![CDATA[I don&#8217;t find myself interested in Windows very often, or any proprietary operating system for that matter, but I ran into this problem on one of the computers in our office and thought I would share the solution. If you come across the problem of spoolsv.exe using 99% CPU usage, never fear. There is a [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I don&#8217;t find myself interested in Windows very often, or any proprietary operating system for that matter, but I ran into this problem on one of the computers in our office and thought I would share the solution. If you come across the problem of <a href="http://torque.oncloud8.com/archives/000384.html">spoolsv.exe using 99% CPU usage</a>, never fear. There is a solution. And its a rather easy one. <a href="http://torque.oncloud8.com/archives/000384.html">Click here for the fix</a>. Thanks to Tim for his journal entry pointing this out.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/99/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/99/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=99&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/12/18/windows-spoolsvexe-using-99-cpu/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Copy Linux Filesystems</title>
		<link>http://devhen.wordpress.com/2006/06/08/howto-copy-linux-filesystems/</link>
		<comments>http://devhen.wordpress.com/2006/06/08/howto-copy-linux-filesystems/#comments</comments>
		<pubDate>Thu, 08 Jun 2006 21:05:41 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">https://devhen.wordpress.com/2006/06/08/howto-copy-linux-filesystems/</guid>
		<description><![CDATA[I recently added a hard drive to one of my Linux systems and while searching for the best way to copy my old /home filesystem to the new drive I came upon this command:
/sbin/dump 0f - /home &#124; ( cd /new ; /sbin/restore rf - )
Here my new hard drive is mounted on /new and [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently added a hard drive to one of my Linux systems and while searching for the best way to copy my old <tt>/home</tt> filesystem to the new drive I came upon this command:</p>
<p><SPAN STYLE="font-family: monospace">/sbin/dump 0f - /home | ( cd /new ; /sbin/restore rf - )</span></p>
<p>Here my new hard drive is mounted on <tt>/new</tt> and I&#8217;m copying the entire filesystem from <tt>/home</tt> to <tt>/new</tt>. On my system (<a href="http://www.centos.org">CentOS 4</a>) the <tt>dump</tt> and <tt>restore</tt> commands are in <tt>/sbin/</tt> but other distros may not be consistent so you&#8217;ll want to make changes to the command as needed.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/97/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/97/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=97&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/06/08/howto-copy-linux-filesystems/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Install fuse + sshfs on CentOS Linux</title>
		<link>http://devhen.wordpress.com/2006/06/08/howto-install-sshfs-on-centos-linux/</link>
		<comments>http://devhen.wordpress.com/2006/06/08/howto-install-sshfs-on-centos-linux/#comments</comments>
		<pubDate>Thu, 08 Jun 2006 20:55:02 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://devhen.wordpress.com/2006/06/08/howto-install-sshfs-on-centos-linux/</guid>
		<description><![CDATA[UPDATED Dec-19-2006:
NOTE: These instruction are for CentOS 4.
The apt-get method of installing sshfs that I had posted here previously did not work for me. I got this error when trying to mount an ssh drive:
shfsmount: shfs filesystem not supported by the kernel
So, I set out to find a different method of installing sshfs (and fuse, [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATED Dec-19-2006:</strong></p>
<p>NOTE: These instruction are for CentOS 4.</p>
<p>The apt-get method of installing sshfs that I had posted here previously did not work for me. I got this error when trying to mount an ssh drive:</p>
<p><span style="font-family:monospace;">shfsmount: shfs filesystem not supported by the kernel</span></p>
<p>So, I set out to find a different method of installing sshfs (and fuse, which it requires). One, preferably, that would actually work. Well, I found one. Its not the most elegant solution but its effective.</p>
<p>First, download a copy of the fuse source rpm:</p>
<p><span style="font-family:monospace;">wget http://www.devhen.net/centos/fuse-2.6.0-1.src.rpm</span></p>
<p>Next, install the source rpm and then build the proper fuse rpm&#8217;s from the .spec file:</p>
<p><span style="font-family:monospace;">rpm -ivh fuse-2.6.0-1.src.rpm<br />
rpmbuild -bb /usr/src/redhat/SPECS/fuse.spec</span></p>
<p>Next, install the rpms that you have built:</p>
<p><span style="font-family:monospace;">cd /usr/src/redhat/RPMS/i386</span> (replace &#8216;i386&#8242; with your arch, if necessary)<br />
<span style="font-family:monospace;">rpm -Uvh fuse-2.6.0-1.i386.rpm fuse-kernel-2.6.0-1.i386.rpm fuse-libs-2.6.0-1.i386.rpm fuse-devel-2.6.0-1.i386.rpm</span></p>
<p>Now you can install the sshfs-fuse rpm:</p>
<p><span style="font-family:monospace;">wget http://www.devhen.net/centos/sshfs-fuse-1.6-2.i386.rpm<br />
rpm -ivh sshfs-fuse-1.6-2.i386.rpm</span></p>
<p>** You can try building the sshfs-fuse rpm from <a href="http://www.devhen.net/centos/sshfs-fuse-1.6-2.src.rpm">its source package</a> if your not on i386**</p>
<p>Now comes the ugly part&#8230; For some reason the system can&#8217;t find the fuse module after installing these packages. So, head over to the <a href="http://fuse.sourceforge.net/">fuse project homepage</a> and download <a href="http://downloads.sourceforge.net/fuse/fuse-2.6.0.tar.gz?modtime=1161523951&amp;big_mirror=0">fuse-2.6.0.tar.gz</a>. Unpack it and then</p>
<p><span style="font-family:monospace;">./configure<br />
make<br />
make install</span></p>
<p>and you should be in business. As I said, this is not an elegant solution because you are installing fuse from the tar.gz file on top of the fuse rpms. However, it works for me and that&#8217;s all that matters right now because I really needed to mount some ssh drives on my workstation. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Mount an ssh drive like so:</p>
<p><span style="font-family:monospace;">sshfs user@remotesystem:/path/you/want/to/mount/ /mnt/mount-point/ -o allow_other</span></p>
<p>Don&#8217;t forget the trailing /&#8217;s on both the source folder and the mount point.  -o allow_other will give all users access to the mounted drive. Type <span style="font-family:monospace;">sshfs -h</span> for a list of all of sshfs&#8217; options.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/96/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/96/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=96&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/06/08/howto-install-sshfs-on-centos-linux/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Upgrade to Firefox 1.5 on Ubuntu 5.10 (Breezy Badger)</title>
		<link>http://devhen.wordpress.com/2006/05/11/howto-upgrade-to-firefox-15-on-ubuntu-510-breezy-badger/</link>
		<comments>http://devhen.wordpress.com/2006/05/11/howto-upgrade-to-firefox-15-on-ubuntu-510-breezy-badger/#comments</comments>
		<pubDate>Thu, 11 May 2006 13:12:46 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">https://devhen.wordpress.com/2006/05/11/howto-upgrade-to-firefox-15-on-ubuntu-510-breezy-badger/</guid>
		<description><![CDATA[The latest stable release of Ubuntu Linux comes with Firefox version 1.0.8 installed. Unfortunately this version is slower than 1.5+ and some of the extensions I use only support 1.5+ so, naturally, I needed to upgrade. I found a page on the Ubuntu Wiki called FirefoxNewVersion that shows you how to install a second copy [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The latest stable release of <a href="http://www.ubuntu.com">Ubuntu Linux</a> comes with Firefox version 1.0.8 installed. Unfortunately this version is slower than 1.5+ and some of the extensions I use only support 1.5+ so, naturally, I needed to upgrade. I found a page on the Ubuntu Wiki called <a href="https://wiki.ubuntu.com/FirefoxNewVersion">FirefoxNewVersion</a> that shows you how to install a second copy of Firefox, downloaded from the <a href="http://www.mozilla.com">Mozilla</a> web site, alongside Ubuntu&#8217;s default Firefox package. Instructions are included on how to change the /usr/bin/firefox script to use the newly installed version instead of the default. This looked like more work than I wanted for a Firefox upgrade&#8211;I wanted to stick with .deb packages and didn&#8217;t like the idea of having two versions of Firefox installed. So, I discovered a way upgrade my Firefox package using <a href="http://www.backports.org/">Debain backports</a>. Read on for more.</p>
<p><span id="more-93"></span></p>
<p>(Some text taken from the <a href="http://www.backports.org/instructions.html">Debian backports instructions</a>)</p>
<p><font color="#000000" face="Helvetica,Arial">		 			Add this line 			</font></p>
<pre><font color="#000000" face="Helvetica,Arial">deb http://www.backports.org/debian/ sarge-backports main</font></pre>
<p><font color="#000000" face="Helvetica,Arial">			to your<br />
</font></p>
<p><strong>/etc/apt/sources.list </strong></p>
<p><font color="#000000" face="Helvetica,Arial"> and these lines 			</font></p>
<pre><font color="#000000" face="Helvetica,Arial">Package: *
Pin: release a=sarge-backports
Pin-Priority: 200</font></pre>
<p><font color="#000000" face="Helvetica,Arial">			to your </font></p>
<p><strong>/etc/apt/preferences </strong></p>
<p>(You may need to create this file if it doesn&#8217;t exist)</p>
<p><font color="#000000" face="Helvetica,Arial"> This will _deactivate_ all packages 			from backports.org. Now you need to activate the particular packages you want to upgrade from backports.org (e.g. firefox). Upgrading ALL of your packages from backports.org is certain to cause problems. So, we need to add the following text 			</font></p>
<pre><font color="#000000" face="Helvetica,Arial">Package: firefox
Pin: release a=sarge-backports
Pin-Priority: 999</font></pre>
<p><font color="#000000" face="Helvetica,Arial">			to </font></p>
<p><strong>/etc/apt/preferences</strong></p>
<p>for each package that we want to allow upgrading via backports.org. We need to do this for firefox and its dependant packages. These include <strong>firefox</strong>, <strong>firefox-gnome-support</strong>, <strong>language-support-en</strong> and <strong>mozilla-firefox-locale-en-gb</strong>.</p>
<p>Your <strong>/etc/apt/preferences</strong> file should look something like mine:</p>
<pre>Package: *
Pin: release a=sarge-backports
Pin-Priority: 200</pre>
<pre>Package: firefox
Pin: release a=sarge-backports
Pin-Priority: 999</pre>
<pre>Package: firefox-gnome-support
Pin: release a=sarge-backports
Pin-Priority: 999</pre>
<pre>Package: language-support-en
Pin: release a=sarge-backports
Pin-Priority: 999</pre>
<pre>Package: mozilla-firefox-locale-en-gb
Pin: release a=sarge-backports
Pin-Priority: 999</pre>
<p><font color="#000000" face="Helvetica,Arial">Now simply run </font></p>
<pre><font color="#000000" face="Helvetica,Arial">apt-get update</font></pre>
<p><font color="#000000" face="Helvetica,Arial"> and </font></p>
<pre><font color="#000000" face="Helvetica,Arial">apt-get upgrade firefox</font></pre>
<p><font color="#000000" face="Helvetica,Arial"> as usual, or launch <strong>&#8217;synaptic&#8217;</strong>, click <strong>&#8216;refresh&#8217;</strong> to reload information from  your repositories, find your <strong>firefox</strong> package, mark it to be upgraded and hit apply.</font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=93&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/05/11/howto-upgrade-to-firefox-15-on-ubuntu-510-breezy-badger/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
		<item>
		<title>HOWTO: Sendmail SMTP Auth</title>
		<link>http://devhen.wordpress.com/2006/05/01/howto-sendmail-smtp-auth/</link>
		<comments>http://devhen.wordpress.com/2006/05/01/howto-sendmail-smtp-auth/#comments</comments>
		<pubDate>Mon, 01 May 2006 23:05:37 +0000</pubDate>
		<dc:creator>devhen</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">https://devhen.wordpress.com/2006/05/01/howto-sendmail-smtp-auth/</guid>
		<description><![CDATA[These notes are designed to help a Linux geek setup SMTP auth on a Linux + sendmail server. Without proper SMTP auth settings your server is liable to be used by spammers and spam bots to send out copious amounts of unwanted mail. This can get your server&#8217;s IP blacklisted and can really eat up [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>These notes are designed to help a Linux geek setup SMTP auth on a Linux + sendmail server. Without proper SMTP auth settings your server is liable to be used by spammers and spam bots to send out copious amounts of unwanted mail. This can get your server&#8217;s IP blacklisted and can really eat up your resources. Needless to say, we need to avoid this. Start by editing your <SPAN STYLE="font-family: monospace">sendmail.mc</SPAN> file (found in <SPAN STYLE="font-family: monospace">/etc/mail</SPAN>). I use the following commands, try replacing the corresponding lines in your mc file with these ones: (Note that lines beginning with &#8216;dnl&#8217; are essentially considered comments and are ignored)</p>
<p><SPAN STYLE="font-family: monospace"> define(`confAUTH_OPTIONS&#8217;, `A&#8217;)<br />
dnl<br />
dnl Accept PLAIN and LOGIN authentications.dnl<br />
TRUST_AUTH_MECH(`LOGIN PLAIN&#8217;)dnl<br />
define(`confAUTH_MECHANISMS&#8217;, `LOGIN PLAIN&#8217;)dnl<br />
</SPAN></p>
<p>Now you need to rebuild your sendmail.cf file from the .mc file you&#8217;ve just edited:</p>
<p><SPAN STYLE="font-family: monospace">make sendmail.cf -C /etc/mail</SPAN></p>
<p>Next we need to make sure saslauthd is running and configured correctly. Edit your saslauthd configuration file (<SPAN STYLE="font-family: monospace">/etc/sysconfig/saslauthd</SPAN>) and replace <SPAN STYLE="font-family: monospace">shadow</SPAN> with <SPAN STYLE="font-family: monospace">pam</SPAN> for the <SPAN STYLE="font-family: monospace">MECH</SPAN> variable like so:</p>
<p><SPAN STYLE="font-family: monospace"> # Mechanism to use when checking passwords.  Run &#8220;saslauthd -v&#8221; to get a list<br />
# of which mechanism your installation was compiled to use.<br />
MECH=pam<br />
</SPAN></p>
<p>Restart sendmail and saslauthd</p>
<p><SPAN STYLE="font-family: monospace"> /etc/rc.d/init.d/sendmail restart<br />
/etc/rc.d/init.d/saslauthd restart<br />
</SPAN></p>
<p>and don&#8217;t forget to configure your email clients to use authentication when sending outgoing mail.</p>
<p>For more information and some tips on installing a certificate for secure SMTP connections, try this article:</p>
<p><a href="http://www.madboa.com/geek/sendmail-auth/">http://www.madboa.com/geek/sendmail-auth/</a></p>
<p>Read on for a full copy of my sendmail.mc file.</p>
<p><span id="more-92"></span></p>
<p><SPAN STYLE="font-family: monospace">divert(-1)dnl<br />
dnl #<br />
dnl # This is the sendmail macro config file for m4. If you make changes to<br />
dnl # /etc/mail/sendmail.mc, you will need to regenerate the<br />
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is<br />
dnl # installed and then performing a<br />
dnl #<br />
dnl #     make -C /etc/mail<br />
dnl #<br />
include(`/usr/share/sendmail-cf/m4/cf.m4&#8242;)dnl<br />
VERSIONID(`setup for Red Hat Linux&#8217;)dnl<br />
OSTYPE(`linux&#8217;)dnl<br />
dnl #<br />
dnl # default logging level is 9, you might want to set it higher to<br />
dnl # debug the configuration<br />
dnl #<br />
dnl define(`confLOG_LEVEL&#8217;, `9&#8242;)dnl<br />
dnl #<br />
dnl # Uncomment and edit the following line if your outgoing mail needs to<br />
dnl # be sent out through an external mail server:<br />
dnl #<br />
undefine(`SMART_HOST&#8217;)<br />
dnl #<br />
define(`confDEF_USER_ID&#8217;,&#8220;8:12&#8221;)dnl<br />
dnl define(`confAUTO_REBUILD&#8217;)dnl<br />
define(`confTO_CONNECT&#8217;, `1m&#8217;)dnl<br />
define(`confTRY_NULL_MX_LIST&#8217;,true)dnl<br />
define(`confDONT_PROBE_INTERFACES&#8217;,true)dnl<br />
define(`PROCMAIL_MAILER_PATH&#8217;,`/usr/bin/procmail&#8217;)dnl<br />
define(`ALIAS_FILE&#8217;, `/etc/aliases&#8217;)dnl<br />
define(`STATUS_FILE&#8217;, `/var/log/mail/statistics&#8217;)dnl<br />
define(`UUCP_MAILER_MAX&#8217;, `2000000&#8242;)dnl<br />
define(`confUSERDB_SPEC&#8217;, `/etc/mail/userdb.db&#8217;)dnl<br />
define(`confPRIVACY_FLAGS&#8217;, `authwarnings,novrfy,noexpn,restrictqrun&#8217;)dnl<br />
dnl #<br />
dnl # The following allows relaying if the user authenticates, and disallows<br />
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links<br />
dnl #<br />
define(`confAUTH_OPTIONS&#8217;,`A&#8217;)<br />
dnl #<br />
dnl # PLAIN is the preferred plaintext authentication method and used by<br />
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do<br />
dnl # use LOGIN. Other mechanisms should be used if the connection is not<br />
dnl # guaranteed secure.<br />
dnl #<br />
dnl # TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<br />
dnl # define(`confAUTH_MECHANISMS&#8217;, `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<br />
dnl #<br />
TRUST_AUTH_MECH(`LOGIN PLAIN&#8217;)dnl<br />
define(`confAUTH_MECHANISMS&#8217;, `LOGIN PLAIN&#8217;)dnl<br />
dnl #<br />
dnl #<br />
dnl # Rudimentary information on creating certificates for sendmail TLS:<br />
dnl #     make -C /usr/share/ssl/certs usage<br />
dnl # or use the included makecert.sh script<br />
dnl #<br />
dnl define(`confCACERT_PATH&#8217;,`/usr/share/ssl/certs&#8217;)<br />
dnl define(`confCACERT&#8217;,`/usr/share/ssl/certs/ca-bundle.crt&#8217;)<br />
dnl define(`confSERVER_CERT&#8217;,`/usr/share/ssl/certs/sendmail.pem&#8217;)<br />
dnl define(`confSERVER_KEY&#8217;,`/usr/share/ssl/certs/sendmail.pem&#8217;)<br />
dnl #<br />
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP&#8217;s<br />
dnl # slapd, which requires the file to be readble by group ldap<br />
dnl #<br />
dnl define(`confDONT_BLAME_SENDMAIL&#8217;,`groupreadablekeyfile&#8217;)dnl<br />
dnl #<br />
dnl define(`confTO_QUEUEWARN&#8217;, `4h&#8217;)dnl<br />
dnl define(`confTO_QUEUERETURN&#8217;, `5d&#8217;)dnl<br />
dnl define(`confQUEUE_LA&#8217;, `12&#8242;)dnl<br />
dnl define(`confREFUSE_LA&#8217;, `18&#8242;)dnl<br />
define(`confTO_IDENT&#8217;, `0&#8242;)dnl<br />
dnl FEATURE(delay_checks)dnl<br />
FEATURE(`no_default_msa&#8217;,`dnl&#8217;)dnl<br />
FEATURE(`smrsh&#8217;,`/usr/sbin/smrsh&#8217;)dnl<br />
FEATURE(`mailertable&#8217;,`hash -o /etc/mail/mailertable.db&#8217;)dnl<br />
FEATURE(`virtusertable&#8217;,`hash -o /etc/mail/virtusertable.db&#8217;)dnl<br />
FEATURE(redirect)dnl<br />
FEATURE(always_add_domain)dnl<br />
FEATURE(use_cw_file)dnl<br />
FEATURE(use_ct_file)dnl<br />
dnl #<br />
dnl # The -t option will retry delivery if e.g. the user runs over his quota.<br />
dnl #<br />
FEATURE(local_procmail,`&#8217;,`procmail -t -Y -a $h -d $u&#8217;)dnl<br />
FEATURE(`access_db&#8217;,`hash -T&lt;TMPF&gt; -o /etc/mail/access.db&#8217;)dnl<br />
FEATURE(`blacklist_recipients&#8217;)dnl<br />
EXPOSED_USER(`root&#8217;)dnl<br />
dnl #<br />
dnl # The following causes sendmail to only listen on the IPv4 loopback address<br />
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback<br />
dnl # address restriction to accept email from the internet or intranet.<br />
dnl #<br />
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl<br />
dnl #<br />
dnl # The following causes sendmail to additionally listen to port 587 for<br />
dnl # mail from MUAs that authenticate. Roaming users who can&#8217;t reach their<br />
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find<br />
dnl # this useful.<br />
dnl #<br />
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea&#8217;)dnl<br />
dnl #<br />
dnl # The following causes sendmail to additionally listen to port 465, but<br />
dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed<br />
dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can&#8217;t<br />
dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS<br />
dnl # and doesn&#8217;t support the deprecated smtps; Evolution &lt;1.1.1 uses smtps<br />
dnl # when SSL is enabled&#8211; STARTTLS support is available in version 1.1.1.<br />
dnl #<br />
dnl # For this to work your OpenSSL certificates must be configured.<br />
dnl #<br />
dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s&#8217;)dnl<br />
dnl #<br />
dnl # The following causes sendmail to additionally listen on the IPv6 loopback<br />
dnl # device. Remove the loopback address restriction listen to the network.<br />
dnl #<br />
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6&#8242;)dnl<br />
dnl #<br />
dnl # enable both ipv6 and ipv4 in sendmail:<br />
dnl #<br />
dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6&#8242;)<br />
dnl #<br />
dnl # We strongly recommend not accepting unresolvable domains if you want to<br />
dnl # protect yourself from spam. However, the laptop and users on computers<br />
dnl # that do not have 24&#215;7 DNS do need this.<br />
dnl #<br />
FEATURE(`accept_unresolvable_domains&#8217;)dnl<br />
dnl #<br />
dnl FEATURE(`relay_based_on_MX&#8217;)dnl<br />
dnl #<br />
dnl # Also accept email sent to &#8220;localhost.localdomain&#8221; as local email.<br />
dnl #<br />
LOCAL_DOMAIN(`localhost.localdomain&#8217;)dnl<br />
dnl #<br />
dnl # The following example makes mail from this host and any additional<br />
dnl # specified domains appear to be sent from mydomain.com<br />
dnl #<br />
dnl MASQUERADE_AS(`sprinkler.com&#8217;)dnl<br />
dnl #<br />
dnl # masquerade not just the headers, but the envelope as well<br />
dnl #<br />
dnl FEATURE(masquerade_envelope)dnl<br />
dnl #<br />
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well<br />
dnl #<br />
dnl FEATURE(masquerade_entire_domain)dnl<br />
dnl #<br />
dnl MASQUERADE_DOMAIN(localhost)dnl<br />
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl<br />
dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl<br />
dnl MASQUERADE_DOMAIN(mydomain.lan)dnl<br />
MAILER(smtp)dnl<br />
MAILER(procmail)dnl<br />
</SPAN></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/devhen.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/devhen.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devhen.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devhen.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devhen.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devhen.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devhen.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devhen.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devhen.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devhen.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devhen.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devhen.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devhen.wordpress.com&blog=208261&post=92&subd=devhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://devhen.wordpress.com/2006/05/01/howto-sendmail-smtp-auth/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/devhen-128.jpg" medium="image">
			<media:title type="html">devhen</media:title>
		</media:content>
	</item>
	</channel>
</rss>