ゆるふわキャンパー
  • Home
  • Search posts
  • About Lorentzca
  • Blog Metrics

mailgun

A collection of 2 posts

Rewrite check_mailgun.sh to golang
mackerel

Rewrite check_mailgun.sh to golang

以前mailgunのステータスをmackerelで監視するシェルスクリプトを書きました。 Check maingun status on mackerel これをようやくGoで書き直して、一応使える状態にはなったのでうp。 GitHub - Lorentzca/check-mailgun: WIP デモ。 $ ./build/darwin_amd64_check-mailgun -p key-xxxx -d ghost.ponpokopon.me State OK: ghost.ponpokopon.me is active あんまりよくわかってないまま書いたので後で復習が必要。特に以下。

  • Lorentzca
    Lorentzca
1 min read
Check maingun status on mackerel
ghost

Check maingun status on mackerel

ghostにはmailの設定がある。mailは今のところ、パスワードをわすれた時に再設定メールを送る際に使用される。バージョン0.8からはβ機能の一つのsubscribers機能からも使う(まだメール送信機能は無いっぽいけど)。 Mail Configuration on self-hosted version of Ghost 送信元メールアドレスの設定方法はいくつかある。 Mailgun Amazon Simple Email Service Gmail このうち簡単に試せそうなmailgunで設定していた。 こんな感じ。 mail: { fromaddress: 'lorentzca@ghost.ponpokopon.me', transport: 'SMTP', options: { service: 'Mailgun',

  • Lorentzca
    Lorentzca
2 min read
ゆるふわキャンパー © 2019
Latest Posts Facebook Twitter Ghost