[{"data":1,"prerenderedAt":86},["ShallowReactive",2],{"navigation":3,"post-\u002Fposts\u002F2019\u002Fghost-docker-mail-config":20,"surroundPosts-\u002Fposts\u002F2019\u002Fghost-docker-mail-config":73},[4,8,12,16],{"title":5,"path":6,"stem":7},"首页","\u002F","00.index",{"title":9,"path":10,"stem":11},"文章","\u002Fposts","01.posts",{"title":13,"path":14,"stem":15},"动态","\u002Fmoments","02.moments",{"title":17,"path":18,"stem":19},"关于","\u002Fabout","09.about",{"id":21,"title":22,"body":23,"class":50,"cover":51,"coverSize":50,"date":52,"description":29,"draft":53,"extension":54,"hideComments":53,"location":50,"meta":55,"navigation":56,"path":57,"readingTime":58,"seo":63,"sitemap":64,"stem":65,"tags":66,"time":50,"weather":71,"__hash__":72},"posts\u002Fposts\u002F2019\u002F20190109.ghost-docker-mail-config.md","Ghost Docker 部署方式配置邮箱",{"type":24,"value":25,"toc":47},"minimark",[26,30,33,44],[27,28,29],"p",{},"很久没登录博客了，今天登录时，发现忘记密码了，之前都是自动登录的，估计是自动登录过期了，没办法自动登录了，试了几次，账号被锁定了。",[27,31,32],{},"尝试找回密码，发现好像没有配置 SMTP 邮箱。于是找了下配置项，用 Docker 部署的话，在编排模板的 environment 中添加如下配置：",[34,35,40],"pre",{"className":36,"code":38,"language":39},[37],"language-text","- 'mail__transport=SMTP'\n- 'mail__from=Ghost \u003Cxx@xxx.com>'\n- 'mail__options__host=smtp.qiye.aliyun.com'\n- 'mail__options__secureConnection=true'\n- 'mail__options__port=465'\n- 'mail__options__auth__user=xx@xxx.com'\n- 'mail__options__auth__pass=YOUR_PASSWORD'\n","text",[41,42,38],"code",{"__ignoreMap":43},"",[27,45,46],{},"重新部署一下即可。",{"title":43,"searchDepth":48,"depth":48,"links":49},2,[],null,"png","2019-01-09",false,"md",{},true,"\u002Fposts\u002F2019\u002Fghost-docker-mail-config",{"text":59,"minutes":60,"time":61,"words":62},"1 min read",0.62,37200,124,{"title":22,"description":29},{"loc":57},"posts\u002F2019\u002F20190109.ghost-docker-mail-config",[67,68,69,70],"技术","博客","Ghost","Docker","天气阴","yJjcNS7QIvqk0sWEB0_f7Ds-et57mbeIjVP1lrbEJOE",[74,80],{"title":75,"path":76,"stem":77,"date":78,"description":79,"children":-1},"关于打工","\u002Fposts\u002F2019\u002Fabout-work","posts\u002F2019\u002F20190114.about-work","2019-01-14","“打工是不可能打工的，这辈子不可能打工的。”",{"title":81,"path":82,"stem":83,"date":84,"description":85,"children":-1},"你好，2019","\u002Fposts\u002F2019\u002Fhello-2019","posts\u002F2019\u002F20190104.hello-2019","2019-01-04","昨晚发烧了，39 度多，一夜睡得很难受。",1777579143272]