<?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>Ant Drewery &#187; Qmail</title>
	<atom:link href="http://blog.drewery.net/category/qmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.drewery.net</link>
	<description>IT infrastructure, support and strategy</description>
	<lastBuildDate>Thu, 01 Dec 2011 09:47:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.drewery.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ant Drewery &#187; Qmail</title>
		<link>http://blog.drewery.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.drewery.net/osd.xml" title="Ant Drewery" />
	<atom:link rel='hub' href='http://blog.drewery.net/?pushpress=hub'/>
		<item>
		<title>Using Qmail as a store and forward service</title>
		<link>http://blog.drewery.net/2006/08/04/using-qmail-as-a-store-and-forward-service/</link>
		<comments>http://blog.drewery.net/2006/08/04/using-qmail-as-a-store-and-forward-service/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 15:03:49 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/08/04/using-qmail-as-a-store-and-forward-service/</guid>
		<description><![CDATA[I have a stake in a London based fire protection company and sometimes get involved with their IT. Being a small company they run MS Small Business Server 2003 and connect to the internet using ADSL and a fixed IP address. For their email the MX reccord points to their internal server via a port [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=103&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="left">I have a stake in a London based <a href="http://www.griffinfire.com" target="_blank">fire protection company</a>  and sometimes get involved with their IT. Being a small company they run <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx" target="_blank">MS Small Business Server 2003</a>  and connect to the internet using ADSL and a fixed IP address. For their email the MX reccord points to their internal server via a port mapping on their firewall. I also wanted to give them a secondary MX record with a store and forward service in case their server or Internet connection is down for a prolonged period. I looked at various commercial services but eventually decided to make use of their dedicated web server hosted by their ISP. The server runs <a href="http://fedora.redhat.com/" target="_blank">Fedora Core</a>  and includes <a href="http://www.qmail.org/top.html" target="_blank">Qmail</a>  as part of the build.</p>
<p align="left">I&#8217;m far from being skilled in Linux/Qmail but I can stumble my way through when necessary. There&#8217;s a plethora of resource material on the Internet and I use a little Unix and <a href="http://www.sendmail.org/" target="_blank">Sendmail</a>  at work. Dave Sill has produced the excellent <a href="http://www.lifewithqmail.org/" target="_blank">Life With Qmail</a> guide that will get you started with Qmail.</p>
<p align="left">Firstly you&#8217;ll need an SSH client. I use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a>. Once logged in to your server navigate to /var/qmail/control.</p>
<p align="left">Next <a href="http://en.wikipedia.org/wiki/Vi" target="_blank">vi</a>  the rcpthosts file. (I&#8217;m sure there are other editors but I learnt the basics of vi back at university on VAX/VMS systems so stick with what I know.) Add to the file the domain you want to store and forward for e.g. griffinfire.co.uk. Save your changes and exit.</p>
<p align="left">Now vi the smtproutes file. Here you need to add the SMTP domain and destination host in the following format SMTPdomainname:FQDNofdestinationhost e.g. griffinfire.co.uk:mail.griffinfire.co.uk. Save and exit. </p>
<p align="left">And that&#8217;s all there is to it.</p>
<p align="left">You can&#8217;t adjust the delivery retry intervals in Qmail but it will keep the messages for 1 week before expiring. This is longer than the defaults for some other messaging systems (Exchange 2003 defaults to 48 hours, MIMEsweeper is 72 hours) and therefore ideal for a store and forward service.</p>
<p align="left">With some slight further configuration it should also be possible to access the stored email via a web interface which would be useful in a DR scenario. This is on my to-do list and I&#8217;ll blog the process once done.</p>
<p align="left">[Tags]Qmail[/tags]&nbsp;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/103/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/103/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=103&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/08/04/using-qmail-as-a-store-and-forward-service/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>
	</item>
	</channel>
</rss>
