<?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 for Sanity Software Wisdom</title>
	<atom:link href="http://keakaj.com/wisdom/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://keakaj.com/wisdom</link>
	<description>Programming Wisdom for Mac OS X and Ruby on Rails Developers</description>
	<lastBuildDate>Sun, 21 Aug 2011 22:45:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on VERP on Rails by Processing incoming emails &#124; Callum Macdonald</title>
		<link>http://keakaj.com/wisdom/2007/08/08/verp-on-rails/comment-page-1/#comment-10049</link>
		<dc:creator>Processing incoming emails &#124; Callum Macdonald</dc:creator>
		<pubDate>Sun, 21 Aug 2011 22:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/08/08/verp-on-rails/#comment-10049</guid>
		<description>[...] also read a few articles about having postfix send mail to a script. This one is useful. This article talks about configuring custom reply-to addresses to know which emails bounce, something [...]</description>
		<content:encoded><![CDATA[<p>[...] also read a few articles about having postfix send mail to a script. This one is useful. This article talks about configuring custom reply-to addresses to know which emails bounce, something [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Avoid Emailing Bounced Addresses by Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2424</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 06:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2424</guid>
		<description>Ugh...that should be &quot;require_dependency email_gatekeeper&quot; without the .rb.

I&#039;m up late...</description>
		<content:encoded><![CDATA[<p>Ugh&#8230;that should be &#8220;require_dependency email_gatekeeper&#8221; without the .rb.</p>
<p>I&#8217;m up late&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Avoid Emailing Bounced Addresses by Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2423</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 06:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2423</guid>
		<description>Actually, no...I am a crazy person. The code in this post wasn&#039;t working for me until I discovered that:

a) I needed to use perform_delivery_smtp and
b) if you create this file in your lib directory, you&#039;ll probably need to add &quot;require_dependency email_gatekeeper.rb&quot; to the bottom of your environment.rb file.</description>
		<content:encoded><![CDATA[<p>Actually, no&#8230;I am a crazy person. The code in this post wasn&#8217;t working for me until I discovered that:</p>
<p>a) I needed to use perform_delivery_smtp and<br />
b) if you create this file in your lib directory, you&#8217;ll probably need to add &#8220;require_dependency email_gatekeeper.rb&#8221; to the bottom of your environment.rb file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Avoid Emailing Bounced Addresses by Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2420</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 03:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2420</guid>
		<description>Hey Bala, I had the same problem too, and after looking at the rails documentation, I discovered that :perform_delivery_sendmail doesn&#039;t exist anymore.

I&#039;m using rails 2.3, and I had to change it to:
alias_method_chain :delivery!, :gatekeeper

Then rename the method above as:
def deliver_with_gatekeeper!(mail = @mail)

Then at the end of the method, you&#039;ll need to change it to this:
deliver_without_gatekeeper!(mail)

Basically, you&#039;re just changing it to use deliver! instead of perform_delivery_sendmail.

If you&#039;re using Rails 3.0, it&#039;s possible that they&#039;ve changed it to something else, so, just look in the ActionMailer documentation in the Rails docs for whatever looks to be the last stop before sending the email.</description>
		<content:encoded><![CDATA[<p>Hey Bala, I had the same problem too, and after looking at the rails documentation, I discovered that :perform_delivery_sendmail doesn&#8217;t exist anymore.</p>
<p>I&#8217;m using rails 2.3, and I had to change it to:<br />
alias_method_chain :delivery!, :gatekeeper</p>
<p>Then rename the method above as:<br />
def deliver_with_gatekeeper!(mail = @mail)</p>
<p>Then at the end of the method, you&#8217;ll need to change it to this:<br />
deliver_without_gatekeeper!(mail)</p>
<p>Basically, you&#8217;re just changing it to use deliver! instead of perform_delivery_sendmail.</p>
<p>If you&#8217;re using Rails 3.0, it&#8217;s possible that they&#8217;ve changed it to something else, so, just look in the ActionMailer documentation in the Rails docs for whatever looks to be the last stop before sending the email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Avoid Emailing Bounced Addresses by Bala</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-1608</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Tue, 03 Aug 2010 14:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-1608</guid>
		<description>Hi,

I have created alias for perform_delivery_smtp and i have created gatekeeper method.

but its not working. how do we make it work. i feel that control itself not coming to gatekeeper method.because i am debugging gatekeeper method. not able to find any debugging statement.

Thanks &amp; Regards,
Bala.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have created alias for perform_delivery_smtp and i have created gatekeeper method.</p>
<p>but its not working. how do we make it work. i feel that control itself not coming to gatekeeper method.because i am debugging gatekeeper method. not able to find any debugging statement.</p>
<p>Thanks &amp; Regards,<br />
Bala.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VERP on Rails by Valery</title>
		<link>http://keakaj.com/wisdom/2007/08/08/verp-on-rails/comment-page-1/#comment-1234</link>
		<dc:creator>Valery</dc:creator>
		<pubDate>Wed, 26 May 2010 19:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/08/08/verp-on-rails/#comment-1234</guid>
		<description>Here is my solution http://blog.gipoo.net/2010/5/26/handling-bounced-emails-in-ruby-on-rails</description>
		<content:encoded><![CDATA[<p>Here is my solution <a href="http://blog.gipoo.net/2010/5/26/handling-bounced-emails-in-ruby-on-rails" rel="nofollow">http://blog.gipoo.net/2010/5/26/handling-bounced-emails-in-ruby-on-rails</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cache-Control Header for Amazon S3 by almost effortless &#187; Weekly Digest, 12-21-08</title>
		<link>http://keakaj.com/wisdom/2007/07/27/cache-control-header-for-amazon-s3/comment-page-1/#comment-1154</link>
		<dc:creator>almost effortless &#187; Weekly Digest, 12-21-08</dc:creator>
		<pubDate>Tue, 30 Mar 2010 15:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/?p=3#comment-1154</guid>
		<description>[...] Cache-Control Header for Amazon S3 Or “How to set a far future Expires header in S3 to appease the YSlow gods”. [...]</description>
		<content:encoded><![CDATA[<p>[...] Cache-Control Header for Amazon S3 Or “How to set a far future Expires header in S3 to appease the YSlow gods”. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VERP on Rails by Brian Armstrong</title>
		<link>http://keakaj.com/wisdom/2007/08/08/verp-on-rails/comment-page-1/#comment-940</link>
		<dc:creator>Brian Armstrong</dc:creator>
		<pubDate>Fri, 17 Jul 2009 05:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/08/08/verp-on-rails/#comment-940</guid>
		<description>bounces: &#124; &quot;RAILS_ENV=production /usr/local/bin/ruby /u/apps/your_app/current/script/runner &#039;BounceHandler.receive(STDIN.read)&#039;&quot;

Does this above line start an instance of your rails app for EVERY received bounce?  Seems like it could quickly kill your server if you got a bunch of bounces quickly, like while sending out a mass mail.  Maybe better to run it from a cron somehow, or am I missing something?

Thanks for posting this,
Brian</description>
		<content:encoded><![CDATA[<p>bounces: | &#8220;RAILS_ENV=production /usr/local/bin/ruby /u/apps/your_app/current/script/runner &#8216;BounceHandler.receive(STDIN.read)&#8217;&#8221;</p>
<p>Does this above line start an instance of your rails app for EVERY received bounce?  Seems like it could quickly kill your server if you got a bunch of bounces quickly, like while sending out a mass mail.  Maybe better to run it from a cron somehow, or am I missing something?</p>
<p>Thanks for posting this,<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VERP on Rails by rob</title>
		<link>http://keakaj.com/wisdom/2007/08/08/verp-on-rails/comment-page-1/#comment-872</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Fri, 15 May 2009 06:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/08/08/verp-on-rails/#comment-872</guid>
		<description>oh, my bad. i didn&#039;t know this: 

&quot;To receive emails, you need to implement a public instance method called receive that takes a tmail object as its single parameter. The Action Mailer framework has a corresponding class method, which is also called receive, that accepts a raw, unprocessed email as a string, which it then turns into the tmail object and calls the receive instance method.&quot;</description>
		<content:encoded><![CDATA[<p>oh, my bad. i didn&#8217;t know this: </p>
<p>&#8220;To receive emails, you need to implement a public instance method called receive that takes a tmail object as its single parameter. The Action Mailer framework has a corresponding class method, which is also called receive, that accepts a raw, unprocessed email as a string, which it then turns into the tmail object and calls the receive instance method.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VERP on Rails by rob</title>
		<link>http://keakaj.com/wisdom/2007/08/08/verp-on-rails/comment-page-1/#comment-868</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 14 May 2009 00:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/08/08/verp-on-rails/#comment-868</guid>
		<description>I&#039;m a little confused.  email is being read in from STDIN, so it&#039;s a string; how does it know what .body and .to mean?</description>
		<content:encoded><![CDATA[<p>I&#8217;m a little confused.  email is being read in from STDIN, so it&#8217;s a string; how does it know what .body and .to mean?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.232 seconds -->

