<?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: A &#8220;testing&#8221; email server which doesn&#8217;t send out any emails</title>
	<atom:link href="http://johnmee.com/2008/12/172/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmee.com/2008/12/172/</link>
	<description>A Programmer in Sydney, Australia</description>
	<lastBuildDate>Sat, 31 Mar 2012 04:02:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Paul</title>
		<link>http://johnmee.com/2008/12/172/comment-page-1/#comment-1287</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 24 Jul 2009 02:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=172#comment-1287</guid>
		<description>John, I don&#039;t know if (a) you are still looking or (b) you have access to a Windows box.  If so, smtp4dev (http://smtp4dev.codeplex.com/) is pretty great, I had the same need myself. 

Now, to continue looking for somewhere near Melbourne that can let me try out a frickin&#039; Steelcase Leap chair.</description>
		<content:encoded><![CDATA[<p>John, I don&#8217;t know if (a) you are still looking or (b) you have access to a Windows box.  If so, smtp4dev (<a href="http://smtp4dev.codeplex.com/" rel="nofollow">http://smtp4dev.codeplex.com/</a>) is pretty great, I had the same need myself. </p>
<p>Now, to continue looking for somewhere near Melbourne that can let me try out a frickin&#8217; Steelcase Leap chair.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://johnmee.com/2008/12/172/comment-page-1/#comment-1279</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 13 Apr 2009 05:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=172#comment-1279</guid>
		<description>Harald, awesome contribution. Thanks.

Actually I needed a solution for this yet again soon after the initial posting. That server was only running the default Sendmail. From memory, I added the domains I wanted to trap to a sendmail config file, then played with the aliases so that it appended all that email to a specified file.  It worked rather well in that I could just tail the file and watch the raw emails accumulate.

I&#039;ll have to dig that solution out and post its details sometime sooner than later.  Thanks again.</description>
		<content:encoded><![CDATA[<p>Harald, awesome contribution. Thanks.</p>
<p>Actually I needed a solution for this yet again soon after the initial posting. That server was only running the default Sendmail. From memory, I added the domains I wanted to trap to a sendmail config file, then played with the aliases so that it appended all that email to a specified file.  It worked rather well in that I could just tail the file and watch the raw emails accumulate.</p>
<p>I&#8217;ll have to dig that solution out and post its details sometime sooner than later.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald.Stürzebecher</title>
		<link>http://johnmee.com/2008/12/172/comment-page-1/#comment-1278</link>
		<dc:creator>Harald.Stürzebecher</dc:creator>
		<pubDate>Thu, 09 Apr 2009 15:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=172#comment-1278</guid>
		<description>I found a solution that might fit your problem:

I wanted to send mail from a machine that would not be able to have any physical connection to the internet - transporting mail should be done via removable media. And I wanted to be able to check the mails when debugging the software that sent them.

I found some documentation for qmail that described how to put all outgoing mail into a local Maildir (somewhere in http://www.jochen-solbrig.de/freebsd/dialuplan/dialuplan.html, IIRC) and send mail from there.

After browsing the docs I found that could do the same with postfix by defining a transport in /etc/postfix/master.cf:

ppp  unix  -  n  n  -  -  pipe flags= user=ppp argv=/usr/bin/procmail -d ppp

and make it the default in main.cf:

default_transport=ppp

Obviously, a user named &quot;ppp&quot; had to be added to make that work. Now all outgoing mail gets dropped into ppp&#039;s Maildir.

This user account looks like a normal user account to the IMAP server installed on the machine and the mails can be accessed (and deleted) from any IMAP-capable mail client.</description>
		<content:encoded><![CDATA[<p>I found a solution that might fit your problem:</p>
<p>I wanted to send mail from a machine that would not be able to have any physical connection to the internet &#8211; transporting mail should be done via removable media. And I wanted to be able to check the mails when debugging the software that sent them.</p>
<p>I found some documentation for qmail that described how to put all outgoing mail into a local Maildir (somewhere in <a href="http://www.jochen-solbrig.de/freebsd/dialuplan/dialuplan.html" rel="nofollow">http://www.jochen-solbrig.de/freebsd/dialuplan/dialuplan.html</a>, IIRC) and send mail from there.</p>
<p>After browsing the docs I found that could do the same with postfix by defining a transport in /etc/postfix/master.cf:</p>
<p>ppp  unix  &#8211;  n  n  &#8211;  &#8211;  pipe flags= user=ppp argv=/usr/bin/procmail -d ppp</p>
<p>and make it the default in main.cf:</p>
<p>default_transport=ppp</p>
<p>Obviously, a user named &#8220;ppp&#8221; had to be added to make that work. Now all outgoing mail gets dropped into ppp&#8217;s Maildir.</p>
<p>This user account looks like a normal user account to the IMAP server installed on the machine and the mails can be accessed (and deleted) from any IMAP-capable mail client.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

