为什么mutt发送附件的时候会产生mutt

用心创造滤镜
扫码下载App
汇聚2000万达人的兴趣社区下载即送20张免费照片冲印
扫码下载App
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(2329)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'CentOS下使用MUTT发送邮件',
blogAbstract:'
一、安装配置msmtp1、下载、解压 msmtp先使用putty等工具登陆ssh
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}当前访客身份:游客 [
当前位置:
如题,假期帮同事做个定时发布邮件的功能,代码如下:
if [ -f 1.txt ]; then
&&&&rm -rf ./1.txt
&&&&echo '删除成功'
database=192.168.7.150
username=root
password=xxxxxxx
mysql -h${database} -u${username} -p${password} &&EOF
set names 'utf8';
select keyword,targetwebsite,from_unixtime(searchdate,'%Y-%m-%d') as searchdate,projectname,sort,seoranking into outfile '/var/sh/1.txt' from key_keywordrankresult
where dateday=DAYOFMONTH(NOW()) and datemoth=month(NOW()) and userid=4;
echo &`date +%Y-%m-%d`关键词查询结果,此列表为全部结果,格式为txt.& | mutt -s &`date +%Y-%m-%d`关键词查询结果&
*********** -a /var/sh/1.txt
echo `date` '执行成功'
然后写一个定时运行:
41 15 * * * /bin/sh /var/sh/run.sh
sh执行的时候每次发一封邮件,做到crontab时候大多都是11封邮件,
共有1个答案
<span class="a_vote_num" id="a_vote_num_
--- 共有 1 条评论 ---
着实让我激动一番
(2年前)&nbsp&
更多开发者职位上
有什么技术问题吗?
开源中国...的其它问题
类似的话题帐号:密码:下次自动登录{url:/nForum/slist.json?uid=guest&root=list-section}{url:/nForum/nlist.json?uid=guest&root=list-section}
贴数:4&分页:ddang发信人: dingxw (ddang), 信区: LinuxApp
标&&题: mutt发送邮件不成功
发信站: 水木社区 (Wed Feb 15 16:20:23 2012), 站内 && mutt版本为1.5.21,root用户运行一个简单的命令echo hello | mutt -s "test" 。 && 邮箱收不到发来的邮件,应该是没有发送成功。但是以上命令并没有错误信息抛出来(或者错误信息写到某个文件里了?)。尝试直接运行命令mutt,发现屏幕下方有一行“/var/spool/mail/root: No such file or directory (errno = 2)”不知道跟这个有没有关系。以前在别的机器上用mutt发邮件,都有/var/spool/mail/root这个文件的 && 谁能帮我看看要怎么解决这个问题?谢谢 && -- && ※ 来源:·水木社区 ·[FROM: 114.251.188.*]
小蹄子发信人: springlie (小蹄子), 信区: LinuxApp
标&&题: Re: mutt发送邮件不成功
发信站: 水木社区 (Mon Dec&&9 02:13:20 2013), 站内 && 借楼请教LZ,刚刚体验mutt,遇到不能发信的小问题,环境是这样:
[ebuild&& R&&&&] mail-client/mutt-1.5.21-r12&&USE="berkdb crypt gdbm imap nls sidebar smtp ssl -debug -doc -gnutls -gpg -idn -mbox -nntp -pop -qdbm -sasl (-selinux) -smime -tokyocabinet" && 配置文件基本套用了
里的,imap,现在收信成功,发信时显示“553 Error: authentication is required”,但是不知道怎么配置这个授权,也不知道mutt本身就可以完成,还是需要装额外的包,如esmtp等。
求解,谢谢!
【 在 dingxw (ddang) 的大作中提到: 】
: mutt版本为1.5.21,root用户运行一个简单的命令echo hello | mutt -s "test" 。
: 邮箱收不到发来的邮件,应该是没有发送成功。但是以上命令并没有错误信息抛出来(或者错误信息写到某个文件里了?)。尝试直接运行命令mutt,发现屏幕下方有一行“/var/spool/mail/root: No such file or directory (errno = 2)”不知道跟这个有没有关系。
: 谁能帮我看看要怎么解决这个问题?谢谢
: ...................
&& -- &&&&&&&&&& 哈哈后 &&&& ※ 来源:·水木社区 newsmth.net·[FROM: 114.244.85.*]
米豆发信人: siziki (米豆), 信区: LinuxApp
标&&题: Re: mutt发送邮件不成功
发信站: 水木社区 (Mon Dec&&9 16:01:02 2013), 站内 && 建一个呗
【 在 dingxw 的大作中提到: 】
: mutt版本为1.5.21,root用户运行一个简单的命令echo hello | mutt -s "test" 。
: 邮箱收不到发来的邮件,应该是没有发送成功。但是以上命令并没有错误信息抛出来(或者错误信息写到某个文件里了?)。尝试直接运行命令mutt,发现屏幕下方有一行“/var/spool/mail/root: No such file or directory (errno = 2)”不知道跟这个有没有关系。以前在别的机器上用mutt发邮件,都有/var/spool/mail/root这个文件的
: 谁能帮我看看要怎么解决这个问题?谢谢
&& -- && ※ 来源:·水木社区 ·[FROM: 58.101.58.*]
飞龙在天发信人: i686 (飞龙在天), 信区: LinuxApp
标&&题: Re: mutt发送邮件不成功
发信站: 水木社区 (Mon Dec&&9 18:47:08 2013), 站内 && tail /var/log/messages.log
【 在 dingxw (ddang) 的大作中提到: 】
: mutt版本为1.5.21,root用户运行一个简单的命令echo hello | mutt -s "test" 。
: 邮箱收不到发来的邮件,应该是没有发送成功。但是以上命令并没有错误信息抛出来(或者错误信息写到某个文件里了?)。尝试直接运行命令mutt,发现屏幕下方有一行“/var/spool/mail/root: No such file or directory (errno = 2)”不知道跟这个有没有关系。
: 谁能帮我看看要怎么解决这个问题?谢谢
: ...................
&& -- && ※ 来源:·水木社区 newsmth.net·[FROM: 106.46.245.*]
文章数:4&分页:
抽奖到手软!将狂欢进行到底!01:28 提问
mutt + msmtp ,126邮箱发送成功,QQ邮箱发送失败,请问什么原因导致的失败?感谢
我弄了一晚上都没弄好,关于认证、加密、端口什么的都试过无数次了
goolge到一篇帖子,通过抓包发现本应该被识别的部分数据被忽视了,导致步骤错位
请更明白其中原因的大神,能够精确指点一下
(我猜想sendmail或者postfix会不会存在类似的问题)
其他相似问题
相关参考资料Recent Commits:
Development
Mutt 1.5.24 was released on August 31, 2015.
In addition to bug fixes,
we managed to slip in some new features and enhancements. See
for more details.
Mutt 1.5.23 was released on March 12, 2014.
This is security bugfix release.
Mutt 1.5.22 was released on October 18, 2013.
This is primarily a bugfix release.
Adds support for TLS 1.1/1.2.
Mutt 1.5.21 was released on September 15, 2010.
The most notable user-visible change (aside from bug fixes) is the new
$mail_check_recent flag to partially address
(the major blocker for
1.6). It also contains a larger than usual number of bug fixes, thanks
to the long time between releases.
Mutt 1.5.20 was released on June 14, 2009.
This release contains an
enormous number of bugfixes, and several high-level changes.
Mutt 1.5.19 was released on January 5, 2009.
This is mostly a bugfix
release on the long road to 1.6.
We're still in feature freeze (mostly) for 1.6. The list of items blocking
the release of mutt 1.6 may be found here:
Patches for any issues found there would be greatly appreciated.
Mutt 1.4.2.3 was released on June 9, 2007.
This release fixes
(gecos overflow) and
(APOP MD5 collision attack).
Mutt 1.4.2.2 was released on July 14, 2006.
This release fixes
a buffer overflow that could be triggered by a malicious IMAP server.
General Info
Mutt is a small but very powerful text-based mail client for Unix
operating systems.
The current stable public release version is
1.4.2.3; the current development release version is 1.5.24.
information, see the following:
(releases, security alerts, etc.)
(viewcvs, CVS commits RSS feed, etc.)
Some of Mutt's features include:
color support
message threading
MIME support (including RFC2047 support for encoded headers)
PGP/MIME (RFC2015)
various features to support mailing lists, including list-reply
active development community
POP3 support
IMAP support
full control of message headers when composing
support for multiple mailbox formats (mbox, MMDF, MH, maildir)
highly customizable, including keybindings and macros
change configuration automatically based on recipients, current folder, etc.
searches using regular expressions, including an internal pattern matching language
Delivery Status Notification (DSN) support
postpone message composition indefinetly for later recall
easily include attachments when composing, even from the command line
ability to specify alternate addresses for recognition of mail forwarded from other accounts, with ability to set the From: headers on replies/etc. accordingly
multiple message tagging
reply to or forward multiple messages at once
.mailrc style configuration files
easy to install (uses GNU autoconf)
compiles against either curses/ncurses or S-lang
translation into at least 20 languages
small and efficient
It's free! (no cost and GPL'ed)
Though written from scratch, Mutt's initial interface was based largely

我要回帖

更多关于 mutt 发送多人 的文章

 

随机推荐