<?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>Geoff&#039;s Blog &#187; sysadmin</title>
	<atom:link href="http://blog.grimsy.net/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.grimsy.net</link>
	<description>tech, travels and other stuff</description>
	<lastBuildDate>Wed, 06 Apr 2011 03:41:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Utilising old desktops around the office</title>
		<link>http://blog.grimsy.net/2009/05/utilising-old-desktops-around-the-office/</link>
		<comments>http://blog.grimsy.net/2009/05/utilising-old-desktops-around-the-office/#comments</comments>
		<pubDate>Tue, 26 May 2009 05:27:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=26</guid>
		<description><![CDATA[So over the years, we have some old desktops in the office which aren&#8217;t really good enough to use for development any more. I&#8217;ve started breathing new life into them by using them to backup our Subversion repositories by using svnsync.By setting up cron jobs to sync every x minutes or even hours you can [...]]]></description>
			<content:encoded><![CDATA[<p>So over the years, we have some old desktops in the office which aren&#8217;t really good enough to use for development any more. I&#8217;ve started breathing new life into them by using them to backup our Subversion repositories by using <a href="http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt">svnsync</a>.<br />By setting up cron jobs to sync every x minutes or even hours you can have a huge amount of redundancy for next to no cost.<br />The read only mirrors are also handy for other applications that create load on your repositories (build servers etc) so I use a near real-time mirror to run trac and our Bamboo server from.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2009/05/utilising-old-desktops-around-the-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erratic Sendmail problems&#8230;</title>
		<link>http://blog.grimsy.net/2008/05/erratic-sendmail-problems/</link>
		<comments>http://blog.grimsy.net/2008/05/erratic-sendmail-problems/#comments</comments>
		<pubDate>Wed, 07 May 2008 01:33:00 +0000</pubDate>
		<dc:creator>Geoff Jacobs</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://grimsy.net/?p=21</guid>
		<description><![CDATA[I&#8217;ve recently installed Drupal 6, and was having problems sending out emails (specifically for new users and password resets). The problem was that sometimes the mail was coming through, and other times it wasn&#8217;t (it didn&#8217;t even appear in our mail server logs). After lots of scouting around, I noticed that in /var/log/maillog (on FC6), [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently installed Drupal 6, and was having problems sending out emails (specifically for new users and password resets).<br />
The problem was that sometimes the mail was coming through, and other times it wasn&#8217;t (it didn&#8217;t even appear in our mail server logs).<br />
After lots of scouting around, I noticed that in /var/log/maillog (on FC6), the relay kept on changing.<br />
On our network, we have 3 domain controllers, one of which is a mail server. Send mail was using it&#8217;s &#8220;Smart&#8221; relay to figure out where to relay the mail through, but unfortunately it kept finding whichever domain controller replied first, rather than just the mail server. This meant that sometimes, when it got the mail server, the email would come through, and other times it wouldn&#8217;t.<br />
To fix the problem, I had to edit the &#8220;Smart&#8221; relay host in:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mail<span style="color: #000000; font-weight: bold;">/</span>sendmail.cf</div></div>
<p>I searched for &#8220;DS&#8221; and came across a section such as:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># &quot;Smart&quot; relay host (may be null)</span><br />
DS</div></div>
<p>I changed this to read</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># &quot;Smart&quot; relay host (may be null)</span><br />
DSmail.domain.com</div></div>
<p>where mail.domain.com is the name of the mail server.<br />
Then I restarted the sendmail service using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service <span style="color: #c20cb9; font-weight: bold;">sendmail</span> restart</div></div>
<p>and everything started working!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.grimsy.net/2008/05/erratic-sendmail-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

