<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Postfix</anon>
    <anon>mruby</anon>
  </categories>
  <description>Postfix の mruby plugin を作ってみました。 tmtm/postfix-mruby 誰得かわからないんですけど、Postfix のルックアップテーブルで mruby スクリプトで結果を返すことができます。 たとえば、次のようなスクリプトを作れば、 class Hoge def lookup(key) key.reverse end end Hoge.new 与えられたキーを反転して返すことができます。 % postmap -q hoge mruby:/path/to/hoge.rb egoh</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2015%2F02%2F20%2Fpostfix-mruby-plugin&quot; title=&quot;Postfix mruby plugin - tmtms のメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://f.st-hatena.com/images/fotolife/t/tmtms/20141204/20141204004219.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-20 01:54:47</published>
  <title>Postfix mruby plugin</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/2015/02/20/postfix-mruby-plugin</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
