<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Getting yum updates by E-mail</title>
	<atom:link href="http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Fri, 04 May 2012 19:58:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: matty</title>
		<link>http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/comment-page-1/#comment-701432</link>
		<dc:creator>matty</dc:creator>
		<pubDate>Wed, 18 Mar 2009 16:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=480#comment-701432</guid>
		<description>Hey Dan,

When I wrote yumnotifier yum-updatesd wasn&#039;t available. Now that it is, I have a postinstall item that updates the email_to and email_from items in /etc/yum/yum-updatesd.conf. This alleviates the need for me to install my script, and provides the same capabilities. Thanks for your comment!

- Ryan</description>
		<content:encoded><![CDATA[<p>Hey Dan,</p>
<p>When I wrote yumnotifier yum-updatesd wasn&#8217;t available. Now that it is, I have a postinstall item that updates the email_to and email_from items in /etc/yum/yum-updatesd.conf. This alleviates the need for me to install my script, and provides the same capabilities. Thanks for your comment!</p>
<p>- Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/comment-page-1/#comment-701404</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 18 Mar 2009 15:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=480#comment-701404</guid>
		<description>I&#039;ve been using the yumnotifier script for awhile, but I just discovered &#039;yum-updatesd&#039; the other day. I&#039;m not an expert here, so I&#039;m just asking - how is this different from what yum-updatesd?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using the yumnotifier script for awhile, but I just discovered &#8216;yum-updatesd&#8217; the other day. I&#8217;m not an expert here, so I&#8217;m just asking &#8211; how is this different from what yum-updatesd?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieda</title>
		<link>http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/comment-page-1/#comment-664887</link>
		<dc:creator>Dieda</dc:creator>
		<pubDate>Sat, 17 Jan 2009 20:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=480#comment-664887</guid>
		<description>Thanks this is much better then when I tried it myself ;-).</description>
		<content:encoded><![CDATA[<p>Thanks this is much better then when I tried it myself ;-).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mw</title>
		<link>http://prefetch.net/blog/index.php/2006/07/16/getting-yum-updates-by-e-mail/comment-page-1/#comment-67636</link>
		<dc:creator>mw</dc:creator>
		<pubDate>Tue, 17 Jul 2007 13:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=480#comment-67636</guid>
		<description>Great script - much better than my last attempt to do this.  I made a small change to ignore kernel updates and only send an email if the return code for yum check-update is not zero:

${YUM} -e0 -d0 check-update --exclude=kernel* &gt; ${WORK}

# If there are updates available, E-mail them
if [ $? -ne &quot;0&quot; ]
then
        REPORT=`${MKTEMP} /tmp/yum.report.XXXXXX`
        echo &quot;==== The following updates are available for ${HOST} ===&quot; &gt; ${REPORT}
        cat ${WORK} &gt;&gt; ${REPORT}
        cat ${REPORT} &#124; ${MAIL} -s &quot;Updates available for ${HOST}&quot; ${ADMIN}
fi</description>
		<content:encoded><![CDATA[<p>Great script &#8211; much better than my last attempt to do this.  I made a small change to ignore kernel updates and only send an email if the return code for yum check-update is not zero:</p>
<p>${YUM} -e0 -d0 check-update &#8211;exclude=kernel* &gt; ${WORK}</p>
<p># If there are updates available, E-mail them<br />
if [ $? -ne "0" ]<br />
then<br />
        REPORT=`${MKTEMP} /tmp/yum.report.XXXXXX`<br />
        echo &#8220;==== The following updates are available for ${HOST} ===&#8221; &gt; ${REPORT}<br />
        cat ${WORK} &gt;&gt; ${REPORT}<br />
        cat ${REPORT} | ${MAIL} -s &#8220;Updates available for ${HOST}&#8221; ${ADMIN}<br />
fi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

