I'm using linux:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
I noticed a few weeks ago that there is a file in my home directory: dead.letter
.
The file is updating at the first second of every minute with the same number of log line.
I have been searching for the process that cause this over a week for now and still can't find it.
I've tried https://www.baeldung.com/linux/find-process-file-is-busy +
auditctl
, killing and uninstalling docker, verifying multiple location where cron jobs may be. Disabling the cron process.
+ mail sendmail and mailx commands are not recognized.
I can't find the process that causes this.
Please help.
cron -l
show? cron will attempt to mail on behalf of the user if there is stdout or stderr. If you add> /dev/null 2> /dev/null
to a cronjob it will not have any output to attempt to mail.