<?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>JERVIS DOT WS &#187; Linux</title>
	<atom:link href="http://jervis.ws/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jervis.ws</link>
	<description>A techie’s thoughts and opinions on anything &#38; everything that comes to mind</description>
	<lastBuildDate>Tue, 15 Feb 2011 20:49:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>distributed.net client RPM Package</title>
		<link>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/</link>
		<comments>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 20:45:36 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[distributed.net]]></category>
		<category><![CDATA[dnetc]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=188</guid>
		<description><![CDATA[<p>This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core DNETC application (v2.9104.510), and added my own DNETC System V init [...]]]></description>
			<content:encoded><![CDATA[<p>This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core <a href="http://www.distributed.net/download/clients.php#linux" target="_blank">DNETC application (v2.9104.510)</a>, and added my own <a href="http://www.jervis.ws/2010/01/22/dnetc-system-v-init-script/" target="_blank">DNETC System V init script</a>. </p>
<p>I thought I would post the files here, as they maybe of use. </p>
<p><a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc-2.9104.510-2.i386.rpm">dnetc-2.9104.510-2.i386.rpm</a><br />
<a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc-2.9104.510-2.i386.spec">dnetc.spec</a><br />
<a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc.init">dnetc.init</a></p>
<p>Distributed.net recommend that you only download and install clients from their site, I have packaged the above and use it on my systems so the choice is yours, but if you wish to build your own RPM, the spec file etc may save you a few mins.</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building RPMs</title>
		<link>http://jervis.ws/2010/02/28/building-rpms/</link>
		<comments>http://jervis.ws/2010/02/28/building-rpms/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 11:08:35 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=191</guid>
		<description><![CDATA[<p>Here is some advice I found useful when setting up my RPM build environment, and building a basic RPM.  The main source I used, to save reading my book again or the man pages, was Linc Fessenden&#8217;s blog and some of Linc&#8217;s blog is repeated here for completeness. Thanks Linc!</p>
<p>These instructions should work fine on any CentOS [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/rpm-build.jpg"><img class="alignright size-full wp-image-202" title="rpm-build" src="http://www.jervis.ws/wp-content/uploads/rpm-build.jpg" alt="" width="371" height="102" /></a>Here is some advice I found useful when setting up my RPM build environment, and building a basic RPM.  The main source I used, to save reading my book again or the man pages, was <a href="http://lincgeek.org/blog/?p=303" target="_blank">Linc Fessenden&#8217;s blog</a> and some of Linc&#8217;s blog is repeated here for completeness. Thanks Linc!</p>
<p>These instructions should work fine on any CentOS / RHEL / Fedora system.</p>
<p>First off, we need the rpm-build package to be installed. Check and install if needed.<br />
<code>yum install rpm-build</code></p>
<p>Login to the system as your user account, then make the following directories:</p>
<p><code><br />
mkdir -p ~/rpm<br />
mkdir -p ~/rpm/BUILD<br />
mkdir -p ~/rpm/RPMS<br />
mkdir -p ~/rpm/SOURCES<br />
mkdir -p ~/rpm/SPECS<br />
mkdir -p ~/rpm/SRPMS<br />
mkdir -p ~/rpm/tmp<br />
</code></p>
<p>And create an ~/.rpmmacros file with the following in it:</p>
<p><code><br />
%packager Your Name<br />
%_topdir /home/YOUR USERNAME/rpm<br />
%_tmppath /home/YOUR USERNAME/rpm/tmp<br />
</code></p>
<p>Now you need to create a package source code ditectory in the ~/rpm/SOURCES directory. You should name it package name &#8211; major revision number. Eg: ~/rpm/SOURCES/robspackage-1. In that directory place all the files that you wish to package in the RPM. I have put &#8220;script.sh&#8221; in mine.</p>
<p>Once that is done, make a tarball of that directory in the ~/rpm/SOURCES directory named programname-revision.tar.gz. Eg:<br />
<code><br />
cd ~/rpm/SOURCES<br />
tar -czvf rob-1.tar.gz rob-1/<br />
</code></p>
<p>In the ~/rpm/SPECS directory, create a packagename.spec file for your package.<br />
Eg: rob.spec:</p>
<blockquote><p>Summary: My first rpm package<br />
Name: rob<br />
Version: 1<br />
Release: 1<br />
Source0: rob-1.tar.gz<br />
License: GPL<br />
Group: CustomGroup<br />
BuildArch: noarch<br />
BuildRoot: %{_tmppath}/%{name}-buildroot<br />
%description<br />
Relevant package description<br />
%prep<br />
%setup -q<br />
%build<br />
%install<br />
install -m 0755 -d $RPM_BUILD_ROOT/opt/rob<br />
install -m 0755 script.sh $RPM_BUILD_ROOT/opt/rob/script.sh<br />
%clean<br />
rm -rf $RPM_BUILD_ROOT<br />
%post<br />
echo &#8221; &#8221;<br />
echo &#8220;This will display after rpm installs the package!&#8221;<br />
%files<br />
%dir /opt/rob<br />
/opt/rob/script.sh<br />
%changelog<br />
* Wed Feb 24 2010 Rob Jervis<br />
- added something or fixed a bug</p>
<p>* Tue Feb 23 2010 Rob Jervis<br />
- First RPM package of the rob application for EL5</p></blockquote>
<p>Direct Quote from Linc:<br />
&#8220;The install lines tell rpm what to install where and with what permissions. You also have to do any directory creation there as well (the one with the -d in the line).&#8221;</p>
<p>&#8220;The things after %file are similar in that this tells rpm’s database which files are attached to this package. The %dir signifies a new directory, otherwise the files are listed with their complete paths.&#8221;</p>
<p>Now you need to create the package, go to ~/rpm and do “rpmbuild -ba SPECS/rob.spec”.<br />
If your package builds ok, it will end up in the RPMS directory, in this case: ~/rpm/RPMS/noarch/rob-1-1.noarch.rpm.</p>
<p>If it fails to build, first check your spec file carefully. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/02/28/building-rpms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNETC System V init Script</title>
		<link>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/</link>
		<comments>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:19:16 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[distributed.net]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=51</guid>
		<description><![CDATA[<p>This week I was looking into init scripts again, its been a while… Anyhow, I remembered that I had written one for distributed.net’s client app.</p>
<p>I thought I would share it, place in “/etc/init.d/dnetc”. It should work fine on current releases of Fedora, RHEL and CentOS. Its designed for the sysadmin to configure dnetc for that [...]]]></description>
			<content:encoded><![CDATA[<p>This week I was looking into init scripts again, its been a while… Anyhow, I remembered that I had written one for distributed.net’s client app.</p>
<p>I thought I would share it, place in “/etc/init.d/dnetc”. It should work fine on current releases of Fedora, RHEL and CentOS. Its designed for the sysadmin to configure dnetc for that system and then manage its start up and shutdown. (Not a script for end users to be using. )</p>
<p>You will need to change the application path to be the directory you have extracted the into.</p>
<p><code><br />
#!/bin/bash<br />
#<br />
# dnetc This shell script takes care of starting and stopping distributed.net client<br />
#<br />
# chkconfig: 345 90 12<br />
# description: distributed.net client program, a \<br />
# distributed computing project. The program \<br />
# uses only the computers idle time.<br />
# processname: dnetc</code></p>
<p># config: /etc/dnetc/dnetc.ini<br />
# pidfile: /var/run/dnetc.pid</p>
<p># Get function from functions library<br />
. /etc/init.d/functions</p>
<p>start() {<br />
echo -n &#8220;Starting DNET client: &#8221;<br />
/custom/dnetc/dnetc -quiet<br />
touch /var/lock/subsys/dnetc<br />
success $&#8221;DNET client startup&#8221;<br />
echo<br />
}</p>
<p>stop() {<br />
echo -n &#8220;Stopping DNET client: &#8221;<br />
killproc dnetc<br />
rm -f /var/lock/subsys/dnetc<br />
echo<br />
}</p>
<p># —————————————————————–<br />
case &#8220;$1&#8243; in<br />
start)<br />
start<br />
;;<br />
stop)<br />
stop<br />
;;<br />
status)<br />
status dnetc<br />
;;<br />
restart|reload|condrestart)<br />
stop<br />
start<br />
;;<br />
*)<br />
echo $&#8221;Usage: $0 {start|stop|restart|reload|status}&#8221;<br />
exit 1<br />
esac</p>
<p>exit 0</p>
<p>This script could do with some more work, I did put it together quickly, but <a href="http://www.cyberciti.biz/tips/linux-write-sys-v-init-script-to-start-stop-service.html">this page</a> helped me get it going and its worth looking at if you want to write a System V init script of your own.</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking forward to Fedora 12!</title>
		<link>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/</link>
		<comments>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:21:10 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=119</guid>
		<description><![CDATA[
<p>Fedora 12 release countdown!</p>


]]></description>
			<content:encoded><![CDATA[<div>
<p>Fedora 12 release countdown!</p>
<div><a href="https://fedoraproject.org/get-fedora"><img class="aligncenter" src="https://fedoraproject.org/static/images/banners/f12release.png" alt="Fedora 12 is here!" width="200" height="100" /></a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox SSH protocol handler (Linux)</title>
		<link>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/</link>
		<comments>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:11:42 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=37</guid>
		<description><![CDATA[<p>I have a web page that lists servers I need to connect to. This page has several hyper links for each server to key webpages on that host. I wanted to be able to connect using ssh too, at the click of a link. (eg: ssh://myserver.example.com and ssh://user@myserver.example.com)</p>
<p>I started doing a bit of research into [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/ff.png"><img class="alignright size-full wp-image-208" title="ff" src="http://www.jervis.ws/wp-content/uploads/ff.png" alt="" width="100" height="140" /></a>I have a web page that lists servers I need to connect to. This page has several hyper links for each server to key webpages on that host. I wanted to be able to connect using ssh too, at the click of a link. (eg: ssh://myserver.example.com and ssh://user@myserver.example.com)</p>
<p>I started doing a bit of research into this and have been able to set it up!</p>
<p>On Fedora 10:<br />
1. Open Firefox and go to: about:config.<br />
2. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.expose.ssh” and then “true”<br />
3. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.external.ssh” and then “true”<br />
4. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.warn-external.ssh” and then “false”<br />
5. Right Click &gt; New &gt; String &gt; Enter the following name “network.protocol-handler.app.ssh” and then “firefox-ssh.sh”<br />
6. Close Firefox<br />
7. Create a script here (/usr/local/bin/firefox-ssh.sh) with the following in it:</p>
<p>#!/bin/bash<br />
gnome-terminal -e &#8220;ssh `echo $1 | sed -e &#8220;s/ssh:\/\///&#8221;`&#8221;<br />
8. Run chmod +x /usr/local/bin/firefox-ssh.sh<br />
9. Open Firefox and go to a link like ssh://myserver.example.com</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://jervis.ws/2009/01/05/happy-new-year/</link>
		<comments>http://jervis.ws/2009/01/05/happy-new-year/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 19:42:24 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SFD]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=39</guid>
		<description><![CDATA[<p>Well, better late than never. I thought I would take this chance to set myself some ‘open’ goals for the New Year.</p>
<p>First off I hope to get involved in more FOSS advocacy projects, there are a few about which I hope I can contribute too. As part of this, I am going to get involved [...]]]></description>
			<content:encoded><![CDATA[<p>Well, better late than never. I thought I would take this chance to set myself some ‘open’ goals for the New Year.</p>
<p>First off I hope to get involved in more FOSS advocacy projects, there are a few about which I hope I can contribute too. As part of this, I am going to get involved with or run a Software Freedom Day Event in September so I will be working towards that over the coming months.</p>
<p>I am also hoping to setup a local user group that can help support and guide people through the world of free software. The aim would be to have the group setup before the software freedom event so that it can be promoted as a source of help and further information. This group would help to form a team to run the event, and would enable people to drop in afterwards to learn more, get help and build a local community that can sustain future events.</p>
<p>Migrate another system. I have two systems at work, (two of many overall) one that runs Windows XP, the other Vista. Well it did until I took a Fedora 10 disk to it.</p>
<p>I do run Linux on some of my desktops and its not my first attempt to migrate this poticular one. Its the easier of the two work systems to do so i decided to give it another go. I am hopeful there will be more success this time. I know of 1 or 2 applications that will require Windows so I am going to build a get out of jail free card Virtual Machine on it. This should allow me to use workarounds if needed rather than to revert the system.</p>
<p>My goal is to have it running Fedora all year, even if I have a Windows VM on it.</p>
<p>I am going to try to blog more this year. It will hopefully be a good way of me to give information to the community that has helped me, and howto’s i have completed things or details of how I have over come issues etc.</p>
<p>So now I guess I should get to it, hope you have a Happy New Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/01/05/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete mail from an exim mail queue</title>
		<link>http://jervis.ws/2008/06/06/delete-mail-from-an-exim-mail-queue/</link>
		<comments>http://jervis.ws/2008/06/06/delete-mail-from-an-exim-mail-queue/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 20:22:03 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=32</guid>
		<description><![CDATA[<p>Here is a quick HowTo / TechTip for deleting all the mail from an exim mail queue!</p>
<p>After the issue I blogged about the other day, where a webserver was being used to generate spam, we were left with a lot of spam email in the servers mail queue awaiting delivery.</p>
<p>Amongst other things, this was then [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick HowTo / TechTip for deleting all the mail from an exim mail queue!</p>
<p>After the issue I blogged about the other day, where a webserver was being used to generate spam, we were left with a lot of spam email in the servers mail queue awaiting delivery.</p>
<p>Amongst other things, this was then causing a performance hit on the server sending messages. I decided that the few real emails in the queue were on no importance and to just delete the whole lot.</p>
<p>Chances are as a sysadmin, its a job you may have to do at some point. This is how I cleaned out the exim queue on the webserver and then the one on the outbound mail server.</p>
<p>First off, take a look at your queue:</p>
<p>[user@www user]# exim -bp<br />
As the mail is spam we want to delete it, not empty the queue via SMTP as all the spam will sent to people and our server may be blacklisted.</p>
<p>Delete all the mail in the queue run:</p>
<p>[user@www user]# exim -bpru | awk {&#8216;print $3&#8242;}<br />
| xargs exim -Mrm &gt; deletedmail.txt<br />
We can now check how many mails were removed by running:</p>
<p>[user@www user]# wc -l deletedmail.txt<br />
13416 deletedmail.txt<br />
[user@www user]#<br />
We have now deleted all 13416 mails in the queue and the server is as good as new. (Remember to fix the loop hole first, if you don’t you will soon have alot of spam in the queue again!)</p>
<p>The deletedmail.txt file will look something like this:</p>
<p>Message 1K3FYb-0000wH-CF has been removed<br />
Message 1K3FYb-0000wH-6l has been removed<br />
Message 1K3FYb-0000wH-3r has been removed<br />
Message 1K3FYb-0000wH-1d has been removed<br />
On the mail server, we want to remove all mail from the webserver only. To do this we modify the command line to grep for the sending address.</p>
<p>[user@mail user]# exim -bpru | grep &#8220;&#8221; |<br />
awk {&#8216;print $3&#8242;} | xargs exim -Mrm &gt; deletedmail.txt<br />
[user@mail user]# wc -l deletedmail.txt<br />
73012 deletedmail.txt<br />
[user@mail user]#<br />
So we have now removed 73012 mails from the mail servers queue. This means in my example here, we have saved the internet from 86428 spam emails.</p>
<p>A few other useful exim queue commands include:</p>
<p># exim -q # Flush waiting mail<br />
# exim -qf # Flush all mail<br />
# exim -qff # Flush even frozen mail<br />
To remove frozen mail from the local spool, try this…</p>
<p># exim -bpru | grep &#8220;*** frozen ***&#8221; | awk {&#8216;print $3&#8242;} |<br />
xargs exim -Mrm &gt; deletedmail-frozen.txt</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2008/06/06/delete-mail-from-an-exim-mail-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squid Proxy Tip</title>
		<link>http://jervis.ws/2008/05/07/squid-proxy-tip/</link>
		<comments>http://jervis.ws/2008/05/07/squid-proxy-tip/#comments</comments>
		<pubDate>Wed, 07 May 2008 22:06:08 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Squid]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=53</guid>
		<description><![CDATA[<p>Do you run a squid proxy? I do, and have been restarting squid to apply config changes for ages. Turns out that you can just run “service squid reload”, users have no down time and your config changes get applied. Great. Wish I had thought to check that before now…..  </p>
<p>(This works on RHEL/CentOS, [...]]]></description>
			<content:encoded><![CDATA[<p>Do you run a squid proxy? I do, and have been restarting squid to apply config changes for ages. Turns out that you can just run “service squid reload”, users have no down time and your config changes get applied. Great. Wish I had thought to check that before now….. <img src='http://jervis.ws/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>(This works on RHEL/CentOS, but any install of squid is capable of this via one command or another)</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2008/05/07/squid-proxy-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim on CentOS</title>
		<link>http://jervis.ws/2008/03/17/exim-on-centos/</link>
		<comments>http://jervis.ws/2008/03/17/exim-on-centos/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 09:17:20 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=30</guid>
		<description><![CDATA[<p>This is my quick guide to do an install and basic setup of exim on CentOS. This is not meant as a fully inclusive guide but it will get you on the way. Following this you should get a working exim install.</p>
<p>I will assume you have built a CentOS 4 / 5 Server, have yum [...]]]></description>
			<content:encoded><![CDATA[<p>This is my quick guide to do an install and basic setup of exim on CentOS. This is not meant as a fully inclusive guide but it will get you on the way. Following this you should get a working exim install.</p>
<p>I will assume you have built a CentOS 4 / 5 Server, have yum working and have logged in as root.</p>
<p>You may want to make sure your up to date…<br />
<em>yum update</em></p>
<p>Install exim and mail switching tools<br />
<em>yum install exim<br />
yum install system-switch-mail</em></p>
<p>Switch your MTA &amp; set exim to start on boot<br />
<em>system-switch-mail<br />
service sendmail stop<br />
service exim start<br />
chkconfig exim on<br />
chkconfig sendmail off</em></p>
<p>Add a root alias, eg: “root: me@example.com”<br />
<em>vi /etc/aliases</em></p>
<p>You may also wish to add some config to your routers section like this, if you want to relay through a smart host.<br />
<em>vi /etc/exim/exim.conf</em></p>
<p>Then add this before the “dnslookup:” section.</p>
<p><em>to_smart_host:<br />
driver = manualroute<br />
domains = ! +local_domains<br />
transport = remote_smtp<br />
route_list = “* mail1.example.com:mail2.example.com;”</em></p>
<p>Restart exim<br />
<em>service exim restart</em></p>
<p>To test, send an email<br />
<em>echo “test” |mail -s “$HOSTNAME” me@example.com</em></p>
<p>Then you can flush the Exim Que and watch the log like this<br />
<em>exim -qff ; tail -f /var/log/exim/main.log</em></p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2008/03/17/exim-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBC iPlayer Update</title>
		<link>http://jervis.ws/2007/12/25/bbc-iplayer-update-2/</link>
		<comments>http://jervis.ws/2007/12/25/bbc-iplayer-update-2/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 11:27:49 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BBC iPlayer]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=88</guid>
		<description><![CDATA[<p>I am a bit behind on postings lately, but I have been meaning to post about another iPlayer development. Its now available through a streaming service, based on flash. This helps people on non-microsoft platforms access the content. It is also quick and easy to use, if you have a quick ish connection (Its ok [...]]]></description>
			<content:encoded><![CDATA[<p>I am a bit behind on postings lately, but I have been meaning to post about another iPlayer development. Its now available through a streaming service, based on flash. This helps people on non-microsoft platforms access the content. It is also quick and easy to use, if you have a quick ish connection (Its ok on my 1mb ADSL). Good Work BBC.</p>
<p>See: <a title="BBC iPlayer" href="http://www.bbc.co.uk/iplayer/" target="_blank">http://www.bbc.co.uk/iplayer/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2007/12/25/bbc-iplayer-update-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

