[REGZA Z2] GmailでEメール録画予約2011-07-03

Eメール録画予約がGmailに対応していないのをなんとかしようと調べたところ、 Windowsで動くMELONというソフト使っている例が見つかりました。ただ、いつ使うか分からないEメール録画予約のためにWindows PCをつけっ放しにしておくというのは、昨今の電力事情を顧みるまでもなく、もったいないなので却下です。

NASとして使っているQNAP TS-119でなんとかできないかと中を覗いていたら、stunnelが動いていました。これを利用して、GmailでEメール録画予約できるようにしてみました。

構成

SSLでsmtpやpop3のコネクションがはれない37Z2に成り代わって、TS-119のstunnelでSSLのセッションをはります。TS-119はあくまでトンネリングするだけで、認証などは37Z2で行います。元々動いているstunnelを使いますので、パッケージなどのインストールは不要です。

stunnelの設定

/etc/stunnel/stunnel.confを編集して、TS-119に対してはられたsmtpやpop3をgmailへトンネリングするように設定します。以下に変更個所を記述します。

;output = /dev/null
output = /var/log/stunnel.log

; Use it for client mode
;client = no
client = yes

[smtp]
accept  = 587
connect = smtp.gmail.com:465

[pop3]
accept  = 110
connect = pop.gmail.com:995

最初のoutputでログを残す用にしています。動作確認やトラブル時の原因を探るためなので、うまくいったら元に戻してかまいません。

clientはクライアントモードでの動作を許可しています。

[smtp]と[pop3]セクションは追加しました。それぞれ587番ポートと110番ポートで接続してきたコネクションをgmailの各サーバの465番ポートと995番ポートへトンネリングする設定です。smtpポートを設定できないREGZAの場合は、587の代りに25を指定すればうまくいくかもしれません(未確認)。

設定し終えたら、stunnelを再起動して設定を再読み込みさせます。また、動作を確認するためログファイルを常に表示するようにしておきます。

[~] # /etc/init.d/stunnel.sh restart
[~] # tail -f /var/log/stunnel.log

Eメール録画予約設定

TS-119をメールサーバと見なして、TS-119に接続するように設定します。実際の接続先はGmailですので、アカウント情報等はGmailnoものを設定します。

設定内容は以下の通りです。()内は環境に応じて読み替えてください。

  • POP3サーバーアドレス:(TS-119のIPアドレス)
  • POP3ユーザー名:(Gmailのメールアドレス(@以下も含む))
  • POP3パスワード:(Gmailのパスワード)
  • APOP:使用しない
  • SMTPサーバーアドレス:(TS-119のIPアドレス)
  • SMTPサーバーポート番号:587
  • SMTPサーバー認証:POP3サーバーと同じ
  • メールアドレス:(Gmailのメールアドレス)

設定が終ったら、確認テストを実施します。すると先ほど監視するようにしたログファイルにいろいろ出力されますので、うまく接続できているか確認します。うまく設定できていれば、REGZAの方にテストが成功した旨が表示されます。

テスト

試しに録画予約メールを送ったところ、無事予約録画できました。しかし、予約設定結果通知メールが送られてきません。REGZAと同じように設定したOutlook Expressでは、メールの送受信ができたので、stunnelの設定やOP25Bの問題はなさそうです。REGZA側にまだ問題があるのでしょうか?

コメント

_ Toe Pain ― 2015-09-21 07:06:02

While some may experience gout pain by intermittent flashes of attack, some sufferers on the other hand experience the discomfort of gout during cold temperature or from immobility. Flat feet have various degrees of arch degradation when the body's weight is on them. The i - Pad 2S aka i - Pad HD aka i - Pad 3 is now known as just the i - Pad.

_ Toe Pain ― 2015-09-24 02:55:36

While some may experience gout pain by intermittent flashes of attack, some sufferers on the other hand experience the discomfort of gout during cold temperature or from immobility. After an Achilles tendon rupture, a player will be able to walk flat-footed, but will not be able to stand up on his or her toes on the affected side. Kidney failure is a concern among patients with this condition, and an early diagnosis is important to prolong the use of the kidneys.

_ Toe Pain ― 2015-10-16 17:23:49

Diets high in fat and protein are usually effective for people in losing weight. The magnetic fields in the earth organize the human body to completely a wonderful extent. Sometimes, more than one viral culture test may be requested by the physician to diagnose herpes infection as the lesion may have very little active virus and the test may produce a 'false negative.

_ Toe Pain ― 2015-10-16 20:30:14

