这里的信息可能是由于所做的什么操作触发了发邮件的事件, 系统发送的邮件提醒.

我遇到的原因是由于运行 cron , 由于权限所导致了发邮件的事件提醒.

Last login: Tue Apr 26 09:15:20 on console
You have new mail.

在这里找到了原因

 

I was also having this issue of "You have mail" coming up every time I started Terminal.

What I discovered is this.

Something I'd installed (not entirely sure what, but possibly a script or something associated with an Alfred Workflow [at a guess], made a change to the OS X system to start presenting Terminal bash notifications. Prior to that, it appears Wordpress had attempted to use the Local Mail system to send a message. The message bounced, due to it having an invalid Recipient address. The bounced message then ended up in the local system mail inbox. So Terminal (bash) was then notifying me that "You have mail".

You can access the mail by simply using the command

mail

then

t

This will show you the first message. Use

n

To jump to the next message. This may help you identify what attempted to send the message(s).

Use the command

d

To delete each message when you are done looking at them.

In my particular case, there were a number of messages. It looks like the one was a returned message that bounced. It was sent by a local Wordpress installation. It was a notification for when user "Admin" (me) changed its password. Two additional messages where there. Both seemed to be to the same incident.

What I don't know, and can't answer for you either, is WHY I only recently started seeing this mail notification each time I open Terminal. The mails were generated a couple of months ago, and yet I only noticed this "you have mail" appearing in the last few weeks. I suspect it's the result of something a workflow I installed in Alfred, and that workflow using Terminal bash to provide notifications... or something along those lines.

最新文章

  1. sqlite学习1
  2. java实现Haffman编码
  3. VIM 常用错误解决
  4. sharepoint 中waiting screen dialog的使用方法(JSOM)
  5. Android中手机号、车牌号正则表达式
  6. 【Qt】Qt环境搭建(Visual Studio)【转】
  7. IE标签a嵌套table标签,链接点击无效
  8. hdu 1394 zoj 1484 求旋转序列的逆序数(并归排序)
  9. 利用Fiddler抓取手机APP数据包
  10. dfs练习
  11. vue组件详解(四)——使用slot分发内容
  12. web services + soap + wsdl 学习
  13. dll版本兼容
  14. uploadify的碎碎念 upload
  15. 3YAdmin-专注通用权限控制与表单的后台管理系统模板
  16. [IIS] 配置PHP的过程与坑
  17. OpenCV学习(34) 点到轮廓的距离
  18. Winform中产生验证码图片
  19. Android数据适配-ExpandableListView
  20. 3:C#异步WaitAll的使用

热门文章

  1. Python 全栈开发 -- 监控篇
  2. Android 制作一个网页源代码浏览器(HttpURLConnection)
  3. 只看Delphi自带的WnAPI帮助似乎不够
  4. Learning WCF Chapter2 Data Contracts
  5. Python urllib2写爬虫时候每次request open以后一定要关闭
  6. maven多配目配置总结
  7. BZOJ_1588_&_Codevs_1296_[HNOI2002]_营业额统计(平衡树/set)
  8. POJ_2503_Babelfish_(Trie/map)
  9. wps操作记录
  10. 微软原版SQLHelper类