ActionMailer をよりによって % script/runner 'Receiver::receive(STDIN.read)'などとして使っているとその重さに途方にくれてしまう。 というわけで、メール処理デーモンを使うことを考える。初めはActiveMessaging とActiveMQの組み合わせでゴニョゴニョしようと思ったけど、ActiveMQ のフットプリントが思ったより大きくて、チューニングするのも面倒で手に余ったので、結局 MTA からメールを受け取ったあと、オレオレ HTTP 拡張で RFC2822 形式のメールを HTTP リクエストに変換するスクリプトを書いて、ActionController に処理させることにした。HTTP にしちゃえば、あとはお手軽 DNS ラウンドロビンも mod_proxy_balancer も使える。運用を考えると、メッセージングのプロ