<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>bash on HiMySQL - leopku 润物细无声</title>
    <link>https://himysql.now.sh/tags/bash/</link>
    <description>Recent content in bash on HiMySQL - leopku 润物细无声</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 28 Sep 2010 18:51:13 +0000</lastBuildDate>
    
	<atom:link href="https://himysql.now.sh/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>命令行下通过smtp发送邮件的工具——SendmailViaSMTP</title>
      <link>https://himysql.now.sh/post/sending-mail-through-smtp-server-under-console/</link>
      <pubDate>Tue, 28 Sep 2010 18:51:13 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/sending-mail-through-smtp-server-under-console/</guid>
      <description>&lt;p&gt;经常需要在脚本运行结束后，通过邮件发送执行结果报告。&lt;/p&gt;

&lt;p&gt;结果在命令下通过smtp帐号发送邮件真是难啊。找来找去，找到mstmp，很强大的工具。百度和google上很多mutt + msmtp结合发邮件的办法。&lt;/p&gt;

&lt;p&gt;不过mutt + msmtp作为桌面解决方案还是不错的，我要在多台上服务器上发送邮件，难道要这些服务器上都安装mutt？好吧，安装也就算了，这些服务器上都配置一遍mutt的……后来是直接使用了msmtp来发送邮件。&lt;/p&gt;

&lt;p&gt;&lt;del&gt;还编译了msmtp截止发稿时的最新版本1.4.21版的rpm，含i386和x86_84两种架构的。有需要的朋友请留下邮箱。（为什么不直接放博客上？因为好戏在后头）&lt;/del&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>