不速之客文件‘mbox’

不速之客文件‘mbox’

我检查主目录并发现一个额外的文件“mbox”

me@alpha:~$ ls -l | grep 'mbox' | sed "s/$USER/me/g"
-rw-------  1 me me   315392 Jan 19 23:10 mbox
-rw-r--r--  1 me me        0 Jan 19 23:10 mbox.lock

我并不是故意创建这样的文件

me@alpha:~$ cat mbox | head -10 | sed "s/$USER/me/g"
From me@alpha  Sun Jan 13 16:15:01 2019
Return-Path: <me@alpha>
X-Original-To: me
Delivered-To: me@alpha
Received: by alpha (Postfix, from userid 1000)
    id D805C2C0FBE; Sun, 13 Jan 2019 16:15:01 +0800 (CST)
From: root@alpha (Cron Daemon)
To: me@alpha
Subject: Cron <me@alpha> (cd ~/Documents/OrgMode; git add .; git commit -m "defensive save")
MIME-Version: 1.0

所有 cron 日志都存储在

me@alpha:~$ cat /var/mail/$USER | head -10 | sed "s/$USER/me/g"
From me@alpha  Wed Jan 16 11:25:01 2019
Return-Path: <me@alpha>
X-Original-To: me
Delivered-To: me@alpha
Received: by alpha (Postfix, from userid 1000)
    id D40C52C1345; Wed, 16 Jan 2019 11:25:01 +0800 (CST)
From: root@alpha (Cron Daemon)
To: me@alpha
Subject: Cron <me@alpha> (cd ~/Documents/OrgMode; git add .; git commit -m "defensive save")
MIME-Version: 1.0

mbox 是冗余

我怎样才能检查 mbox 来自哪里?

相关内容