eval(ez_write_tag([[300,250],'brighthub_com-medrectangle-2']));. Whether it's in your neck, back, feet, or any part of the body, our bodies should not hurt, and we should not have to compensate for pain. The i - Pad 2S aka i - Pad HD aka i - Pad 3 is now known as just the i - Pad.

_ Toe ― 2015-10-17 06:54:18

It's difficult to find knowledgeable people in this particular topic, but you seem like you know what you're talking about! Thanks

_ mapquest.com ― 2015-10-17 13:26:14

. .

_ Pof Advanced Search ― 2015-10-17 22:23:02

It's fantastic that you are getting ideas from this post as well as from our dialogue made here.

_ Toe Pain ― 2015-10-19 14:27:39

While some may experience gout pain by intermittent flashes of attack, some sufferers on the other hand experience the discomfort of gout during cold temperature or from immobility. Flat feet have various degrees of arch degradation when the body's weight is on them. The i - Pad 2S aka i - Pad HD aka i - Pad 3 is now known as just the i - Pad.

_ antalya escort ― 2015-10-19 23:34:09

Whats up this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

_ Overallpass.com ― 2015-10-20 03:38:16

free animal sex pics

_ Melanoma Of The Foot ― 2015-10-21 04:59:47

I have learn a few just right stuff here. Definitely value bookmarking for revisiting. I surprise how so much effort you put to create one of these excellent informative web site.

_ March fracture ― 2015-10-21 22:55:41

Diets high in fat and protein are usually effective for people in losing weight. Our therapists will provide hands-on therapy to your plantar fascia and calf muscles. A podiatrist may recommend you wear Plantar Fasciitis shoes in Dallas TX to relieve foot pain.

_ Pronation ― 2015-10-25 23:30:03

While some may experience gout pain by intermittent flashes of
attack, some sufferers on the other hand experience the discomfort of gout during
cold temperature or from immobility. Whether it's in your neck, back,
feet, or any part of the body, our bodies should not hurt, and we should not have to compensate for pain. The i - Pad 2S aka i
- Pad HD aka i - Pad 3 is now known as just the i - Pad.

_ additional reading ― 2015-10-27 02:38:18

fantastic publish, very informative. I ponder why the other specialists of this sector do not notice this. You should proceed your writing. I'm sure, you've a huge readers' base already!

_ Claw Toe ― 2015-10-28 07:10:12

Hammertoes have long plagued the human foot, causing pain and discomfort
in shoes. Plantar fasciitis can be treated with rest,
orthotics, anti-inflammatory medications, steroid injections and sometimes surgery.
Only a small percentage of the population is born with foot problems,
the American Podiatric Medical Association believes.

_ find out here now ― 2015-10-28 08:22:57

I'm gone to say to my little brother, that he should also visit this website on regular basis to get updated from latest reports.

_ try this out ― 2015-10-28 10:11:39

Hi there, I discovered your website by the use of Google while searching for a similar subject, your web site got here up, it looks good. I've bookmarked it in my google bookmarks. Hi there, simply was alert to your weblog via Google, and found that it is truly informative. I'm gonna watch out for brussels. I'll appreciate should you continue this in future. Many folks will probably be benefited out of your writing. Cheers!

_ review ― 2015-10-29 02:53:52

I'm not sure exactly why but this site is loading incredibly slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later and see if the problem still exists.

_ see post ― 2015-10-29 11:41:49

Hi i am kavin, its my first occasion to commenting anyplace, when i read this paragraph i thought i could also make comment due to this good paragraph.

_ homepage ― 2015-11-13 04:59:30

Bienvenidos al mejor y mas completo blog de travestis.

_ this article ― 2015-11-13 13:59:25

Thank you for another informative blog. Where else
could I am getting that kind of information written in such an ideal way?
I have a venture that I'm just now working on, and I have been at the
glance out for such information.

_ binære opsjoner forum ― 2015-11-13 15:03:17

Det ‘binære' med binære opsjoner, ligger i at man kun har to grunnleggende investeringsvalg å forholde seg til - hvorvidt et aktivum
stiger eller faller i verdi.

_ Kurtis ― 2015-11-15 03:05:24

I service Real Estate sales in the following Metrowest MA towns: Ashland, Bellingham,
Douglas, Framingham, Franklin, Grafton, Holliston, Hopkinton, Hopedale, Medway, Mendon, Milford,
Millbury, Millville, Northborough, Northbridge, Shrewsbury, Southborough, Sutton, Wayland,
Westborough, Whitinsville, Worcester, Upton and Uxbridge MA.

※コメントの受付件数を超えているため、この記事にコメントすることができません。

トラックバック

このエントリのトラックバックURL: http://hiroro.asablo.jp/blog/2011/07/03/5940054/tb