<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>solis</author_name>
  <author_url>https://blog.hatena.ne.jp/solis/</author_url>
  <blog_title>Railsなど技術系覚え書き</blog_title>
  <blog_url>https://solis.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>メール受信と同時にシェルを実行させる UNIX環境では、.forwardか.qmail(qmail環境）でメール受信時にシェルが実行できるようだ。.forwardは通常メール転送で使われて、１行メールアドレスを書いておけばいい。ただ通常のプロバイダーでは使えない。それをシェル実行にするには | /opt/exec.sh のような感じですればいいらしい。 ただ、そのサーバーをDNS のMXレコード指定しなくてはいけなかったり、セキュリティの面でたいへんだ。 cronなどで定期的にメールを読みに行く方法 POP/IMAPで定期的にメールを読みにいって、そのメールの内容に従って実行する。これならば外…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsolis.hatenadiary.org%2Fentry%2F20080613%2F1213323224&quot; title=&quot;メール受信したら、実行することの覚書 - Railsなど技術系覚え書き&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-06-13 11:13:44</published>
  <title>メール受信したら、実行することの覚書</title>
  <type>rich</type>
  <url>https://solis.hatenadiary.org/entry/20080613/1213323224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
