![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
邮件
风车带走过往
这个作者很懒,什么都没留下…
展开
-
Linux个人机器使用465发送邮件
关闭其它的邮件工具service sendmail stopservice postfix stop向qq请求证书mkdir -p /root/.certs/echo -n | openssl s_client -connect smtp.qq.com:465 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ~/.certs/qq.crtcertutil -A -n "GeoTrust SSL CA" -t "C,," -d原创 2021-07-27 10:12:35 · 746 阅读 · 0 评论 -
linux mail使用默认端口25发送邮件
linux mutt邮件发送配置首先介绍一下mutt这个软件,它是一款基于文字界面的邮件客户端,非常小巧,但功能强大,可以用它来读写,回复保存和删除你的邮件,能在linux命令行模式下收发邮件附件。更多的用法请查阅官网:http://www.mutt.org一、mutt的安装yum -y install sendmail#需要安装sendmail并开启防火墙的25端口,如果你需要收邮件110端口也要开yum -y install mutt二、配置信息在安装完成之后,如果/root目录下并没有原创 2020-08-25 18:48:14 · 1279 阅读 · 0 评论 -
用mutt发送html格式的邮件 转载
用以下方法可以实现:(前提:mutt 必须在1.5版本以上,我用的1.5.21)cat index.html |/usr/local/mutt/bin/mutt -s “test” -e ‘set content_type=“text/html”’ tian.zhiying@163.com另外:mutt还可以发送带附件的邮件echo "this is test " |/usr/local/mutt/bin/mutt -s “test” tian.zhiying@163.com -a /root/ext转载 2020-05-26 16:02:26 · 335 阅读 · 0 评论